@fluid-topics/ft-reader-navigation-button 1.1.11 → 1.1.13
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.
|
@@ -127,16 +127,16 @@
|
|
|
127
127
|
opacity: ${p.opacityContentOnSurfacePressed};
|
|
128
128
|
transform: translate(-50%, -50%) scale(1);
|
|
129
129
|
}
|
|
130
|
-
`,m=t=>"string"==typeof t?e.unsafeCSS(t):t;class x{static create(t,o,r,i){const n=t=>m(null!=t?t:i),a=e.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${m(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${m(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):m(null!=o?o:t.lastResortDefaultValue()),i=e.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=o,i.defaultCssValue=r,i.get=o=>e.css`var(${m(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const O={colorWhite:x.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:x.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:x.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:x.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:x.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:x.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:x.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:x.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:x.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:x.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:x.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:x.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:x.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:x.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:x.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:x.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:x.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:x.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:x.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:x.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:x.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:x.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:x.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:x.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:x.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:x.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:x.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:x.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:x.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:x.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:x.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:x.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:x.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:x.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:x.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:x.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:x.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:x.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:x.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:x.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:x.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:x.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:x.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:x.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:x.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:x.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:x.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:x.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:x.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:x.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:x.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:x.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:x.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:x.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:x.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:x.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:x.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:x.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:x.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:x.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:x.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:x.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:x.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:x.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:x.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:x.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:x.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:x.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:x.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:x.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:x.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:x.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:x.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:x.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:x.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:x.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:x.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:x.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:x.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:x.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:x.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:x.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:x.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:x.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:x.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:x.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:x.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:x.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:x.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:x.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:x.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:x.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:x.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:x.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:x.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:x.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:x.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:x.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:x.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:x.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:x.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:x.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:x.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:x.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:x.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:x.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:x.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:x.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:x.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:x.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:x.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:x.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:x.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:x.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:x.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:x.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:x.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:x.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:x.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:x.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:x.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:x.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:x.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:x.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:x.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:x.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:x.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:x.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:x.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:x.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:x.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:x.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:x.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:x.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:x.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:x.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:x.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:x.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:x.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:x.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:x.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:x.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:x.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:x.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:x.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:x.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:x.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:x.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:x.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:x.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:x.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:x.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:x.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:x.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:x.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:x.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:x.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:x.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:x.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:x.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:x.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:x.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:x.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:x.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:x.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:x.create("--ft-icon-size-6","","SIZE","48px"),opacity0:x.create("--ft-opacity-0","","NUMBER","0"),opacity8:x.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:x.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:x.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:x.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:x.create("--ft-opacity-80","","NUMBER","0.8")},v={display:{fontFamily:x.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:x.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:x.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:x.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:x.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:x.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:x.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:x.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:x.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:x.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:x.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:x.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:x.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:x.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:x.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:x.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:x.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:x.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:x.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:x.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:x.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:x.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:x.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:x.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:x.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:x.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:x.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:x.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:x.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},N={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",O.colorBrand0),backgroundErrorPrimary:x.extend("--ft-background-error-primary","Used as background of error components.",O.colorRed0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",O.colorRed10),backgroundInfoPrimary:x.extend("--ft-background-info-primary","Used as background of information components.",O.colorCyan200),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",O.colorCyan10),backgroundWarningPrimary:x.extend("--ft-background-warning-primary","Used as background of warning components.",O.colorOrange300),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",O.colorOrange10),backgroundSuccessPrimary:x.extend("--ft-background-success-primary","Used as background of success components.",O.colorGreen200),backgroundSuccessSubtle:x.extend("--ft-background-success-subtle","Used as background of subtle success components.",O.colorGreen10),backgroundGlobalSurface:x.extend("--ft-background-global-surface","Used as app background.",O.colorWhite),backgroundGlobalOnSurface:x.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",O.colorGray10),backgroundGlobalOnSurfaceDark:x.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",O.colorGray30),contentActionPrimary:x.extend("--ft-content-action-primary","Used on label of primary action on light surface.",O.colorBrand0),contentWarningPrimary:x.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",O.colorOrange300),contentWarningIconOnly:x.extend("--ft-content-warning-icon-only","Used on warning status icons alone",O.colorOrange0),contentErrorPrimary:x.extend("--ft-content-error-primary","Used on label of error messages on light surface.",O.colorRed0),contentErrorIconOnly:x.extend("--ft-content-error-icon-only","Used on error status icons alone",O.colorRed0),contentInfoPrimary:x.extend("--ft-content-info-primary","Used on label of information messages on light surface.",O.colorCyan200),contentInfoIconOnly:x.extend("--ft-content-info-icon-only","Used on info status icons alone",O.colorCyan0),contentSuccessIconOnly:x.extend("--ft-content-success-icon-only","Used on success status icons alone",O.colorGreen0),contentSuccessPrimary:x.extend("--ft-content-success-primary","Used on label of success messages on light surface.",O.colorGreen200),contentGlobalPrimary:x.extend("--ft-content-global-primary","Used for main content on the page.",O.colorGray500),contentGlobalSecondary:x.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",O.colorGray200),contentGlobalSubtle:x.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",O.colorGray0),contentGlobalOnColor:x.extend("--ft-content-global-on-color","Used for content on a dominant color.",O.colorWhite),borderActionPrimary:x.extend("--ft-border-action-primary","Used as border for primary action components.",O.colorBrand0),borderActionFocusRing:x.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",O.colorCyan0),borderWarningPrimary:x.extend("--ft-border-warning-primary","Used as border for warning components.",O.colorOrange30),borderSuccessPrimary:x.extend("--ft-border-success-primary","Used as border for success components.",O.colorGreen30),borderErrorPrimary:x.extend("--ft-border-error-primary","Used as border for error components.",O.colorRed30),borderInfoPrimary:x.extend("--ft-border-info-primary","Used as border for information components.",O.colorCyan30),borderGlobalSubtle:x.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",O.colorGray30),borderGlobalPrimary:x.extend("--ft-border-global-primary","Used as border for element like input.",O.colorGray50),borderInputPrimary:x.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",O.colorGray80)},S={largeHeight:x.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:x.extend("--ft-button-large-horizontal-padding","",O.spacing4),largeGap:x.extend("--ft-button-large-gap","",O.spacing2),largeBorderRadius:x.extend("--ft-button-large-border-radius","",O.borderRadiusS),largeIconSize:x.extend("--ft-button-large-icon-size","",O.iconSize3),largeBorderWidth:x.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:x.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:x.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:x.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:x.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:x.extend("--ft-button-small-horizontal-padding","",O.spacing3),smallGap:x.extend("--ft-button-small-gap","",O.spacing2),smallBorderRadius:x.extend("--ft-button-small-border-radius","",O.borderRadiusS),smallIconSize:x.extend("--ft-button-small-icon-size","",O.iconSize2),smallBorderWidth:x.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:x.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:x.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:x.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:x.extend("--ft-button-primary-background-color","",N.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",N.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",N.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",N.contentGlobalOnColor),primaryStateLayerOpacityHover:x.extend("--ft-button-primary-state-layer-opacity-hover","",O.opacity16),primaryStateLayerOpacityFocus:x.extend("--ft-button-primary-state-layer-opacity-focus","",O.opacity16),primaryStateLayerOpacityActive:x.extend("--ft-button-primary-state-layer-opacity-active","",O.opacity24),primaryComponentOpacityDisabled:x.extend("--ft-button-primary-component-opacity-disabled","",O.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",N.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",N.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",N.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",N.contentActionPrimary),tertiaryStateLayerOpacityHover:x.extend("--ft-button-tertiary-state-layer-opacity-hover","",O.opacity8),tertiaryStateLayerOpacityFocus:x.extend("--ft-button-tertiary-state-layer-opacity-focus","",O.opacity8),tertiaryStateLayerOpacityActive:x.extend("--ft-button-tertiary-state-layer-opacity-active","",O.opacity16),tertiaryComponentOpacityDisabled:x.extend("--ft-button-tertiary-component-opacity-disabled","",O.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",N.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",N.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",N.contentActionPrimary),secondaryStateLayerOpacityHover:x.extend("--ft-button-secondary-state-layer-opacity-hover","",O.opacity8),secondaryStateLayerOpacityFocus:x.extend("--ft-button-secondary-state-layer-opacity-focus","",O.opacity8),secondaryStateLayerOpacityActive:x.extend("--ft-button-secondary-state-layer-opacity-active","",O.opacity16),secondaryComponentOpacityDisabled:x.extend("--ft-button-secondary-component-opacity-disabled","",O.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",N.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",N.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",N.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",N.contentGlobalSecondary),neutralStateLayerOpacityHover:x.extend("--ft-button-neutral-state-layer-opacity-hover","",O.opacity8),neutralStateLayerOpacityFocus:x.extend("--ft-button-neutral-state-layer-opacity-focus","",O.opacity8),neutralStateLayerOpacityActive:x.extend("--ft-button-neutral-state-layer-opacity-active","",O.opacity16),neutralComponentOpacityDisabled:x.extend("--ft-button-neutral-component-opacity-disabled","",O.opacity40)};x.extend("--ft-tabs-top-left-border-radius","",O.borderRadiusS),x.extend("--ft-tabs-top-right-border-radius","",O.borderRadiusS),x.extend("--ft-tabs-label-horizontal-padding","",O.spacing4),x.extend("--ft-tabs-label-vertical-padding","",O.spacing3),x.extend("--ft-tabs-label-gap","",O.spacing1),x.extend("--ft-switch-group-horizontal-padding","",O.spacing1),x.extend("--ft-switch-group-vertical-padding","",O.spacing1),x.extend("--ft-switch-group-gap","",O.spacing1),x.extend("--ft-switch-group-background-color","",N.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",N.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",O.spacing2),x.extend("--ft-switch-label-vertical-padding","",O.spacing1),x.extend("--ft-switch-icon-horizontal-padding","",O.spacing1),x.extend("--ft-switch-icon-vertical-padding","",O.spacing1),x.create("--ft-switch-focus-outline-width","","SIZE","2px"),x.extend("--ft-switch-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",O.borderRadiusS),x.extend("--ft-switch-off-state-layer-opacity-hover","",O.opacity8),x.extend("--ft-switch-off-state-layer-opacity-focus","",O.opacity8),x.extend("--ft-switch-off-state-layer-opacity-active","",O.opacity16),x.extend("--ft-switch-off-component-opacity-disabled","",O.opacity40),x.extend("--ft-switch-off-color","",N.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-chart-1-light","for area color charts",O.colorBrand40),x.extend("--ft-chart-1-base","for line charts",O.colorBrand0),x.extend("--ft-chart-2-light","for area color charts",O.colorYellow60),x.extend("--ft-chart-2-base","for line charts",O.colorYellow100),x.extend("--ft-chart-3-light","",O.colorUltramarine40),x.extend("--ft-chart-3-base","",O.colorUltramarine70),x.extend("--ft-chart-4-light","",O.colorCyan50),x.extend("--ft-chart-4-base","",O.colorCyan100),x.extend("--ft-chart-5-light","",O.colorRed40),x.extend("--ft-chart-5-base","",O.colorRed60),x.extend("--ft-chart-6-light","",O.colorGreen40),x.extend("--ft-chart-6-base","",O.colorGreen70),x.extend("--ft-chart-7-light","",O.colorOrange70),x.extend("--ft-chart-7-base","",O.colorOrange100),x.extend("--ft-chart-8-light","",O.colorAvocado70),x.extend("--ft-chart-8-base","",O.colorAvocado200),x.extend("--ft-chart-9-light","",O.colorBrown50),x.extend("--ft-chart-9-base","",O.colorBrown200),x.extend("--ft-chart-10-light","",O.colorGray50),x.extend("--ft-chart-10-base","",O.colorGray80),x.extend("--ft-chart-monochrome-10","",O.colorBrand10),x.extend("--ft-chart-monochrome-20","",O.colorBrand20),x.extend("--ft-chart-monochrome-30","",O.colorBrand40),x.extend("--ft-chart-monochrome-40","",O.colorBrand60),x.extend("--ft-chart-monochrome-50","",O.colorBrand0),x.extend("--ft-chart-monochrome-60","",O.colorBrand200),x.extend("--ft-chip-large-horizontal-padding","",O.spacing4),x.extend("--ft-chip-large-vertical-padding","",O.spacing2),x.extend("--ft-chip-large-gap","",O.spacing1),x.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-large-border-radius","",O.borderRadiusPill),x.create("--ft-chip-large-border-width","","SIZE","1px"),x.extend("--ft-chip-large-icon-size","",O.iconSize3),x.extend("--ft-chip-medium-horizontal-padding","",O.spacing3),x.extend("--ft-chip-medium-vertical-padding","",O.spacing1),x.extend("--ft-chip-medium-gap","",O.spacing1),x.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-medium-border-radius","",O.borderRadiusPill),x.create("--ft-chip-medium-border-width","","SIZE","1px"),x.extend("--ft-chip-medium-icon-size","",O.iconSize2),x.extend("--ft-chip-small-horizontal-padding","",O.spacing2),x.extend("--ft-chip-small-vertical-padding","",O.spacing05),x.extend("--ft-chip-small-gap","",O.spacing1),x.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-small-border-radius","",O.borderRadiusPill),x.create("--ft-chip-small-border-width","","SIZE","1px"),x.extend("--ft-chip-small-icon-size","",O.iconSize1),x.extend("--ft-chip-neutral-background-color","",N.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",N.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",N.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",N.contentInfoPrimary),x.extend("--ft-chip-info-border-color","",N.borderInfoPrimary),x.extend("--ft-chip-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",N.contentSuccessPrimary),x.extend("--ft-chip-success-border-color","",N.borderSuccessPrimary),x.extend("--ft-chip-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",N.contentWarningPrimary),x.extend("--ft-chip-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-chip-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",N.contentErrorPrimary),x.extend("--ft-chip-error-border-color","",N.borderErrorPrimary),x.create("--ft-notice-border-width","","SIZE","1px"),x.extend("--ft-notice-horizontal-padding","",O.spacing2),x.extend("--ft-notice-vertical-padding","",O.spacing1),x.extend("--ft-notice-border-radius","",O.borderRadiusS),x.extend("--ft-notice-gap","",O.spacing2),x.extend("--ft-notice-icon-size","",O.iconSize3),x.extend("--ft-notice-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",N.borderInfoPrimary),x.extend("--ft-notice-info-color","",N.contentInfoPrimary),x.extend("--ft-notice-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-notice-warning-color","",N.contentWarningPrimary),x.extend("--ft-checkbox-label-color","",N.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-color","",N.contentGlobalOnColor),x.extend("--ft-checkbox-checked-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-active","",O.opacity24),x.extend("--ft-checkbox-checked-component-opacity-disabled","",O.opacity40),x.extend("--ft-checkbox-unchecked-border-color","",O.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-color","",O.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",O.opacity24),x.extend("--ft-checkbox-unchecked-component-opacity-disabled","",O.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",O.spacing3),x.extend("--ft-toggle-off-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-active","",O.opacity24),x.extend("--ft-toggle-off-component-opacity-disabled","",O.opacity40),x.extend("--ft-toggle-off-background-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-on-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-active","",O.opacity24),x.extend("--ft-toggle-on-component-opacity-disabled","",O.opacity40),x.extend("--ft-toggle-on-background-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-toggle-label-color","",N.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-toggle-gap","",O.spacing3),x.extend("--ft-radio-label-color","",N.contentGlobalPrimary),x.extend("--ft-radio-selected-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-active","",O.opacity24),x.extend("--ft-radio-selected-component-opacity-disabled","",O.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",O.colorGray80),x.extend("--ft-radio-unselected-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-active","",O.opacity24),x.extend("--ft-radio-unselected-component-opacity-disabled","",O.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",O.spacing3),x.extend("--ft-notification-icon-size","",O.iconSize4),x.extend("--ft-notification-horizontal-padding","",O.spacing4),x.extend("--ft-notification-vertical-padding","",O.spacing4),x.extend("--ft-notification-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",N.contentInfoPrimary),x.extend("--ft-notification-info-border-color","",N.borderInfoPrimary),x.extend("--ft-notification-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",N.contentSuccessPrimary),x.extend("--ft-notification-success-border-color","",N.borderSuccessPrimary),x.extend("--ft-notification-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",N.contentWarningPrimary),x.extend("--ft-notification-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-notification-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",N.contentErrorPrimary),x.extend("--ft-notification-error-border-color","",N.borderErrorPrimary),x.extend("--ft-notification-border-radius","",O.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-gap-leading","",O.spacing2),x.extend("--ft-notification-gap-trailing","",O.spacing8);const C=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),w=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:w,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},I=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",C),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),W=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),E=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",C),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),F=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",w),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",w),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),X=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",w),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),et=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",w),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),ct=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",w),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),yt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",w),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),Ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",w),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),It={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",w),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Rt=e.css`
|
|
130
|
+
`,m=t=>"string"==typeof t?e.unsafeCSS(t):t;class x{static create(t,o,r,i){const n=t=>m(null!=t?t:i),a=e.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${m(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${m(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):m(null!=o?o:t.lastResortDefaultValue()),i=e.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=o,i.defaultCssValue=r,i.get=o=>e.css`var(${m(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const O={colorWhite:x.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:x.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:x.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:x.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:x.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:x.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:x.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:x.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:x.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:x.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:x.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:x.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:x.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:x.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:x.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:x.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:x.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:x.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:x.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:x.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:x.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:x.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:x.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:x.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:x.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:x.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:x.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:x.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:x.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:x.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:x.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:x.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:x.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:x.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:x.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:x.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:x.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:x.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:x.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:x.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:x.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:x.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:x.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:x.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:x.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:x.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:x.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:x.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:x.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:x.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:x.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:x.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:x.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:x.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:x.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:x.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:x.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:x.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:x.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:x.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:x.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:x.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:x.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:x.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:x.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:x.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:x.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:x.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:x.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:x.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:x.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:x.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:x.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:x.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:x.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:x.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:x.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:x.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:x.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:x.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:x.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:x.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:x.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:x.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:x.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:x.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:x.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:x.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:x.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:x.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:x.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:x.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:x.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:x.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:x.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:x.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:x.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:x.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:x.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:x.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:x.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:x.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:x.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:x.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:x.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:x.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:x.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:x.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:x.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:x.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:x.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:x.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:x.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:x.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:x.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:x.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:x.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:x.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:x.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:x.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:x.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:x.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:x.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:x.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:x.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:x.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:x.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:x.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:x.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:x.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:x.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:x.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:x.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:x.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:x.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:x.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:x.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:x.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:x.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:x.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:x.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:x.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:x.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:x.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:x.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:x.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:x.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:x.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:x.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:x.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:x.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:x.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:x.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:x.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:x.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:x.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:x.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:x.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:x.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:x.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:x.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:x.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:x.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:x.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:x.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:x.create("--ft-icon-size-6","","SIZE","48px"),opacity0:x.create("--ft-opacity-0","","NUMBER","0"),opacity8:x.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:x.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:x.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:x.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:x.create("--ft-opacity-80","","NUMBER","0.8")},v={display:{fontFamily:x.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:x.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:x.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:x.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:x.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:x.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:x.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:x.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:x.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:x.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:x.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:x.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:x.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:x.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:x.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:x.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:x.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:x.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:x.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:x.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:x.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:x.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:x.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:x.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:x.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:x.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:x.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:x.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:x.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:x.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:x.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:x.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:x.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:x.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:x.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:x.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:x.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},N={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",O.colorBrand0),backgroundErrorPrimary:x.extend("--ft-background-error-primary","Used as background of error components.",O.colorRed0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",O.colorRed10),backgroundInfoPrimary:x.extend("--ft-background-info-primary","Used as background of information components.",O.colorCyan200),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",O.colorCyan10),backgroundWarningPrimary:x.extend("--ft-background-warning-primary","Used as background of warning components.",O.colorOrange300),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",O.colorOrange10),backgroundSuccessPrimary:x.extend("--ft-background-success-primary","Used as background of success components.",O.colorGreen200),backgroundSuccessSubtle:x.extend("--ft-background-success-subtle","Used as background of subtle success components.",O.colorGreen10),backgroundGlobalSurface:x.extend("--ft-background-global-surface","Used as app background.",O.colorWhite),backgroundGlobalOnSurface:x.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",O.colorGray10),backgroundGlobalOnSurfaceDark:x.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",O.colorGray30),contentActionPrimary:x.extend("--ft-content-action-primary","Used on label of primary action on light surface.",O.colorBrand0),contentWarningPrimary:x.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",O.colorOrange300),contentWarningIconOnly:x.extend("--ft-content-warning-icon-only","Used on warning status icons alone",O.colorOrange0),contentErrorPrimary:x.extend("--ft-content-error-primary","Used on label of error messages on light surface.",O.colorRed0),contentErrorIconOnly:x.extend("--ft-content-error-icon-only","Used on error status icons alone",O.colorRed0),contentInfoPrimary:x.extend("--ft-content-info-primary","Used on label of information messages on light surface.",O.colorCyan200),contentInfoIconOnly:x.extend("--ft-content-info-icon-only","Used on info status icons alone",O.colorCyan0),contentSuccessIconOnly:x.extend("--ft-content-success-icon-only","Used on success status icons alone",O.colorGreen0),contentSuccessPrimary:x.extend("--ft-content-success-primary","Used on label of success messages on light surface.",O.colorGreen200),contentGlobalPrimary:x.extend("--ft-content-global-primary","Used for main content on the page.",O.colorGray500),contentGlobalSecondary:x.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",O.colorGray200),contentGlobalSubtle:x.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",O.colorGray0),contentGlobalOnColor:x.extend("--ft-content-global-on-color","Used for content on a dominant color.",O.colorWhite),borderActionPrimary:x.extend("--ft-border-action-primary","Used as border for primary action components.",O.colorBrand0),borderActionFocusRing:x.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",O.colorCyan0),borderWarningPrimary:x.extend("--ft-border-warning-primary","Used as border for warning components.",O.colorOrange30),borderSuccessPrimary:x.extend("--ft-border-success-primary","Used as border for success components.",O.colorGreen30),borderErrorPrimary:x.extend("--ft-border-error-primary","Used as border for error components.",O.colorRed30),borderInfoPrimary:x.extend("--ft-border-info-primary","Used as border for information components.",O.colorCyan30),borderGlobalSubtle:x.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",O.colorGray30),borderGlobalPrimary:x.extend("--ft-border-global-primary","Used as border for element like input.",O.colorGray50),borderInputPrimary:x.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",O.colorGray80)},S={largeHeight:x.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:x.extend("--ft-button-large-horizontal-padding","",O.spacing4),largeGap:x.extend("--ft-button-large-gap","",O.spacing2),largeBorderRadius:x.extend("--ft-button-large-border-radius","",O.borderRadiusS),largeIconSize:x.extend("--ft-button-large-icon-size","",O.iconSize3),largeBorderWidth:x.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:x.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:x.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:x.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:x.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:x.extend("--ft-button-small-horizontal-padding","",O.spacing3),smallGap:x.extend("--ft-button-small-gap","",O.spacing2),smallBorderRadius:x.extend("--ft-button-small-border-radius","",O.borderRadiusS),smallIconSize:x.extend("--ft-button-small-icon-size","",O.iconSize2),smallBorderWidth:x.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:x.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:x.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:x.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:x.extend("--ft-button-primary-background-color","",N.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",N.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",N.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",N.contentGlobalOnColor),primaryStateLayerOpacityHover:x.extend("--ft-button-primary-state-layer-opacity-hover","",O.opacity16),primaryStateLayerOpacityFocus:x.extend("--ft-button-primary-state-layer-opacity-focus","",O.opacity16),primaryStateLayerOpacityActive:x.extend("--ft-button-primary-state-layer-opacity-active","",O.opacity24),primaryComponentOpacityDisabled:x.extend("--ft-button-primary-component-opacity-disabled","",O.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",N.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",N.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",N.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",N.contentActionPrimary),tertiaryStateLayerOpacityHover:x.extend("--ft-button-tertiary-state-layer-opacity-hover","",O.opacity8),tertiaryStateLayerOpacityFocus:x.extend("--ft-button-tertiary-state-layer-opacity-focus","",O.opacity8),tertiaryStateLayerOpacityActive:x.extend("--ft-button-tertiary-state-layer-opacity-active","",O.opacity16),tertiaryComponentOpacityDisabled:x.extend("--ft-button-tertiary-component-opacity-disabled","",O.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",N.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",N.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",N.contentActionPrimary),secondaryStateLayerOpacityHover:x.extend("--ft-button-secondary-state-layer-opacity-hover","",O.opacity8),secondaryStateLayerOpacityFocus:x.extend("--ft-button-secondary-state-layer-opacity-focus","",O.opacity8),secondaryStateLayerOpacityActive:x.extend("--ft-button-secondary-state-layer-opacity-active","",O.opacity16),secondaryComponentOpacityDisabled:x.extend("--ft-button-secondary-component-opacity-disabled","",O.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",N.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",N.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",N.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",N.contentGlobalSecondary),neutralStateLayerOpacityHover:x.extend("--ft-button-neutral-state-layer-opacity-hover","",O.opacity8),neutralStateLayerOpacityFocus:x.extend("--ft-button-neutral-state-layer-opacity-focus","",O.opacity8),neutralStateLayerOpacityActive:x.extend("--ft-button-neutral-state-layer-opacity-active","",O.opacity16),neutralComponentOpacityDisabled:x.extend("--ft-button-neutral-component-opacity-disabled","",O.opacity40)};x.extend("--ft-tabs-top-left-border-radius","",O.borderRadiusS),x.extend("--ft-tabs-top-right-border-radius","",O.borderRadiusS),x.extend("--ft-tabs-label-horizontal-padding","",O.spacing4),x.extend("--ft-tabs-label-vertical-padding","",O.spacing3),x.extend("--ft-tabs-label-gap","",O.spacing1),x.extend("--ft-switch-group-horizontal-padding","",O.spacing1),x.extend("--ft-switch-group-vertical-padding","",O.spacing1),x.extend("--ft-switch-group-gap","",O.spacing1),x.extend("--ft-switch-group-background-color","",N.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",N.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",O.spacing2),x.extend("--ft-switch-label-vertical-padding","",O.spacing1),x.extend("--ft-switch-icon-horizontal-padding","",O.spacing1),x.extend("--ft-switch-icon-vertical-padding","",O.spacing1),x.create("--ft-switch-focus-outline-width","","SIZE","2px"),x.extend("--ft-switch-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",O.borderRadiusS),x.extend("--ft-switch-off-state-layer-opacity-hover","",O.opacity8),x.extend("--ft-switch-off-state-layer-opacity-focus","",O.opacity8),x.extend("--ft-switch-off-state-layer-opacity-active","",O.opacity16),x.extend("--ft-switch-off-component-opacity-disabled","",O.opacity40),x.extend("--ft-switch-off-color","",N.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-chart-1-light","for area color charts",O.colorBrand40),x.extend("--ft-chart-1-base","for line charts",O.colorBrand0),x.extend("--ft-chart-2-light","for area color charts",O.colorYellow60),x.extend("--ft-chart-2-base","for line charts",O.colorYellow100),x.extend("--ft-chart-3-light","",O.colorUltramarine40),x.extend("--ft-chart-3-base","",O.colorUltramarine70),x.extend("--ft-chart-4-light","",O.colorCyan50),x.extend("--ft-chart-4-base","",O.colorCyan100),x.extend("--ft-chart-5-light","",O.colorRed40),x.extend("--ft-chart-5-base","",O.colorRed60),x.extend("--ft-chart-6-light","",O.colorGreen40),x.extend("--ft-chart-6-base","",O.colorGreen70),x.extend("--ft-chart-7-light","",O.colorOrange70),x.extend("--ft-chart-7-base","",O.colorOrange100),x.extend("--ft-chart-8-light","",O.colorAvocado70),x.extend("--ft-chart-8-base","",O.colorAvocado200),x.extend("--ft-chart-9-light","",O.colorBrown50),x.extend("--ft-chart-9-base","",O.colorBrown200),x.extend("--ft-chart-10-light","",O.colorGray50),x.extend("--ft-chart-10-base","",O.colorGray80),x.extend("--ft-chart-monochrome-10","",O.colorBrand10),x.extend("--ft-chart-monochrome-20","",O.colorBrand20),x.extend("--ft-chart-monochrome-30","",O.colorBrand40),x.extend("--ft-chart-monochrome-40","",O.colorBrand60),x.extend("--ft-chart-monochrome-50","",O.colorBrand0),x.extend("--ft-chart-monochrome-60","",O.colorBrand200),x.extend("--ft-chip-large-horizontal-padding","",O.spacing4),x.extend("--ft-chip-large-vertical-padding","",O.spacing2),x.extend("--ft-chip-large-gap","",O.spacing1),x.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-large-border-radius","",O.borderRadiusPill),x.create("--ft-chip-large-border-width","","SIZE","1px"),x.extend("--ft-chip-large-icon-size","",O.iconSize3),x.extend("--ft-chip-medium-horizontal-padding","",O.spacing3),x.extend("--ft-chip-medium-vertical-padding","",O.spacing1),x.extend("--ft-chip-medium-gap","",O.spacing1),x.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-medium-border-radius","",O.borderRadiusPill),x.create("--ft-chip-medium-border-width","","SIZE","1px"),x.extend("--ft-chip-medium-icon-size","",O.iconSize2),x.extend("--ft-chip-small-horizontal-padding","",O.spacing2),x.extend("--ft-chip-small-vertical-padding","",O.spacing05),x.extend("--ft-chip-small-gap","",O.spacing1),x.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),x.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),x.extend("--ft-chip-small-border-radius","",O.borderRadiusPill),x.create("--ft-chip-small-border-width","","SIZE","1px"),x.extend("--ft-chip-small-icon-size","",O.iconSize1),x.extend("--ft-chip-neutral-background-color","",N.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",N.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",N.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",N.contentInfoPrimary),x.extend("--ft-chip-info-border-color","",N.borderInfoPrimary),x.extend("--ft-chip-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",N.contentSuccessPrimary),x.extend("--ft-chip-success-border-color","",N.borderSuccessPrimary),x.extend("--ft-chip-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",N.contentWarningPrimary),x.extend("--ft-chip-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-chip-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",N.contentErrorPrimary),x.extend("--ft-chip-error-border-color","",N.borderErrorPrimary),x.create("--ft-notice-border-width","","SIZE","1px"),x.extend("--ft-notice-horizontal-padding","",O.spacing2),x.extend("--ft-notice-vertical-padding","",O.spacing1),x.extend("--ft-notice-border-radius","",O.borderRadiusS),x.extend("--ft-notice-gap","",O.spacing2),x.extend("--ft-notice-icon-size","",O.iconSize3),x.extend("--ft-notice-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",N.borderInfoPrimary),x.extend("--ft-notice-info-color","",N.contentInfoPrimary),x.extend("--ft-notice-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-notice-warning-color","",N.contentWarningPrimary),x.extend("--ft-checkbox-label-color","",N.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-color","",N.contentGlobalOnColor),x.extend("--ft-checkbox-checked-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-active","",O.opacity24),x.extend("--ft-checkbox-checked-component-opacity-disabled","",O.opacity40),x.extend("--ft-checkbox-unchecked-border-color","",O.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-color","",O.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",O.opacity24),x.extend("--ft-checkbox-unchecked-component-opacity-disabled","",O.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",O.spacing3),x.extend("--ft-toggle-off-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-active","",O.opacity24),x.extend("--ft-toggle-off-component-opacity-disabled","",O.opacity40),x.extend("--ft-toggle-off-background-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-on-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-active","",O.opacity24),x.extend("--ft-toggle-on-component-opacity-disabled","",O.opacity40),x.extend("--ft-toggle-on-background-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-toggle-label-color","",N.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-toggle-gap","",O.spacing3),x.extend("--ft-radio-label-color","",N.contentGlobalPrimary),x.extend("--ft-radio-selected-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-active","",O.opacity24),x.extend("--ft-radio-selected-component-opacity-disabled","",O.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",O.colorGray80),x.extend("--ft-radio-unselected-state-layer-opacity-hover","",O.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-focus","",O.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-active","",O.opacity24),x.extend("--ft-radio-unselected-component-opacity-disabled","",O.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",O.spacing3),x.extend("--ft-notification-icon-size","",O.iconSize4),x.extend("--ft-notification-horizontal-padding","",O.spacing4),x.extend("--ft-notification-vertical-padding","",O.spacing4),x.extend("--ft-notification-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",N.contentInfoPrimary),x.extend("--ft-notification-info-border-color","",N.borderInfoPrimary),x.extend("--ft-notification-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",N.contentSuccessPrimary),x.extend("--ft-notification-success-border-color","",N.borderSuccessPrimary),x.extend("--ft-notification-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",N.contentWarningPrimary),x.extend("--ft-notification-warning-border-color","",N.borderWarningPrimary),x.extend("--ft-notification-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",N.contentErrorPrimary),x.extend("--ft-notification-error-border-color","",N.borderErrorPrimary),x.extend("--ft-notification-border-radius","",O.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-gap-leading","",O.spacing2),x.extend("--ft-notification-gap-trailing","",O.spacing8);const C=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),w=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:w,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},I=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",C),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),k=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),U=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),W=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),E=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",C),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),F=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",w),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",w),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),X=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",w),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),et=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",w),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),ct=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",w),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),yt=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",w),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),Ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",w),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),It={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",w),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Rt=e.css`
|
|
131
131
|
.ft-typography--title {
|
|
132
132
|
font-family: ${I};
|
|
133
133
|
font-size: ${R};
|
|
134
|
-
font-weight: ${
|
|
135
|
-
letter-spacing: ${
|
|
134
|
+
font-weight: ${k};
|
|
135
|
+
letter-spacing: ${U};
|
|
136
136
|
line-height: ${W};
|
|
137
137
|
text-transform: ${E};
|
|
138
138
|
}
|
|
139
|
-
`,
|
|
139
|
+
`,kt=e.css`
|
|
140
140
|
.ft-typography--title-dense {
|
|
141
141
|
font-family: ${L};
|
|
142
142
|
font-size: ${K};
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
line-height: ${F};
|
|
146
146
|
text-transform: ${B};
|
|
147
147
|
}
|
|
148
|
-
`,
|
|
148
|
+
`,Ut=e.css`
|
|
149
149
|
.ft-typography--subtitle1 {
|
|
150
150
|
font-family: ${D};
|
|
151
151
|
font-size: ${A};
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
* Copyright 2017 Google LLC
|
|
503
503
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
504
504
|
*/
|
|
505
|
-
const oo=globalThis,eo=oo.trustedTypes,ro=eo?eo.createPolicy("lit-html",{createHTML:t=>t}):void 0,io="$lit$",no=`lit$${(Math.random()+"").slice(9)}$`,ao="?"+no,lo=`<${ao}>`,co=document,so=()=>co.createComment(""),po=t=>null===t||"object"!=typeof t&&"function"!=typeof t,fo=Array.isArray,ho="[ \t\n\f\r]",yo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,go=/-->/g,uo=/>/g,bo=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),mo=/'/g,xo=/"/g,Oo=/^(?:script|style|textarea|title)$/i,vo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),No=Symbol.for("lit-noChange"),So=Symbol.for("lit-nothing"),Co=new WeakMap,wo=co.createTreeWalker(co,129);function $o(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ro?ro.createHTML(o):o}const Io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=yo;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===yo?"!--"===c[1]?a=go:void 0!==c[1]?a=uo:void 0!==c[2]?(Oo.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=bo):void 0!==c[3]&&(a=bo):a===bo?">"===c[0]?(a=i??yo,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?bo:'"'===c[3]?xo:mo):a===xo||a===mo?a=bo:a===go||a===uo?a=yo:(a=bo,i=void 0);const f=a===bo&&t[o+1].startsWith("/>")?" ":"";n+=a===yo?e+lo:s>=0?(r.push(l),e.slice(0,s)+io+e.slice(s)+no+f):e+no+(-2===s?o:f)}return[$o(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Ro{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=Io(t,o);if(this.el=Ro.createElement(c,e),wo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(io)){const o=s[n++],e=r.getAttribute(t).split(no),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Lo:"?"===a[1]?Ko:"@"===a[1]?Zo:Eo}),r.removeAttribute(t)}else t.startsWith(no)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Oo.test(r.tagName)){const t=r.textContent.split(no),o=t.length-1;if(o>0){r.textContent=eo?eo.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],so()),wo.nextNode(),l.push({type:2,index:++i});r.append(t[o],so())}}}else if(8===r.nodeType)if(r.data===ao)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(no,t+1));)l.push({type:7,index:i}),t+=no.length-1}i++}}static createElement(t,o){const e=co.createElement("template");return e.innerHTML=t,e}}function
|
|
505
|
+
const oo=globalThis,eo=oo.trustedTypes,ro=eo?eo.createPolicy("lit-html",{createHTML:t=>t}):void 0,io="$lit$",no=`lit$${(Math.random()+"").slice(9)}$`,ao="?"+no,lo=`<${ao}>`,co=document,so=()=>co.createComment(""),po=t=>null===t||"object"!=typeof t&&"function"!=typeof t,fo=Array.isArray,ho="[ \t\n\f\r]",yo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,go=/-->/g,uo=/>/g,bo=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),mo=/'/g,xo=/"/g,Oo=/^(?:script|style|textarea|title)$/i,vo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),No=Symbol.for("lit-noChange"),So=Symbol.for("lit-nothing"),Co=new WeakMap,wo=co.createTreeWalker(co,129);function $o(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ro?ro.createHTML(o):o}const Io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=yo;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===yo?"!--"===c[1]?a=go:void 0!==c[1]?a=uo:void 0!==c[2]?(Oo.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=bo):void 0!==c[3]&&(a=bo):a===bo?">"===c[0]?(a=i??yo,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?bo:'"'===c[3]?xo:mo):a===xo||a===mo?a=bo:a===go||a===uo?a=yo:(a=bo,i=void 0);const f=a===bo&&t[o+1].startsWith("/>")?" ":"";n+=a===yo?e+lo:s>=0?(r.push(l),e.slice(0,s)+io+e.slice(s)+no+f):e+no+(-2===s?o:f)}return[$o(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Ro{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=Io(t,o);if(this.el=Ro.createElement(c,e),wo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(io)){const o=s[n++],e=r.getAttribute(t).split(no),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Lo:"?"===a[1]?Ko:"@"===a[1]?Zo:Eo}),r.removeAttribute(t)}else t.startsWith(no)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Oo.test(r.tagName)){const t=r.textContent.split(no),o=t.length-1;if(o>0){r.textContent=eo?eo.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],so()),wo.nextNode(),l.push({type:2,index:++i});r.append(t[o],so())}}}else if(8===r.nodeType)if(r.data===ao)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(no,t+1));)l.push({type:7,index:i}),t+=no.length-1}i++}}static createElement(t,o){const e=co.createElement("template");return e.innerHTML=t,e}}function ko(t,o,e=t,r){if(o===No)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=po(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ko(t,i._$AS(t,o.values),i,r)),o}class Uo{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??co).importNode(o,!0);wo.currentNode=r;let i=wo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Wo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new zo(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=wo.nextNode(),n++)}return wo.currentNode=co,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Wo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=So,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ko(this,t,o),po(t)?t===So||null==t||""===t?(this._$AH!==So&&this._$AR(),this._$AH=So):t!==this._$AH&&t!==No&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>fo(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==So&&po(this._$AH)?this._$AA.nextSibling.data=t:this.$(co.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Ro.createElement($o(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Uo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Co.get(t.strings);return void 0===o&&Co.set(t.strings,o=new Ro(t)),o}T(t){fo(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new Wo(this.k(so()),this.k(so()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Eo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=So,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=So}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ko(this,t,o,0),n=!po(t)||t!==this._$AH&&t!==No,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ko(this,r[e+a],o,a),l===No&&(l=this._$AH[a]),n||=!po(l)||l!==this._$AH[a],l===So?t=So:t!==So&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===So?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lo extends Eo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===So?void 0:t}}class Ko extends Eo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==So)}}class Zo extends Eo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ko(this,t,o,0)??So)===No)return;const e=this._$AH,r=t===So&&e!==So||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==So&&(e===So||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class zo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ko(this,t)}}const Fo=oo.litHtmlPolyfillSupport;Fo?.(Ro,Wo),(oo.litHtmlVersions??=[]).push("3.1.0");
|
|
506
506
|
/**
|
|
507
507
|
* @license
|
|
508
508
|
* Copyright 2020 Google LLC
|
|
@@ -515,7 +515,7 @@ const Bo=Symbol.for(""),Do=t=>{if(t?.r===Bo)return t?._$litStatic$},Ao=t=>({_$li
|
|
|
515
515
|
</${Ao(this.element)}>
|
|
516
516
|
`:Go`
|
|
517
517
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
518
|
-
`}}jo.styles=[Rt,Ut,
|
|
518
|
+
`}}jo.styles=[Rt,kt,Ut,Wt,Et,Lt,Kt,Zt,zt,Ft,Bt,...Dt],To([r.property()],jo.prototype,"element",void 0),To([r.property()],jo.prototype,"variant",void 0),o.customElement("ft-typography")(jo);const Mo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),_o=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Vo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Xo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),qo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Jo=e.css`
|
|
519
519
|
.ft-tooltip--container {
|
|
520
520
|
display: block;
|
|
521
521
|
}
|
|
@@ -544,7 +544,7 @@ const Bo=Symbol.for(""),Do=t=>{if(t?.r===Bo)return t?._$litStatic$},Ao=t=>({_$li
|
|
|
544
544
|
position: relative;
|
|
545
545
|
word-break: break-word;
|
|
546
546
|
}
|
|
547
|
-
`,Qo=["start","end"],te=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Qo[0],o+"-"+Qo[1])),[]),oe=Math.min,ee=Math.max,re=Math.round,ie=t=>({x:t,y:t}),ne={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function le(t,o,e){return ee(t,oe(o,e))}function ce(t,o){return"function"==typeof t?t(o):t}function se(t){return t.split("-")[0]}function pe(t){return t.split("-")[1]}function fe(t){return"x"===t?"y":"x"}function de(t){return"y"===t?"height":"width"}function he(t){return["top","bottom"].includes(se(t))?"y":"x"}function ye(t){return fe(he(t))}function ge(t){return t.replace(/left|right|bottom|top/g,(t=>ne[t]))}function ue(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function be(t,o,e){let{reference:r,floating:i}=t;const n=he(o),a=ye(o),l=de(a),c=se(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(pe(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function me(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ce(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=ue(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=ue(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function xe(t,o,e){return(t?[...e.filter((o=>pe(o)===t)),...e.filter((o=>pe(o)!==t))]:e.filter((t=>se(t)===t))).filter((e=>!t||(pe(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ae[t]))}(e)!==e)))}const Oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=te,autoAlignment:h=!0,...y}=ce(t,o),g=void 0!==f||d===te?xe(f||null,h,d):d,u=await me(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=pe(t),i=ye(t),n=de(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ge(a)),[a,ge(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[se(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=pe(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,pe(t[0])?2:3).every((t=>t<=0)))),w=(null==(i=C[0])?void 0:i[0])||S[0][0];return w!==l?{data:{index:b+1,overflows:v},reset:{placement:w}}:{}}}};function ve(t){return Ce(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Se(t){var o;return null==(o=(Ce(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ce(t){return t instanceof Node||t instanceof Ne(t).Node}function we(t){return t instanceof Element||t instanceof Ne(t).Element}function $e(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function Ie(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot)}function Re(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Ue(t){return["table","td","th"].includes(ve(t))}function ke(t){const o=We(),e=Le(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function We(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ee(t){return["html","body","#document"].includes(ve(t))}function Le(t){return Ne(t).getComputedStyle(t)}function Ke(t){return we(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ze(t){if("html"===ve(t))return t;const o=t.assignedSlot||t.parentNode||Ie(t)&&t.host||Se(t);return Ie(o)?o.host:o}function ze(t){const o=Ze(t);return Ee(o)?t.ownerDocument?t.ownerDocument.body:t.body:$e(o)&&Re(o)?o:ze(o)}function Fe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ze(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Ne(i);return n?o.concat(a,a.visualViewport||[],Re(i)?i:[],a.frameElement&&e?Fe(a.frameElement):[]):o.concat(i,Fe(i,[],e))}function Be(t){const o=Le(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=$e(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=re(e)!==n||re(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function De(t){return we(t)?t:t.contextElement}function Ae(t){const o=De(t);if(!$e(o))return ie(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Be(o);let a=(n?re(e.width):e.width)/r,l=(n?re(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const He=ie(0);function Ge(t){const o=Ne(t);return We()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:He}function Pe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=De(t);let a=ie(1);o&&(r?we(r)&&(a=Ae(r)):a=Ae(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ne(t))&&o}(n,e,r)?Ge(n):ie(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Ne(n),o=r&&we(r)?Ne(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ae(e),o=e.getBoundingClientRect(),r=Le(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=Ne(e).frameElement}}return ue({width:p,height:f,x:c,y:s})}function Te(t){return Pe(Se(t)).left+Ke(t).scrollLeft}function je(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ne(t),r=Se(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=We();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Se(t),e=Ke(t),r=t.ownerDocument.body,i=ee(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=ee(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Le(r).direction&&(a+=ee(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Se(t));else if(we(o))r=function(t,o){const e=Pe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=$e(t)?Ae(t):ie(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Ge(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ue(r)}function Me(t,o){const e=Ze(t);return!(e===o||!we(e)||Ee(e))&&("fixed"===Le(e).position||Me(e,o))}function _e(t,o,e){const r=$e(o),i=Se(o),n="fixed"===e,a=Pe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=ie(0);if(r||!r&&!n)if(("body"!==ve(o)||Re(i))&&(l=Ke(o)),r){const t=Pe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ye(t,o){return $e(t)&&"fixed"!==Le(t).position?o?o(t):t.offsetParent:null}function Ve(t,o){const e=Ne(t);if(!$e(t))return e;let r=Ye(t,o);for(;r&&Ue(r)&&"static"===Le(r).position;)r=Ye(r,o);return r&&("html"===ve(r)||"body"===ve(r)&&"static"===Le(r).position&&!ke(r))?e:r||function(t){let o=Ze(t);for(;$e(o)&&!Ee(o);){if(ke(o))return o;o=Ze(o)}return null}(t)||e}const Xe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=$e(e),n=Se(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ie(1);const c=ie(0);if((i||!i&&"fixed"!==r)&&(("body"!==ve(e)||Re(n))&&(a=Ke(e)),$e(e))){const t=Pe(e);l=Ae(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Se,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Fe(t,[],!1).filter((t=>we(t)&&"body"!==ve(t))),i=null;const n="fixed"===Le(t).position;let a=n?Ze(t):t;for(;we(a)&&!Ee(a);){const o=Le(a),e=ke(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Re(a)&&!e&&Me(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ze(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=je(o,e,i);return t.top=ee(r.top,t.top),t.right=oe(r.right,t.right),t.bottom=oe(r.bottom,t.bottom),t.left=ee(r.left,t.left),t}),je(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ve,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ve,n=this.getDimensions;return{reference:_e(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Be(t)},getScale:Ae,isElement:we,isRTL:function(t){return"rtl"===Le(t).direction}},qe=(t,o,e)=>{const r=new Map,i={platform:Xe,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=be(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=be(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Je(t){return function(t){for(let o=t;o;o=Qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Qe(t);o;o=Qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var tr,or,er,rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
547
|
+
`,Qo=["start","end"],te=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Qo[0],o+"-"+Qo[1])),[]),oe=Math.min,ee=Math.max,re=Math.round,ie=t=>({x:t,y:t}),ne={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function le(t,o,e){return ee(t,oe(o,e))}function ce(t,o){return"function"==typeof t?t(o):t}function se(t){return t.split("-")[0]}function pe(t){return t.split("-")[1]}function fe(t){return"x"===t?"y":"x"}function de(t){return"y"===t?"height":"width"}function he(t){return["top","bottom"].includes(se(t))?"y":"x"}function ye(t){return fe(he(t))}function ge(t){return t.replace(/left|right|bottom|top/g,(t=>ne[t]))}function ue(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function be(t,o,e){let{reference:r,floating:i}=t;const n=he(o),a=ye(o),l=de(a),c=se(o),s="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:p,y:r.y-i.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(pe(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function me(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=ce(o,t),y=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],u=ue(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=ue(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function xe(t,o,e){return(t?[...e.filter((o=>pe(o)===t)),...e.filter((o=>pe(o)!==t))]:e.filter((t=>se(t)===t))).filter((e=>!t||(pe(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ae[t]))}(e)!==e)))}const Oe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=te,autoAlignment:h=!0,...y}=ce(t,o),g=void 0!==f||d===te?xe(f||null,h,d):d,u=await me(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=pe(t),i=ye(t),n=de(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ge(a)),[a,ge(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[se(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=pe(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,pe(t[0])?2:3).every((t=>t<=0)))),w=(null==(i=C[0])?void 0:i[0])||S[0][0];return w!==l?{data:{index:b+1,overflows:v},reset:{placement:w}}:{}}}};function ve(t){return Ce(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Se(t){var o;return null==(o=(Ce(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ce(t){return t instanceof Node||t instanceof Ne(t).Node}function we(t){return t instanceof Element||t instanceof Ne(t).Element}function $e(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function Ie(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot)}function Re(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ke(t){return["table","td","th"].includes(ve(t))}function Ue(t){const o=We(),e=Le(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function We(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ee(t){return["html","body","#document"].includes(ve(t))}function Le(t){return Ne(t).getComputedStyle(t)}function Ke(t){return we(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ze(t){if("html"===ve(t))return t;const o=t.assignedSlot||t.parentNode||Ie(t)&&t.host||Se(t);return Ie(o)?o.host:o}function ze(t){const o=Ze(t);return Ee(o)?t.ownerDocument?t.ownerDocument.body:t.body:$e(o)&&Re(o)?o:ze(o)}function Fe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ze(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Ne(i);return n?o.concat(a,a.visualViewport||[],Re(i)?i:[],a.frameElement&&e?Fe(a.frameElement):[]):o.concat(i,Fe(i,[],e))}function Be(t){const o=Le(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=$e(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=re(e)!==n||re(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function De(t){return we(t)?t:t.contextElement}function Ae(t){const o=De(t);if(!$e(o))return ie(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Be(o);let a=(n?re(e.width):e.width)/r,l=(n?re(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const He=ie(0);function Ge(t){const o=Ne(t);return We()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:He}function Pe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=De(t);let a=ie(1);o&&(r?we(r)&&(a=Ae(r)):a=Ae(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ne(t))&&o}(n,e,r)?Ge(n):ie(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Ne(n),o=r&&we(r)?Ne(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ae(e),o=e.getBoundingClientRect(),r=Le(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,p*=t.x,f*=t.y,c+=i,s+=n,e=Ne(e).frameElement}}return ue({width:p,height:f,x:c,y:s})}function Te(t){return Pe(Se(t)).left+Ke(t).scrollLeft}function je(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ne(t),r=Se(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=We();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Se(t),e=Ke(t),r=t.ownerDocument.body,i=ee(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=ee(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Te(t);const l=-e.scrollTop;return"rtl"===Le(r).direction&&(a+=ee(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Se(t));else if(we(o))r=function(t,o){const e=Pe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=$e(t)?Ae(t):ie(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Ge(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ue(r)}function Me(t,o){const e=Ze(t);return!(e===o||!we(e)||Ee(e))&&("fixed"===Le(e).position||Me(e,o))}function _e(t,o,e){const r=$e(o),i=Se(o),n="fixed"===e,a=Pe(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=ie(0);if(r||!r&&!n)if(("body"!==ve(o)||Re(i))&&(l=Ke(o)),r){const t=Pe(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Te(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ye(t,o){return $e(t)&&"fixed"!==Le(t).position?o?o(t):t.offsetParent:null}function Ve(t,o){const e=Ne(t);if(!$e(t))return e;let r=Ye(t,o);for(;r&&ke(r)&&"static"===Le(r).position;)r=Ye(r,o);return r&&("html"===ve(r)||"body"===ve(r)&&"static"===Le(r).position&&!Ue(r))?e:r||function(t){let o=Ze(t);for(;$e(o)&&!Ee(o);){if(Ue(o))return o;o=Ze(o)}return null}(t)||e}const Xe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=$e(e),n=Se(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=ie(1);const c=ie(0);if((i||!i&&"fixed"!==r)&&(("body"!==ve(e)||Re(n))&&(a=Ke(e)),$e(e))){const t=Pe(e);l=Ae(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Se,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Fe(t,[],!1).filter((t=>we(t)&&"body"!==ve(t))),i=null;const n="fixed"===Le(t).position;let a=n?Ze(t):t;for(;we(a)&&!Ee(a);){const o=Le(a),e=Ue(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Re(a)&&!e&&Me(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ze(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=je(o,e,i);return t.top=ee(r.top,t.top),t.right=oe(r.right,t.right),t.bottom=oe(r.bottom,t.bottom),t.left=ee(r.left,t.left),t}),je(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ve,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ve,n=this.getDimensions;return{reference:_e(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Be(t)},getScale:Ae,isElement:we,isRTL:function(t){return"rtl"===Le(t).direction}},qe=(t,o,e)=>{const r=new Map,i={platform:Xe,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=be(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=u?u:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=be(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Je(t){return function(t){for(let o=t;o;o=Qe(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Qe(t);o;o=Qe(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Qe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var tr,or,er,rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
548
548
|
<div part="container"
|
|
549
549
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
550
550
|
@mouseenter=${this.onHover}
|
|
@@ -552,7 +552,7 @@ const Bo=Symbol.for(""),Do=t=>{if(t?.r===Bo)return t?._$litStatic$},Ao=t=>({_$li
|
|
|
552
552
|
@focusin=${this.onHover}
|
|
553
553
|
@focusout=${this.onOut}
|
|
554
554
|
@touchstart=${this.onTouch}>
|
|
555
|
-
<slot part="slot"></slot>
|
|
555
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
556
556
|
<div part="tooltip" role="tooltip" inert
|
|
557
557
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
558
558
|
?hidden=${!this.visible}>
|
|
@@ -562,7 +562,7 @@ const Bo=Symbol.for(""),Do=t=>{if(t?.r===Bo)return t?._$litStatic$},Ao=t=>({_$li
|
|
|
562
562
|
</div>
|
|
563
563
|
</div>
|
|
564
564
|
</div>
|
|
565
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qe(this.slottedElement,this.tooltip,{platform:{...Xe,getOffsetParent:t=>Xe.getOffsetParent(t,Je)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ce(t,o),s={x:e,y:r},p=await me(o,c),f=he(se(i)),d=fe(f);let h=s[d],y=s[f];if(n){const t="y"===d?"bottom":"right";h=le(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=le(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),Oe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ir.elementDefinitions={"ft-typography":jo},ir.styles=Jo,rr([r.property()],ir.prototype,"text",void 0),rr([r.property({type:Boolean})],ir.prototype,"manual",void 0),rr([r.property({type:Boolean})],ir.prototype,"inline",void 0),rr([r.property({type:Number})],ir.prototype,"delay",void 0),rr([r.property()],ir.prototype,"position",void 0),rr([r.queryAssignedNodes()],ir.prototype,"slotNodes",void 0),rr([r.query(".ft-tooltip--container")],ir.prototype,"container",void 0),rr([r.query(".ft-tooltip")],ir.prototype,"tooltip",void 0),rr([r.query(".ft-tooltip--content")],ir.prototype,"tooltipContent",void 0),rr([r.state()],ir.prototype,"visible",void 0),rr([r.eventOptions({passive:!0})],ir.prototype,"onTouch",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onHover",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onOut",null),o.customElement("ft-tooltip")(ir),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(tr||(tr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(or||(or={})),new Map([...["abw"].map((t=>[t,or.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,o=t!==er.material||!!this.value;return e.html`
|
|
565
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qe(this.slottedElement,this.tooltip,{platform:{...Xe,getOffsetParent:t=>Xe.getOffsetParent(t,Je)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ce(t,o),s={x:e,y:r},p=await me(o,c),f=he(se(i)),d=fe(f);let h=s[d],y=s[f];if(n){const t="y"===d?"bottom":"right";h=le(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=le(y+p["y"===f?"top":"left"],y,y-p[t])}const g=l.fn({...o,[d]:h,[f]:y});return{...g,data:{x:g.x-e,y:g.y-r}}}}),Oe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ir.elementDefinitions={"ft-typography":jo},ir.styles=Jo,rr([r.property()],ir.prototype,"text",void 0),rr([r.property({type:Boolean})],ir.prototype,"manual",void 0),rr([r.property({type:Boolean})],ir.prototype,"inline",void 0),rr([r.property({type:Number})],ir.prototype,"delay",void 0),rr([r.property()],ir.prototype,"position",void 0),rr([r.queryAssignedNodes()],ir.prototype,"slotNodes",void 0),rr([r.query(".ft-tooltip--container")],ir.prototype,"container",void 0),rr([r.query(".ft-tooltip")],ir.prototype,"tooltip",void 0),rr([r.query(".ft-tooltip--content")],ir.prototype,"tooltipContent",void 0),rr([r.state()],ir.prototype,"visible",void 0),rr([r.eventOptions({passive:!0})],ir.prototype,"onTouch",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onHover",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onOut",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onClick",null),o.customElement("ft-tooltip")(ir),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(tr||(tr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(or||(or={})),new Map([...["abw"].map((t=>[t,or.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]),or.ABW,or.AUDIO,or.AVI,or.CHM,or.CODE,or.CSV,or.DITA,or.EPUB,or.EXCEL,or.FLAC,or.GIF,or.GZIP,or.HTML,or.IMAGE,or.JPEG,or.JSON,or.M4A,or.MOV,or.MP3,or.MP4,or.OGG,or.PDF,or.PNG,or.POWERPOINT,or.RAR,or.STP,or.TEXT,or.UNKNOWN,or.VIDEO,or.WAV,or.WMA,or.WORD,or.XML,or.YAML,or.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,o=t!==er.material||!!this.value;return e.html`
|
|
566
566
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
567
567
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
568
568
|
<slot ?hidden=${o}></slot>
|
|
@@ -12,48 +12,48 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(fn){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(fn){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(r&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),s=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!l(t,o),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(r)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),i=e.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function
|
|
36
|
+
*/}function $(t){return C({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function
|
|
41
|
+
*/function R(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
46
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function
|
|
51
|
+
*/;function U(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/
|
|
56
|
+
*/function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!k(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
@@ -87,7 +87,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2019 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ro.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ko,Io=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class Fo extends Uo{constructor(){super(),this[ko]=new
|
|
90
|
+
*/class Uo extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Eo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ro.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ko,Io=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),Ko=Symbol("exportpartsDebouncer");class Fo extends Uo{constructor(){super(),this[ko]=new o(5),this[Wo]=this.constructor.name,this[Lo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wo]&&Object.setPrototypeOf(this,this[Lo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ko].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}ko=Ko,Io([C()],Fo.prototype,"exportpartsPrefix",void 0),Io([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],Fo.prototype,"exportpartsPrefixes",void 0),Io([C()],Fo.prototype,"customStylesheet",void 0);const zo=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
91
91
|
.highlight-html-match {
|
|
92
92
|
background: ${zo};
|
|
93
93
|
}
|
|
@@ -615,7 +615,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
615
615
|
* @license
|
|
616
616
|
* Copyright 2018 Google LLC
|
|
617
617
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
618
|
-
*/const Hr=Dr(class extends Pr{constructor(t){if(super(t),t.type!==Ar||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}});var Tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Fo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new
|
|
618
|
+
*/const Hr=Dr(class extends Pr{constructor(t){if(super(t),t.type!==Ar||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}});var Tr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Fo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
|
|
619
619
|
<style>
|
|
620
620
|
.ft-ripple .ft-ripple--effect {
|
|
621
621
|
left: ${this.originX}px;
|
|
@@ -626,7 +626,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
626
626
|
<div class="ft-ripple--background"></div>
|
|
627
627
|
<div class="ft-ripple--effect"></div>
|
|
628
628
|
</div>
|
|
629
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}jr.elementDefinitions={},jr.styles=ce,Tr([
|
|
629
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}jr.elementDefinitions={},jr.styles=ce,Tr([C({type:Boolean})],jr.prototype,"primary",void 0),Tr([C({type:Boolean})],jr.prototype,"secondary",void 0),Tr([C({type:Boolean})],jr.prototype,"unbounded",void 0),Tr([C({type:Boolean})],jr.prototype,"activated",void 0),Tr([C({type:Boolean})],jr.prototype,"selected",void 0),Tr([C({type:Boolean})],jr.prototype,"disabled",void 0),Tr([$()],jr.prototype,"hovered",void 0),Tr([$()],jr.prototype,"focused",void 0),Tr([$()],jr.prototype,"pressed",void 0),Tr([$()],jr.prototype,"rippling",void 0),Tr([$()],jr.prototype,"originX",void 0),Tr([$()],jr.prototype,"originY",void 0),Tr([U(".ft-ripple")],jr.prototype,"ripple",void 0),Tr([U(".ft-ripple--effect")],jr.prototype,"rippleEffect",void 0),I("ft-ripple")(jr);
|
|
630
630
|
/**
|
|
631
631
|
* @license
|
|
632
632
|
* Copyright 2020 Google LLC
|
|
@@ -639,7 +639,7 @@ const _r=Symbol.for(""),Gr=t=>{if(t?.r===_r)return t?._$litStatic$},Yr=t=>({_$li
|
|
|
639
639
|
</${Yr(this.element)}>
|
|
640
640
|
`:Jr`
|
|
641
641
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
642
|
-
`}}Qr.styles=[ur,yr,gr,br,mr,xr,Or,vr,Nr,Sr,wr,...Cr],Xr([
|
|
642
|
+
`}}Qr.styles=[ur,yr,gr,br,mr,xr,Or,vr,Nr,Sr,wr,...Cr],Xr([C()],Qr.prototype,"element",void 0),Xr([C()],Qr.prototype,"variant",void 0),I("ft-typography")(Qr);const ti=Oo.create("--ft-tooltip-distance","","SIZE","4px"),oi=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ei=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),ri=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),ii=Oo.external($o.borderRadiusS,"Design system"),ni=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),ai=mt`
|
|
643
643
|
.ft-tooltip--container {
|
|
644
644
|
display: block;
|
|
645
645
|
}
|
|
@@ -668,7 +668,7 @@ const _r=Symbol.for(""),Gr=t=>{if(t?.r===_r)return t?._$litStatic$},Yr=t=>({_$li
|
|
|
668
668
|
position: relative;
|
|
669
669
|
word-break: break-word;
|
|
670
670
|
}
|
|
671
|
-
`,si=["start","end"],li=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+si[0],o+"-"+si[1])),[]),ci=Math.min,pi=Math.max,fi=Math.round,hi=t=>({x:t,y:t}),di={left:"right",right:"left",bottom:"top",top:"bottom"},ui={start:"end",end:"start"};function yi(t,o,e){return pi(t,ci(o,e))}function gi(t,o){return"function"==typeof t?t(o):t}function bi(t){return t.split("-")[0]}function mi(t){return t.split("-")[1]}function xi(t){return"x"===t?"y":"x"}function Oi(t){return"y"===t?"height":"width"}function vi(t){return["top","bottom"].includes(bi(t))?"y":"x"}function Ni(t){return xi(vi(t))}function Si(t){return t.replace(/left|right|bottom|top/g,(t=>di[t]))}function wi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ci(t,o,e){let{reference:r,floating:i}=t;const n=vi(o),a=Ni(o),s=Oi(a),l=bi(o),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(mi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function $i(t,o){var e;void 0===o&&(o={});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}=gi(o,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),y=s[h?"floating"===f?"reference":"floating":f],g=wi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.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)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=wi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Ri(t,o,e){return(t?[...e.filter((o=>mi(o)===t)),...e.filter((o=>mi(o)!==t))]:e.filter((t=>bi(t)===t))).filter((e=>!t||(mi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ui[t]))}(e)!==e)))}const Ei=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=li,autoAlignment:d=!0,...u}=gi(t,o),y=void 0!==f||h===li?Ri(f||null,d,h):h,g=await $i(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=mi(t),i=Ni(t),n=Oi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Si(a)),[a,Si(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[bi(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=mi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,mi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Ui(t){return Li(t)?(t.nodeName||"").toLowerCase():"#document"}function ki(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ii(t){var o;return null==(o=(Li(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Li(t){return t instanceof Node||t instanceof ki(t).Node}function Wi(t){return t instanceof Element||t instanceof ki(t).Element}function Ki(t){return t instanceof HTMLElement||t instanceof ki(t).HTMLElement}function Fi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ki(t).ShadowRoot)}function zi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Di(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Zi(t){return["table","td","th"].includes(Ui(t))}function Bi(t){const o=Ai(),e=Di(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ai(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Mi(t){return["html","body","#document"].includes(Ui(t))}function Di(t){return ki(t).getComputedStyle(t)}function Pi(t){return Wi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hi(t){if("html"===Ui(t))return t;const o=t.assignedSlot||t.parentNode||Fi(t)&&t.host||Ii(t);return Fi(o)?o.host:o}function Ti(t){const o=Hi(t);return Mi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ki(o)&&zi(o)?o:Ti(o)}function ji(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ti(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ki(i);return n?o.concat(a,a.visualViewport||[],zi(i)?i:[],a.frameElement&&e?ji(a.frameElement):[]):o.concat(i,ji(i,[],e))}function _i(t){const o=Di(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ki(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=fi(e)!==n||fi(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Gi(t){return Wi(t)?t:t.contextElement}function Yi(t){const o=Gi(t);if(!Ki(o))return hi(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=_i(o);let a=(n?fi(e.width):e.width)/r,s=(n?fi(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Vi=hi(0);function Ji(t){const o=ki(t);return Ai()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Vi}function qi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Gi(t);let a=hi(1);o&&(r?Wi(r)&&(a=Yi(r)):a=Yi(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ki(t))&&o}(n,e,r)?Ji(n):hi(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=ki(n),o=r&&Wi(r)?ki(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Yi(e),o=e.getBoundingClientRect(),r=Di(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=ki(e).frameElement}}return wi({width:p,height:f,x:l,y:c})}function Xi(t){return qi(Ii(t)).left+Pi(t).scrollLeft}function Qi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ki(t),r=Ii(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ai();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Ii(t),e=Pi(t),r=t.ownerDocument.body,i=pi(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=pi(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Xi(t);const s=-e.scrollTop;return"rtl"===Di(r).direction&&(a+=pi(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Ii(t));else if(Wi(o))r=function(t,o){const e=qi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ki(t)?Yi(t):hi(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Ji(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return wi(r)}function tn(t,o){const e=Hi(t);return!(e===o||!Wi(e)||Mi(e))&&("fixed"===Di(e).position||tn(e,o))}function on(t,o,e){const r=Ki(o),i=Ii(o),n="fixed"===e,a=qi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=hi(0);if(r||!r&&!n)if(("body"!==Ui(o)||zi(i))&&(s=Pi(o)),r){const t=qi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Xi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function en(t,o){return Ki(t)&&"fixed"!==Di(t).position?o?o(t):t.offsetParent:null}function rn(t,o){const e=ki(t);if(!Ki(t))return e;let r=en(t,o);for(;r&&Zi(r)&&"static"===Di(r).position;)r=en(r,o);return r&&("html"===Ui(r)||"body"===Ui(r)&&"static"===Di(r).position&&!Bi(r))?e:r||function(t){let o=Hi(t);for(;Ki(o)&&!Mi(o);){if(Bi(o))return o;o=Hi(o)}return null}(t)||e}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ki(e),n=Ii(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=hi(1);const l=hi(0);if((i||!i&&"fixed"!==r)&&(("body"!==Ui(e)||zi(n))&&(a=Pi(e)),Ki(e))){const t=qi(e);s=Yi(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ii,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ji(t,[],!1).filter((t=>Wi(t)&&"body"!==Ui(t))),i=null;const n="fixed"===Di(t).position;let a=n?Hi(t):t;for(;Wi(a)&&!Mi(a);){const o=Di(a),e=Bi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||zi(a)&&!e&&tn(t,a))?r=r.filter((t=>t!==a)):i=o,a=Hi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Qi(o,e,i);return t.top=pi(r.top,t.top),t.right=ci(r.right,t.right),t.bottom=ci(r.bottom,t.bottom),t.left=pi(r.left,t.left),t}),Qi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:rn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||rn,n=this.getDimensions;return{reference:on(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return _i(t)},getScale:Yi,isElement:Wi,isRTL:function(t){return"rtl"===Di(t).direction}},an=(t,o,e)=>{const r=new Map,i={platform:nn,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Ci(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Ci(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function sn(t){return function(t){for(let o=t;o;o=ln(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ln(t);o;o=ln(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ln(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pn extends Fo{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
671
|
+
`,si=["start","end"],li=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+si[0],o+"-"+si[1])),[]),ci=Math.min,pi=Math.max,fi=Math.round,hi=t=>({x:t,y:t}),di={left:"right",right:"left",bottom:"top",top:"bottom"},ui={start:"end",end:"start"};function yi(t,o,e){return pi(t,ci(o,e))}function gi(t,o){return"function"==typeof t?t(o):t}function bi(t){return t.split("-")[0]}function mi(t){return t.split("-")[1]}function xi(t){return"x"===t?"y":"x"}function Oi(t){return"y"===t?"height":"width"}function vi(t){return["top","bottom"].includes(bi(t))?"y":"x"}function Ni(t){return xi(vi(t))}function Si(t){return t.replace(/left|right|bottom|top/g,(t=>di[t]))}function wi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ci(t,o,e){let{reference:r,floating:i}=t;const n=vi(o),a=Ni(o),s=Oi(a),l=bi(o),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(mi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function $i(t,o){var e;void 0===o&&(o={});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}=gi(o,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),y=s[h?"floating"===f?"reference":"floating":f],g=wi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.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)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=wi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Ri(t,o,e){return(t?[...e.filter((o=>mi(o)===t)),...e.filter((o=>mi(o)!==t))]:e.filter((t=>bi(t)===t))).filter((e=>!t||(mi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ui[t]))}(e)!==e)))}const Ei=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=li,autoAlignment:d=!0,...u}=gi(t,o),y=void 0!==f||h===li?Ri(f||null,d,h):h,g=await $i(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=mi(t),i=Ni(t),n=Oi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Si(a)),[a,Si(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[bi(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=mi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,mi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Ui(t){return Li(t)?(t.nodeName||"").toLowerCase():"#document"}function ki(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ii(t){var o;return null==(o=(Li(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Li(t){return t instanceof Node||t instanceof ki(t).Node}function Wi(t){return t instanceof Element||t instanceof ki(t).Element}function Ki(t){return t instanceof HTMLElement||t instanceof ki(t).HTMLElement}function Fi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ki(t).ShadowRoot)}function zi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Di(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Zi(t){return["table","td","th"].includes(Ui(t))}function Bi(t){const o=Ai(),e=Di(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ai(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Mi(t){return["html","body","#document"].includes(Ui(t))}function Di(t){return ki(t).getComputedStyle(t)}function Pi(t){return Wi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hi(t){if("html"===Ui(t))return t;const o=t.assignedSlot||t.parentNode||Fi(t)&&t.host||Ii(t);return Fi(o)?o.host:o}function Ti(t){const o=Hi(t);return Mi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ki(o)&&zi(o)?o:Ti(o)}function ji(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ti(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ki(i);return n?o.concat(a,a.visualViewport||[],zi(i)?i:[],a.frameElement&&e?ji(a.frameElement):[]):o.concat(i,ji(i,[],e))}function _i(t){const o=Di(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ki(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=fi(e)!==n||fi(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Gi(t){return Wi(t)?t:t.contextElement}function Yi(t){const o=Gi(t);if(!Ki(o))return hi(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=_i(o);let a=(n?fi(e.width):e.width)/r,s=(n?fi(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Vi=hi(0);function Ji(t){const o=ki(t);return Ai()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Vi}function qi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Gi(t);let a=hi(1);o&&(r?Wi(r)&&(a=Yi(r)):a=Yi(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ki(t))&&o}(n,e,r)?Ji(n):hi(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=ki(n),o=r&&Wi(r)?ki(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Yi(e),o=e.getBoundingClientRect(),r=Di(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=ki(e).frameElement}}return wi({width:p,height:f,x:l,y:c})}function Xi(t){return qi(Ii(t)).left+Pi(t).scrollLeft}function Qi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ki(t),r=Ii(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ai();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Ii(t),e=Pi(t),r=t.ownerDocument.body,i=pi(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=pi(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Xi(t);const s=-e.scrollTop;return"rtl"===Di(r).direction&&(a+=pi(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Ii(t));else if(Wi(o))r=function(t,o){const e=qi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ki(t)?Yi(t):hi(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Ji(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return wi(r)}function tn(t,o){const e=Hi(t);return!(e===o||!Wi(e)||Mi(e))&&("fixed"===Di(e).position||tn(e,o))}function on(t,o,e){const r=Ki(o),i=Ii(o),n="fixed"===e,a=qi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=hi(0);if(r||!r&&!n)if(("body"!==Ui(o)||zi(i))&&(s=Pi(o)),r){const t=qi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Xi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function en(t,o){return Ki(t)&&"fixed"!==Di(t).position?o?o(t):t.offsetParent:null}function rn(t,o){const e=ki(t);if(!Ki(t))return e;let r=en(t,o);for(;r&&Zi(r)&&"static"===Di(r).position;)r=en(r,o);return r&&("html"===Ui(r)||"body"===Ui(r)&&"static"===Di(r).position&&!Bi(r))?e:r||function(t){let o=Hi(t);for(;Ki(o)&&!Mi(o);){if(Bi(o))return o;o=Hi(o)}return null}(t)||e}const nn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ki(e),n=Ii(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=hi(1);const l=hi(0);if((i||!i&&"fixed"!==r)&&(("body"!==Ui(e)||zi(n))&&(a=Pi(e)),Ki(e))){const t=qi(e);s=Yi(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ii,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ji(t,[],!1).filter((t=>Wi(t)&&"body"!==Ui(t))),i=null;const n="fixed"===Di(t).position;let a=n?Hi(t):t;for(;Wi(a)&&!Mi(a);){const o=Di(a),e=Bi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||zi(a)&&!e&&tn(t,a))?r=r.filter((t=>t!==a)):i=o,a=Hi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Qi(o,e,i);return t.top=pi(r.top,t.top),t.right=ci(r.right,t.right),t.bottom=ci(r.bottom,t.bottom),t.left=pi(r.left,t.left),t}),Qi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:rn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||rn,n=this.getDimensions;return{reference:on(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return _i(t)},getScale:Yi,isElement:Wi,isRTL:function(t){return"rtl"===Di(t).direction}},an=(t,o,e)=>{const r=new Map,i={platform:nn,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Ci(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Ci(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function sn(t){return function(t){for(let o=t;o;o=ln(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=ln(t);o;o=ln(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function ln(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pn extends Fo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
672
672
|
<div part="container"
|
|
673
673
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
674
674
|
@mouseenter=${this.onHover}
|
|
@@ -676,7 +676,7 @@ const _r=Symbol.for(""),Gr=t=>{if(t?.r===_r)return t?._$litStatic$},Yr=t=>({_$li
|
|
|
676
676
|
@focusin=${this.onHover}
|
|
677
677
|
@focusout=${this.onOut}
|
|
678
678
|
@touchstart=${this.onTouch}>
|
|
679
|
-
<slot part="slot"></slot>
|
|
679
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
680
680
|
<div part="tooltip" role="tooltip" inert
|
|
681
681
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
682
682
|
?hidden=${!this.visible}>
|
|
@@ -686,18 +686,18 @@ const _r=Symbol.for(""),Gr=t=>{if(t?.r===_r)return t?._$litStatic$},Yr=t=>({_$li
|
|
|
686
686
|
</div>
|
|
687
687
|
</div>
|
|
688
688
|
</div>
|
|
689
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",an(this.slottedElement,this.tooltip,{platform:{...nn,getOffsetParent:t=>nn.getOffsetParent(t,sn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gi(t,o),c={x:e,y:r},p=await $i(o,l),f=vi(bi(i)),h=xi(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=yi(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=yi(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ei({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}pn.elementDefinitions={"ft-typography":Qr},pn.styles=ai,cn([
|
|
689
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",an(this.slottedElement,this.tooltip,{platform:{...nn,getOffsetParent:t=>nn.getOffsetParent(t,sn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gi(t,o),c={x:e,y:r},p=await $i(o,l),f=vi(bi(i)),h=xi(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=yi(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=yi(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Ei({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}pn.elementDefinitions={"ft-typography":Qr},pn.styles=ai,cn([C()],pn.prototype,"text",void 0),cn([C({type:Boolean})],pn.prototype,"manual",void 0),cn([C({type:Boolean})],pn.prototype,"inline",void 0),cn([C({type:Number})],pn.prototype,"delay",void 0),cn([C()],pn.prototype,"position",void 0),cn([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],pn.prototype,"slotNodes",void 0),cn([U(".ft-tooltip--container")],pn.prototype,"container",void 0),cn([U(".ft-tooltip")],pn.prototype,"tooltip",void 0),cn([U(".ft-tooltip--content")],pn.prototype,"tooltipContent",void 0),cn([$()],pn.prototype,"visible",void 0),cn([R({passive:!0})],pn.prototype,"onTouch",null),cn([R({passive:!0})],pn.prototype,"onHover",null),cn([R({passive:!0})],pn.prototype,"onOut",null),cn([R({passive:!0})],pn.prototype,"onClick",null),I("ft-tooltip")(pn);
|
|
690
690
|
/**
|
|
691
691
|
* @license
|
|
692
692
|
* Copyright 2017 Google LLC
|
|
693
693
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
694
694
|
*/
|
|
695
|
-
class fn extends Pr{constructor(t){if(super(t),this.et=Q,t.type!==Mr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}fn.directiveName="unsafeHTML",fn.resultType=1;const hn=Dr(fn);var dn,un,yn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(dn||(dn={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(un||(un={})),new Map([...["abw"].map((t=>[t,un.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,un.AUDIO])),...["avi"].map((t=>[t,un.AVI])),...["chm","xhs"].map((t=>[t,un.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,un.CODE])),...["csv"].map((t=>[t,un.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,un.DITA])),...["epub"].map((t=>[t,un.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,un.EXCEL])),...["flac"].map((t=>[t,un.FLAC])),...["gif"].map((t=>[t,un.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,un.GZIP])),...["html","htm","xhtml"].map((t=>[t,un.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,un.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,un.JPEG])),...["json"].map((t=>[t,un.JSON])),...["m4a","m4p"].map((t=>[t,un.M4A])),...["mov","qt"].map((t=>[t,un.MOV])),...["mp3"].map((t=>[t,un.MP3])),...["mp4","m4v"].map((t=>[t,un.MP4])),...["ogg","oga"].map((t=>[t,un.OGG])),...["pdf","ps"].map((t=>[t,un.PDF])),...["png"].map((t=>[t,un.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,un.POWERPOINT])),...["rar"].map((t=>[t,un.RAR])),...["stp"].map((t=>[t,un.STP])),...["txt","rtf","md","mdown"].map((t=>[t,un.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,un.VIDEO])),...["wav"].map((t=>[t,un.WAV])),...["wma"].map((t=>[t,un.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,un.WORD])),...["xml","xsl","rdf"].map((t=>[t,un.XML])),...["yaml","yml","x-yaml"].map((t=>[t,un.YAML])),...["zip"].map((t=>[t,un.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yn||(yn={}));var gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends Fo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(yn).includes(this.variant)?this.variant:yn.fluid_topics,o=t!==yn.material||!!this.value;return to`
|
|
695
|
+
class fn extends Pr{constructor(t){if(super(t),this.et=Q,t.type!==Mr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}fn.directiveName="unsafeHTML",fn.resultType=1;const hn=Dr(fn);var dn,un,yn;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(dn||(dn={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(un||(un={})),new Map([...["abw"].map((t=>[t,un.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,un.AUDIO])),...["avi"].map((t=>[t,un.AVI])),...["chm","xhs"].map((t=>[t,un.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,un.CODE])),...["csv"].map((t=>[t,un.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,un.DITA])),...["epub"].map((t=>[t,un.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,un.EXCEL])),...["flac"].map((t=>[t,un.FLAC])),...["gif"].map((t=>[t,un.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,un.GZIP])),...["html","htm","xhtml"].map((t=>[t,un.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,un.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,un.JPEG])),...["json"].map((t=>[t,un.JSON])),...["m4a","m4p"].map((t=>[t,un.M4A])),...["mov","qt"].map((t=>[t,un.MOV])),...["mp3"].map((t=>[t,un.MP3])),...["mp4","m4v"].map((t=>[t,un.MP4])),...["ogg","oga"].map((t=>[t,un.OGG])),...["pdf","ps"].map((t=>[t,un.PDF])),...["png"].map((t=>[t,un.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,un.POWERPOINT])),...["rar"].map((t=>[t,un.RAR])),...["stp"].map((t=>[t,un.STP])),...["txt","rtf","md","mdown"].map((t=>[t,un.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,un.VIDEO])),...["wav"].map((t=>[t,un.WAV])),...["wma"].map((t=>[t,un.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,un.WORD])),...["xml","xsl","rdf"].map((t=>[t,un.XML])),...["yaml","yml","x-yaml"].map((t=>[t,un.YAML])),...["zip"].map((t=>[t,un.ZIP]))]),un.ABW,un.AUDIO,un.AVI,un.CHM,un.CODE,un.CSV,un.DITA,un.EPUB,un.EXCEL,un.FLAC,un.GIF,un.GZIP,un.HTML,un.IMAGE,un.JPEG,un.JSON,un.M4A,un.MOV,un.MP3,un.MP4,un.OGG,un.PDF,un.PNG,un.POWERPOINT,un.RAR,un.STP,un.TEXT,un.UNKNOWN,un.VIDEO,un.WAV,un.WMA,un.WORD,un.XML,un.YAML,un.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yn||(yn={}));var gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends Fo{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(yn).includes(this.variant)?this.variant:yn.fluid_topics,o=t!==yn.material||!!this.value;return to`
|
|
696
696
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
697
697
|
${hn(this.resolvedIcon)}
|
|
698
698
|
<slot ?hidden=${o}></slot>
|
|
699
699
|
</i>
|
|
700
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case yn.file_format:this.resolvedIcon=null!==(t=un[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case yn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=dn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}bn.elementDefinitions={},bn.styles=Ur,gn([
|
|
700
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case yn.file_format:this.resolvedIcon=null!==(t=un[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case yn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=dn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}bn.elementDefinitions={},bn.styles=Ur,gn([C()],bn.prototype,"variant",void 0),gn([C()],bn.prototype,"value",void 0),gn([$()],bn.prototype,"resolvedIcon",void 0),gn([U("slot")],bn.prototype,"slottedContent",void 0),I("ft-icon")(bn);class mn extends Fo{render(){return to`
|
|
701
701
|
<div class="ft-loader">
|
|
702
702
|
<div></div>
|
|
703
703
|
<div></div>
|
|
@@ -727,7 +727,7 @@ class fn extends Pr{constructor(t){if(super(t),this.et=Q,t.type!==Mr)throw Error
|
|
|
727
727
|
</ft-tooltip>
|
|
728
728
|
`:t}resolveIcon(){return this.loading?to`
|
|
729
729
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?to`
|
|
730
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}On.elementDefinitions={"ft-ripple":jr,"ft-tooltip":pn,"ft-typography":Qr,"ft-icon":bn,"ft-loader":mn},xn([
|
|
730
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}On.elementDefinitions={"ft-ripple":jr,"ft-tooltip":pn,"ft-typography":Qr,"ft-icon":bn,"ft-loader":mn},xn([C({type:String,reflect:!0})],On.prototype,"role",void 0),xn([C()],On.prototype,"type",void 0),xn([C({type:Boolean})],On.prototype,"disabled",void 0),xn([C()],On.prototype,"label",void 0),xn([C()],On.prototype,"icon",void 0),xn([C()],On.prototype,"iconVariant",void 0),xn([C({type:Boolean})],On.prototype,"trailingIcon",void 0),xn([C({type:Boolean})],On.prototype,"loading",void 0),xn([C()],On.prototype,"tooltipPosition",void 0),xn([C({type:Boolean})],On.prototype,"hideTooltip",void 0),xn([C({type:Boolean})],On.prototype,"forceTooltip",void 0),xn([U(".ft-button")],On.prototype,"button",void 0),xn([U(".ft-button--label slot")],On.prototype,"slottedContent",void 0);var vn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nn extends On{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Nn.styles=[Bo,Br],vn([C({type:Boolean})],Nn.prototype,"primary",void 0),vn([C({type:Boolean})],Nn.prototype,"outlined",void 0),vn([C({type:Boolean})],Nn.prototype,"dense",void 0),vn([C({type:Boolean})],Nn.prototype,"round",void 0);const Sn=[mt`
|
|
731
731
|
:host {
|
|
732
732
|
display: inline-block;
|
|
733
733
|
max-width: 100%;
|
|
@@ -945,13 +945,13 @@ class fn extends Pr{constructor(t){if(super(t),this.et=Q,t.type!==Mr)throw Error
|
|
|
945
945
|
width: ${Co.smallIconOnlyWidth};
|
|
946
946
|
padding: unset;
|
|
947
947
|
}
|
|
948
|
-
`,Zo];var wn,Cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends On{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?qr.caption1medium:qr.body2medium}}$n.styles=[Bo,Sn],Cn([
|
|
948
|
+
`,Zo];var wn,Cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends On{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?qr.caption1medium:qr.body2medium}}$n.styles=[Bo,Sn],Cn([C({type:Boolean})],$n.prototype,"primary",void 0),Cn([C({type:Boolean})],$n.prototype,"secondary",void 0),Cn([C({type:Boolean})],$n.prototype,"tertiary",void 0),Cn([C({type:Boolean})],$n.prototype,"neutral",void 0),Cn([C({type:Boolean})],$n.prototype,"small",void 0),I("ft-button")(Nn),I("ftds-button")($n),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(wn||(wn={}));var Rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class En extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Un=Symbol("registerInterval");class kn extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Un]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Un]):this.dispatchEvent(new En)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Un,Rn([$()],e.prototype,"stateManager",void 0),e}(_o)){}var In=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ln extends kn{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=Hr({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return to`
|
|
949
949
|
<a class=${o}
|
|
950
950
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
951
951
|
@click=${t=>this.onLinkClick(t)}>
|
|
952
952
|
<slot></slot>
|
|
953
953
|
</a>
|
|
954
|
-
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Ln.styles=Qo,In([
|
|
954
|
+
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Ln.styles=Qo,In([C()],Ln.prototype,"tocId",void 0),In([C()],Ln.prototype,"section",void 0),In([C({type:Number})],Ln.prototype,"pageNumber",void 0),In([C({type:Boolean})],Ln.prototype,"removeStyle",void 0),I("ft-reader-internal-link")(Ln);var Wn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Kn extends kn{constructor(){super(...arguments),this.target="next",this.tooltipPosition="bottom",this.hideTooltip=!1,this.trailingIcon=!1,this.editorMode=!1,this.isReady=!1,this.debouncer=new o(10)}get defaultContent(){return this.target.substring(0,1).toUpperCase()+this.target.substring(1)}get defaultIcon(){return"next"===this.target?dn.THIN_ARROW_RIGHT:dn.THIN_ARROW_LEFT}render(){var t,o,e,r,i;if(null==this.targetPage&&!this.editorMode)return eo;const n=to`
|
|
955
955
|
<ft-button ?forceTooltip=${!this.hideTooltip}
|
|
956
956
|
?hideTooltip=${this.hideTooltip}
|
|
957
957
|
?trailingIcon=${this.trailingIcon}
|
|
@@ -965,4 +965,4 @@ class fn extends Pr{constructor(t){if(super(t),this.et=Q,t.type!==Mr)throw Error
|
|
|
965
965
|
<ft-reader-internal-link .tocId=${null===(i=this.targetPage)||void 0===i?void 0:i.rootTocId} removestyle>
|
|
966
966
|
${n}
|
|
967
967
|
</ft-reader-internal-link>
|
|
968
|
-
`}update(t){super.update(t),t.has("currentPage")&&(this.targetPage=void 0,this.isReady=!1,this.debouncer.run((()=>this.updateTarget())))}async updateTarget(){var t,o;if(this.currentPage){const e=this.currentPage.number+("next"===this.target?1:-1);this.targetPage=await(null===(t=this.service)||void 0===t?void 0:t.getPage(e)),(null===(o=this.targetPage)||void 0===o?void 0:o.number)!==e&&(this.targetPage=void 0)}else this.targetPage=void 0;this.isReady=!0}}Kn.elementDefinitions={"ft-button":Nn,"ft-reader-internal-link":Ln},Kn.styles=te,Wn([
|
|
968
|
+
`}update(t){super.update(t),t.has("currentPage")&&(this.targetPage=void 0,this.isReady=!1,this.debouncer.run((()=>this.updateTarget())))}async updateTarget(){var t,o;if(this.currentPage){const e=this.currentPage.number+("next"===this.target?1:-1);this.targetPage=await(null===(t=this.service)||void 0===t?void 0:t.getPage(e)),(null===(o=this.targetPage)||void 0===o?void 0:o.number)!==e&&(this.targetPage=void 0)}else this.targetPage=void 0;this.isReady=!0}}Kn.elementDefinitions={"ft-button":Nn,"ft-reader-internal-link":Ln},Kn.styles=te,Wn([C()],Kn.prototype,"target",void 0),Wn([C()],Kn.prototype,"content",void 0),Wn([C()],Kn.prototype,"tooltipPosition",void 0),Wn([C({type:Boolean})],Kn.prototype,"hideTooltip",void 0),Wn([C()],Kn.prototype,"iconVariant",void 0),Wn([C()],Kn.prototype,"icon",void 0),Wn([C({type:Boolean})],Kn.prototype,"trailingIcon",void 0),Wn([C({type:Boolean,attribute:!1})],Kn.prototype,"editorMode",void 0),Wn([(t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};C(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}})()],Kn.prototype,"currentPage",void 0),Wn([$()],Kn.prototype,"targetPage",void 0),I("ft-reader-navigation-button")(Kn),t.FtReaderNavigationButton=Kn,t.FtReaderNavigationButtonCssVariables={},t.styles=te}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-navigation-button",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"description": "Button used to navigate between pages in an integrated reader context.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
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-reader-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-reader-internal-link": "1.1.
|
|
25
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-button": "1.1.13",
|
|
23
|
+
"@fluid-topics/ft-reader-context": "1.1.13",
|
|
24
|
+
"@fluid-topics/ft-reader-internal-link": "1.1.13",
|
|
25
|
+
"@fluid-topics/ft-tooltip": "1.1.13",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.13",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "6678af642af51eb1590bccbeeb0de8cbc5938ab1"
|
|
30
30
|
}
|