@fluid-topics/ft-reader-search-in-document 1.1.62 → 1.1.64

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.
@@ -1,4 +1,4 @@
1
- !function(t,o,e,r,i,n,a){const l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=c,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),d=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),h=d,u=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),g=e.css`
1
+ !function(t,e,o,r,i,n,a){const l=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),s={color:l,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),p=c,f=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),d=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),h=d,u=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),g=o.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -110,7 +110,7 @@
110
110
  opacity: ${s.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `,y={padding:o.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.FtCssVariableFactory.extend("--ft-card-border-radius","",o.designSystemVariables.borderRadiusM),borderStyle:o.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.FtCssVariableFactory.extend("--ft-card-border-color","",o.designSystemVariables.colorOutline),hoverBorderColor:o.FtCssVariableFactory.extend("--ft-card-hover-border-color","",o.designSystemVariables.colorPrimary),outlineStyle:o.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.FtCssVariableFactory.extend("--ft-card-outline-color","",o.designSystemVariables.colorPrimary),selectedOutlineStyle:o.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",o.designSystemVariables.colorPrimary),selectedBorderRadius:o.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",o.designSystemVariables.borderRadiusM),colorSurface:o.FtCssVariableFactory.extend("--ft-card-background-color","",o.designSystemVariables.colorSurface),colorOnSurfaceMedium:o.FtCssVariableFactory.extend("--ft-card-content-color","",o.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:o.FtCssVariableFactory.extend("--ft-card-title-color","",o.designSystemVariables.colorOnSurfaceHigh),elevation02:o.FtCssVariableFactory.extend("--ft-card-elevation","",o.designSystemVariables.elevation02),elevation04:o.FtCssVariableFactory.extend("--ft-card-selected-elevation","",o.designSystemVariables.elevation04)},b=e.css`
113
+ `,y={padding:e.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:e.FtCssVariableFactory.extend("--ft-card-border-radius","",e.designSystemVariables.borderRadiusM),borderStyle:e.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:e.FtCssVariableFactory.extend("--ft-card-border-color","",e.designSystemVariables.colorOutline),hoverBorderColor:e.FtCssVariableFactory.extend("--ft-card-hover-border-color","",e.designSystemVariables.colorPrimary),outlineStyle:e.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:e.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:e.FtCssVariableFactory.extend("--ft-card-outline-color","",e.designSystemVariables.colorPrimary),selectedOutlineStyle:e.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:e.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:e.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",e.designSystemVariables.colorPrimary),selectedBorderRadius:e.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",e.designSystemVariables.borderRadiusM),colorSurface:e.FtCssVariableFactory.extend("--ft-card-background-color","",e.designSystemVariables.colorSurface),colorOnSurfaceMedium:e.FtCssVariableFactory.extend("--ft-card-content-color","",e.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:e.FtCssVariableFactory.extend("--ft-card-title-color","",e.designSystemVariables.colorOnSurfaceHigh),elevation02:e.FtCssVariableFactory.extend("--ft-card-elevation","",e.designSystemVariables.elevation02),elevation04:e.FtCssVariableFactory.extend("--ft-card-selected-elevation","",e.designSystemVariables.elevation04)},b=o.css`
114
114
  :host {
115
115
  display: block;
116
116
  }
@@ -124,7 +124,7 @@
124
124
  border-style: ${y.borderStyle};
125
125
  border-width: 1px;
126
126
  border-radius: ${y.borderRadius};
127
- ${o.setVariable(s.borderRadius,y.borderRadius)};
127
+ ${e.setVariable(s.borderRadius,y.borderRadius)};
128
128
  box-shadow: ${y.elevation02};
129
129
  position: relative;
130
130
  width: 100%;
@@ -154,7 +154,7 @@
154
154
  outline-width: ${y.selectedOutlineWidth};
155
155
  outline-color: ${y.selectedOutlineColor};
156
156
  border-radius: ${y.selectedBorderRadius};
157
- ${o.setVariable(s.borderRadius,y.selectedBorderRadius)};
157
+ ${e.setVariable(s.borderRadius,y.selectedBorderRadius)};
158
158
  box-shadow: ${y.elevation04};
159
159
  }
160
160
 
@@ -188,7 +188,7 @@
188
188
  #action {
189
189
  grid-area: actions;
190
190
  }
191
- `,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 v={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","#F2700D"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140600"),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"),shadowElevation01:x.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:x.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:x.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:x.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:x.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:x.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:x.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:x.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:x.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},O={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","1.5rem"),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","500"),lineHeight:x.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:x.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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-medium-underline":{fontFamily:x.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:x.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:x.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"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")},"caption-3-medium":{fontFamily:x.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:x.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:x.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},w={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",v.colorBrand0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",v.colorRed10),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",v.colorCyan10),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",v.colorOrange10),backgroundSuccessSubtle:x.extend("--ft-background-success-subtle","Used as background of subtle success components.",v.colorGreen10),backgroundGlobalSurface:x.extend("--ft-background-global-surface","Used as app background.",v.colorWhite),backgroundGlobalOnSurface:x.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",v.colorGray10),backgroundGlobalOnSurfaceDark:x.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",v.colorGray30),contentActionPrimary:x.extend("--ft-content-action-primary","Used on label of primary action on light surface.",v.colorBrand0),contentWarningPrimary:x.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",v.colorOrange200),contentWarningIconOnly:x.extend("--ft-content-warning-icon-only","Used on warning status icons alone",v.colorOrange0),contentErrorPrimary:x.extend("--ft-content-error-primary","Used on label of error messages on light surface.",v.colorRed0),contentErrorIconOnly:x.extend("--ft-content-error-icon-only","Used on error status icons alone",v.colorRed70),contentInfoPrimary:x.extend("--ft-content-info-primary","Used on label of information messages on light surface.",v.colorCyan200),contentInfoIconOnly:x.extend("--ft-content-info-icon-only","Used on info status icons alone",v.colorCyan0),contentSuccessPrimary:x.extend("--ft-content-success-primary","Used on label of success messages on light surface.",v.colorGreen200),contentSuccessIconOnly:x.extend("--ft-content-success-icon-only","Used on success status icons alone",v.colorGreen0),contentGlobalPrimary:x.extend("--ft-content-global-primary","Used for main content on the page.",v.colorGray500),contentGlobalSecondary:x.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",v.colorGray200),contentGlobalSubtle:x.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",v.colorGray0),contentGlobalOnColor:x.extend("--ft-content-global-on-color","Used for content on a dominant color.",v.colorWhite),borderActionPrimary:x.extend("--ft-border-action-primary","Used as border for primary action components.",v.colorBrand0),borderActionFocusRing:x.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",v.colorCyan0),borderWarningPrimary:x.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",v.colorOrange200),borderWarningSubtle:x.extend("--ft-border-warning-subtle","Used as border for warning components.",v.colorOrange30),borderSuccessPrimary:x.extend("--ft-border-success-primary","Used as border for success buttons.",v.colorGreen200),borderSuccessSubtle:x.extend("--ft-border-success-subtle","Used as border for success components.",v.colorGreen30),borderErrorPrimary:x.extend("--ft-border-error-primary","Used as border for text fields in error states.",v.colorRed0),borderErrorSubtle:x.extend("--ft-border-error-subtle","Used as border for error components.",v.colorRed30),borderInfoPrimary:x.extend("--ft-border-info-primary","Used as border for buttons in info color.",v.colorCyan200),borderInfoSubtle:x.extend("--ft-border-info-subtle","Used as border for information components.",v.colorCyan30),borderGlobalPrimary:x.extend("--ft-border-global-primary","Used as border for element like input.",v.colorGray50),borderGlobalSubtle:x.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",v.colorGray30),borderInputPrimary:x.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",v.colorGray80)},N={largeHeight:x.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:x.extend("--ft-button-large-horizontal-padding","",v.spacing4),largeGap:x.extend("--ft-button-large-gap","",v.spacing2),largeBorderRadius:x.extend("--ft-button-large-border-radius","",v.borderRadiusS),largeIconSize:x.extend("--ft-button-large-icon-size","",v.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","",v.spacing3),smallGap:x.extend("--ft-button-small-gap","",v.spacing2),smallBorderRadius:x.extend("--ft-button-small-border-radius","",v.borderRadiusS),smallIconSize:x.extend("--ft-button-small-icon-size","",v.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","",w.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",w.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",w.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",w.contentGlobalOnColor),primaryHoverStateLayerOpacity:x.extend("--ft-button-primary-hover-state-layer-opacity","",v.opacity16),primaryFocusStateLayerOpacity:x.extend("--ft-button-primary-focus-state-layer-opacity","",v.opacity16),primaryActiveStateLayerOpacity:x.extend("--ft-button-primary-active-state-layer-opacity","",v.opacity24),primaryDisabledComponentOpacity:x.extend("--ft-button-primary-disabled-component-opacity","",v.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",w.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",w.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",w.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",w.contentActionPrimary),tertiaryHoverStateLayerOpacity:x.extend("--ft-button-tertiary-hover-state-layer-opacity","",v.opacity8),tertiaryFocusStateLayerOpacity:x.extend("--ft-button-tertiary-focus-state-layer-opacity","",v.opacity8),tertiaryActiveStateLayerOpacity:x.extend("--ft-button-tertiary-active-state-layer-opacity","",v.opacity16),tertiaryDisabledComponentOpacity:x.extend("--ft-button-tertiary-disabled-component-opacity","",v.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",w.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",w.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",w.contentActionPrimary),secondaryHoverStateLayerOpacity:x.extend("--ft-button-secondary-hover-state-layer-opacity","",v.opacity8),secondaryFocusStateLayerOpacity:x.extend("--ft-button-secondary-focus-state-layer-opacity","",v.opacity8),secondaryActiveStateLayerOpacity:x.extend("--ft-button-secondary-active-state-layer-opacity","",v.opacity16),secondaryDisabledComponentOpacity:x.extend("--ft-button-secondary-disabled-component-opacity","",v.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",w.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",w.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",w.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",w.contentGlobalSecondary),neutralHoverStateLayerOpacity:x.extend("--ft-button-neutral-hover-state-layer-opacity","",v.opacity8),neutralFocusStateLayerOpacity:x.extend("--ft-button-neutral-focus-state-layer-opacity","",v.opacity8),neutralActiveStateLayerOpacity:x.extend("--ft-button-neutral-active-state-layer-opacity","",v.opacity16),neutralDisabledComponentOpacity:x.extend("--ft-button-neutral-disabled-component-opacity","",v.opacity40)};x.extend("--ft-banner-icon-size","",v.iconSize5),x.create("--ft-banner-border-width","","SIZE","1px"),x.extend("--ft-banner-horizontal-padding","",v.spacing6),x.extend("--ft-banner-vertical-padding","",v.spacing6),x.extend("--ft-banner-horizontal-side-gap","",v.spacing6),x.extend("--ft-banner-horizontal-mobile-gap","",v.spacing4),x.extend("--ft-banner-vertical-mobile-gap","",v.spacing6),x.extend("--ft-banner-horizontal-middle-gap","",v.spacing20),x.extend("--ft-banner-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-banner-info-color","",w.contentInfoPrimary),x.extend("--ft-banner-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-breadcrumb-horizontal-gap","",v.spacing1),x.extend("--ft-breadcrumb-vertical-gap","",v.spacing2),x.extend("--ft-breadcrumb-current-element-color","",w.contentGlobalPrimary),x.extend("--ft-breadcrumb-icon-color","",w.contentGlobalSubtle),x.extend("--ft-page-header-horizontal-padding","",v.spacing12),x.extend("--ft-page-header-horizontal-gap","",v.spacing4),x.extend("--ft-page-header-vertical-gap","",v.spacing2),x.extend("--ft-page-header-classic-vertical-padding","",v.spacing6),x.extend("--ft-page-header-multiline-vertical-padding","",v.spacing4),x.extend("--ft-page-header-inline-vertical-padding","",v.spacing2),x.extend("--ft-page-header-background-color","",v.colorWhite),x.extend("--ft-page-header-bottom-border-color","",w.borderGlobalSubtle),x.extend("--ft-page-header-title-color","",w.contentGlobalPrimary),x.extend("--ft-page-header-subtitle-color","",w.contentGlobalSecondary),x.create("--ft-modal-small-container-width","","SIZE","600px"),x.create("--ft-modal-large-container-width","","SIZE","900px"),x.extend("--ft-modal-overlay-background-color","",v.colorGray700),x.extend("--ft-modal-overlay-opacity","",v.opacity40),x.extend("--ft-modal-shadow","",v.shadowElevation03),x.extend("--ft-modal-body-background-color","",v.colorWhite),x.extend("--ft-modal-body-color","",w.contentGlobalPrimary),x.extend("--ft-modal-body-horizontal-padding","",v.spacing6),x.extend("--ft-modal-body-vertical-padding","",v.spacing6),x.extend("--ft-modal-body-vertical-gap","",v.spacing6),x.extend("--ft-modal-container-margin","",v.spacing3),x.extend("--ft-modal-header-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-modal-header-border-color","",w.borderGlobalSubtle),x.extend("--ft-modal-header-color","",w.contentGlobalPrimary),x.extend("--ft-modal-header-trailing-icon-color","",w.contentGlobalSecondary),x.extend("--ft-modal-header-vertical-padding","",v.spacing1),x.extend("--ft-modal-header-right-padding","",v.spacing1),x.extend("--ft-modal-header-left-padding","",v.spacing6),x.extend("--ft-modal-header-gap","",v.spacing2),x.create("--ft-modal-header-border-bottom","","SIZE","1px"),x.extend("--ft-modal-border-radius","",v.borderRadiusM),x.extend("--ft-drawer-overlay-opacity","",v.opacity40),x.extend("--ft-drawer-shadow","",v.shadowElevation03),x.extend("--ft-drawer-body-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-body-horizontal-padding","",v.spacing6),x.extend("--ft-drawer-body-vertical-padding","",v.spacing6),x.extend("--ft-drawer-body-gap","",v.spacing6),x.extend("--ft-drawer-body-background-color","",v.colorWhite),x.extend("--ft-drawer-header-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-drawer-header-border-color","",w.borderGlobalSubtle),x.extend("--ft-drawer-header-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-header-trailing-icon-color","",w.contentGlobalSecondary),x.create("--ft-drawer-header-height","","SIZE","50px"),x.extend("--ft-drawer-header-horizontal-padding","",v.spacing2),x.create("--ft-drawer-header-border-width","","SIZE","1px"),x.extend("--ft-drawer-header-gap","",v.spacing3),x.extend("--ft-drawer-buttons-bar-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-drawer-buttons-bar-border-color","",w.borderGlobalSubtle),x.extend("--ft-drawer-buttons-bar-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-buttons-bar-horizontal-padding","",v.spacing4),x.extend("--ft-drawer-buttons-bar-vertical-padding","",v.spacing4),x.extend("--ft-drawer-buttons-bar-gap","",v.spacing3),x.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),x.create("--ft-drawer-container-width","","SIZE","66%"),x.create("--ft-drawer-container-min-width","","SIZE","500px"),x.create("--ft-drawer-container-max-width","","SIZE","1000px"),x.create("--ft-drawer-container-height","","SIZE","100%"),x.extend("--ft-drawer-overlay-background-color","",v.colorGray700),x.extend("--ft-text-input-field-horizontal-padding","",v.spacing4),x.extend("--ft-text-input-field-horizontal-gap","",v.spacing3),x.extend("--ft-text-input-field-vertical-gap","",v.spacing05),x.extend("--ft-text-input-field-icon-size","",v.iconSize3),x.create("--ft-text-input-field-height","","SIZE","50px"),x.extend("--ft-text-input-helper-horizontal-padding","",v.spacing4),x.extend("--ft-text-input-helper-horizontal-gap","",v.spacing1),x.extend("--ft-text-input-helper-icon-size","",v.iconSize2),x.extend("--ft-text-input-border-radius","",v.borderRadiusM),x.extend("--ft-text-input-background-color","",v.colorWhite),x.extend("--ft-text-input-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-text-input-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-text-input-label-color","",w.contentGlobalSubtle),x.extend("--ft-text-input-default-border-color","",w.borderInputPrimary),x.extend("--ft-text-input-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-text-input-default-border-width","","SIZE","1px"),x.create("--ft-text-input-error-border-width","","SIZE","2px"),x.extend("--ft-text-input-error-border-color","",w.borderErrorPrimary),x.extend("--ft-text-input-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-text-input-error-helper-icon-color","",w.contentErrorIconOnly),x.create("--ft-text-input-warning-border-width","","SIZE","2px"),x.create("--ft-text-input-focus-outline-width","","SIZE","2px"),x.extend("--ft-text-input-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),x.extend("--ft-text-input-disabled-component-opacity","",v.opacity40),x.extend("--ft-text-area-background-color","",v.colorWhite),x.extend("--ft-text-area-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-text-area-label-color","",w.contentGlobalSubtle),x.extend("--ft-text-area-default-border-color","",w.borderInputPrimary),x.extend("--ft-text-area-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-text-area-default-border-width","","SIZE","1px"),x.create("--ft-text-area-error-border-width","","SIZE","2px"),x.extend("--ft-text-area-error-border-color","",w.borderErrorPrimary),x.extend("--ft-text-area-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-text-area-error-helper-icon-color","",w.contentErrorIconOnly),x.extend("--ft-text-area-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-text-area-focus-outline-width","","SIZE","2px"),x.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),x.extend("--ft-text-area-disabled-component-opacity","",v.opacity40),x.extend("--ft-text-area-field-horizontal-left-padding","",v.spacing4),x.extend("--ft-text-area-field-horizontal-gap","",v.spacing3),x.extend("--ft-text-area-field-vertical-gap","",v.spacing05),x.create("--ft-text-area-field-min-height","","SIZE","64px"),x.extend("--ft-text-area-helper-horizontal-padding","",v.spacing4),x.extend("--ft-text-area-helper-horizontal-gap","",v.spacing1),x.extend("--ft-text-area-helper-icon-size","",v.iconSize2),x.extend("--ft-text-area-border-radius","",v.borderRadiusM),x.create("--ft-floating-menu-height","","SIZE","50px"),x.extend("--ft-floating-menu-horizontal-padding","",v.spacing4),x.extend("--ft-floating-menu-off-icon-color","",w.contentGlobalPrimary),x.extend("--ft-floating-menu-off-color","",w.contentGlobalPrimary),x.extend("--ft-floating-menu-on-color","",w.contentActionPrimary),x.extend("--ft-floating-menu-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-floating-menu-gap","",v.spacing3),x.extend("--ft-floating-menu-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),x.extend("--ft-floating-menu-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-floating-menu-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-floating-menu-active-state-layer-opacity","",v.opacity16),x.extend("--ft-floating-menu-disabled-component-opacity","",v.opacity40),x.extend("--ft-floating-menu-icon-size","",v.iconSize3),x.extend("--ft-floating-menu-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-combobox-single-select-field-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-single-select-field-horizontal-gap","",v.spacing3),x.extend("--ft-combobox-single-select-field-vertical-gap","",v.spacing05),x.extend("--ft-combobox-single-select-field-icon-size","",v.iconSize3),x.create("--ft-combobox-single-select-field-height","","SIZE","50px"),x.extend("--ft-combobox-single-select-helper-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-single-select-helper-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-single-select-helper-vertical-gap","",v.spacing1),x.extend("--ft-combobox-single-select-helper-icon-size","",v.iconSize2),x.extend("--ft-combobox-single-select-menu-vertical-gap","",v.spacing2),x.extend("--ft-combobox-single-select-border-radius","",v.borderRadiusM),x.extend("--ft-combobox-single-select-background-color","",v.colorWhite),x.extend("--ft-combobox-single-select-label-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-single-select-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-combobox-single-select-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-single-select-default-border-color","",w.borderInputPrimary),x.extend("--ft-combobox-single-select-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),x.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-error-border-color","",w.borderErrorPrimary),x.extend("--ft-combobox-single-select-error-helper-text-color","",w.contentErrorPrimary),x.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-warning-border-color","",w.borderWarningPrimary),x.extend("--ft-combobox-single-select-warning-helper-text-color","",w.contentWarningPrimary),x.extend("--ft-combobox-single-select-warning-helper-icon-color","",w.contentWarningIconOnly),x.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),x.extend("--ft-combobox-single-select-disabled-component-opacity","",v.opacity40),x.extend("--ft-combobox-multi-select-background-color","",v.colorWhite),x.extend("--ft-combobox-multi-select-label-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-multi-select-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-multi-select-default-border-color","",w.borderInputPrimary),x.extend("--ft-combobox-multi-select-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),x.extend("--ft-combobox-multi-select-error-border-color","",w.borderErrorPrimary),x.extend("--ft-combobox-multi-select-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-combobox-multi-select-error-helper-icon","",w.contentErrorIconOnly),x.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),x.extend("--ft-combobox-multi-select-warning-border-color","",w.borderWarningPrimary),x.extend("--ft-combobox-multi-select-warning-helper-text-color","",w.contentWarningPrimary),x.extend("--ft-combobox-multi-select-warning-helper-icon-color","",w.contentWarningIconOnly),x.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),x.extend("--ft-combobox-multi-select-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),x.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),x.extend("--ft-combobox-multi-select-disabled-component-opacity","",v.opacity40),x.extend("--ft-combobox-multi-select-helper-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-multi-select-helper-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-helper-vertical-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-helper-icon-size","",v.iconSize2),x.extend("--ft-combobox-multi-select-field-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-multi-select-field-horizontal-gap","",v.spacing3),x.extend("--ft-combobox-multi-select-field-vertical-gap","",v.spacing05),x.extend("--ft-combobox-multi-select-field-icon-size","",v.iconSize3),x.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),x.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-content-values-vertical-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-border-radius","",v.borderRadiusM),x.extend("--ft-popover-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-popover-horizontal-padding","",v.spacing6),x.extend("--ft-popover-vertical-padding","",v.spacing6),x.extend("--ft-popover-icon-color","",w.contentGlobalSecondary),x.extend("--ft-popover-icon-size","",v.iconSize2),x.extend("--ft-popover-title-color","",w.contentGlobalPrimary),x.extend("--ft-popover-body-color","",w.contentGlobalSecondary),x.extend("--ft-popover-link-color","",w.contentActionPrimary),x.extend("--ft-popover-gap","",v.spacing3),x.extend("--ft-popover-border-radius","",v.borderRadiusM),x.extend("--ft-popover-shadow","",v.shadowElevation02),x.extend("--ft-tabs-top-left-border-radius","",v.borderRadiusS),x.extend("--ft-tabs-top-right-border-radius","",v.borderRadiusS),x.extend("--ft-tabs-label-horizontal-padding","",v.spacing4),x.extend("--ft-tabs-label-vertical-padding","",v.spacing3),x.extend("--ft-tabs-label-gap","",v.spacing1),x.extend("--ft-tabs-off-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-off-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-off-active-state-layer-opacity","",v.opacity16),x.extend("--ft-tabs-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-tabs-off-color","",w.contentGlobalSubtle),x.extend("--ft-tabs-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-tabs-on-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-on-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-on-active-state-layer-opacity","",v.opacity16),x.extend("--ft-tabs-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-tabs-on-color","",w.contentActionPrimary),x.extend("--ft-tabs-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-tabs-icon-horizontal-padding","",v.spacing1),x.extend("--ft-tabs-icon-vertical-padding","",v.spacing4),x.create("--ft-tabs-focus-outline-width","","SIZE","2px"),x.extend("--ft-tabs-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-collapsible-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-collapsible-focus-state-layer-opacity","",v.opacity8),x.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),x.extend("--ft-collapsible-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-collapsible-active-state-layer-opacity","",v.opacity16),x.extend("--ft-collapsible-disabled-component-opacity","",v.opacity40),x.extend("--ft-collapsible-horizontal-padding","",v.spacing4),x.extend("--ft-collapsible-vertical-padding","",v.spacing3),x.extend("--ft-collapsible-color","",w.contentGlobalPrimary),x.extend("--ft-collapsible-state-layer-color","",w.contentGlobalPrimary),x.extend("--ft-collapsible-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-collapsible-border-color","",w.borderGlobalSubtle),x.extend("--ft-collapsible-icon-size","",v.iconSize3),x.extend("--ft-switch-group-horizontal-padding","",v.spacing1),x.extend("--ft-switch-group-vertical-padding","",v.spacing1),x.extend("--ft-switch-group-gap","",v.spacing1),x.extend("--ft-switch-group-background-color","",w.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",w.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",v.spacing2),x.extend("--ft-switch-label-vertical-padding","",v.spacing1),x.extend("--ft-switch-off-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-off-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-off-active-state-layer-opacity","",v.opacity16),x.extend("--ft-switch-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-switch-off-color","",w.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-switch-on-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-on-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-on-active-state-layer-opacity","",v.opacity16),x.extend("--ft-switch-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-switch-on-color","",w.contentActionPrimary),x.extend("--ft-switch-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-switch-icon-horizontal-padding","",v.spacing1),x.extend("--ft-switch-icon-vertical-padding","",v.spacing1),x.create("--ft-switch-focus-outline-width","","SIZE","2px"),x.extend("--ft-switch-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",v.borderRadiusS),x.extend("--ft-chart-1-light","for area color charts",v.colorBrand40),x.extend("--ft-chart-1-base","for line charts",v.colorBrand0),x.extend("--ft-chart-2-light","for area color charts",v.colorYellow60),x.extend("--ft-chart-2-base","for line charts",v.colorYellow100),x.extend("--ft-chart-3-light","",v.colorUltramarine40),x.extend("--ft-chart-3-base","",v.colorUltramarine70),x.extend("--ft-chart-4-light","",v.colorCyan50),x.extend("--ft-chart-4-base","",v.colorCyan100),x.extend("--ft-chart-5-light","",v.colorRed40),x.extend("--ft-chart-5-base","",v.colorRed60),x.extend("--ft-chart-6-light","",v.colorGreen40),x.extend("--ft-chart-6-base","",v.colorGreen70),x.extend("--ft-chart-7-light","",v.colorOrange70),x.extend("--ft-chart-7-base","",v.colorOrange100),x.extend("--ft-chart-8-light","",v.colorAvocado70),x.extend("--ft-chart-8-base","",v.colorAvocado200),x.extend("--ft-chart-9-light","",v.colorBrown50),x.extend("--ft-chart-9-base","",v.colorBrown200),x.extend("--ft-chart-10-light","",v.colorGray50),x.extend("--ft-chart-10-base","",v.colorGray80),x.extend("--ft-chart-monochrome-10","",v.colorBrand10),x.extend("--ft-chart-monochrome-20","",v.colorBrand20),x.extend("--ft-chart-monochrome-30","",v.colorBrand40),x.extend("--ft-chart-monochrome-40","",v.colorBrand60),x.extend("--ft-chart-monochrome-50","",v.colorBrand0),x.extend("--ft-chart-monochrome-60","",v.colorBrand200),x.extend("--ft-chip-large-horizontal-padding","",v.spacing4),x.extend("--ft-chip-large-vertical-padding","",v.spacing2),x.extend("--ft-chip-large-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-large-border-width","","SIZE","1px"),x.extend("--ft-chip-large-icon-size","",v.iconSize3),x.extend("--ft-chip-medium-horizontal-padding","",v.spacing3),x.extend("--ft-chip-medium-vertical-padding","",v.spacing1),x.extend("--ft-chip-medium-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-medium-border-width","","SIZE","1px"),x.extend("--ft-chip-medium-icon-size","",v.iconSize2),x.extend("--ft-chip-small-horizontal-padding","",v.spacing2),x.extend("--ft-chip-small-vertical-padding","",v.spacing05),x.extend("--ft-chip-small-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-small-border-width","","SIZE","1px"),x.extend("--ft-chip-small-icon-size","",v.iconSize1),x.extend("--ft-chip-neutral-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",w.contentGlobalPrimary),x.extend("--ft-chip-neutral-icon-color","",w.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",w.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",w.contentInfoPrimary),x.extend("--ft-chip-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-chip-info-border-color","",w.borderInfoSubtle),x.extend("--ft-chip-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",w.contentSuccessPrimary),x.extend("--ft-chip-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-chip-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-chip-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",w.contentWarningPrimary),x.extend("--ft-chip-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-chip-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-chip-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",w.contentErrorPrimary),x.extend("--ft-chip-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-chip-error-border-color","",w.borderErrorSubtle),x.extend("--ft-border-info-border-color","",w.borderInfoSubtle),x.create("--ft-notice-border-width","","SIZE","1px"),x.extend("--ft-notice-horizontal-padding","",v.spacing2),x.extend("--ft-notice-vertical-padding","",v.spacing1),x.extend("--ft-notice-border-radius","",v.borderRadiusS),x.extend("--ft-notice-gap","",v.spacing2),x.extend("--ft-notice-icon-size","",v.iconSize3),x.extend("--ft-notice-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",w.borderInfoSubtle),x.extend("--ft-notice-info-color","",w.contentInfoPrimary),x.extend("--ft-notice-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-notice-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-notice-warning-color","",w.contentWarningPrimary),x.extend("--ft-notice-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-notice-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-notice-error-border-color","",w.borderErrorSubtle),x.extend("--ft-notice-error-color","",w.contentErrorPrimary),x.extend("--ft-notice-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-notice-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-notice-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-notice-success-color","",w.contentSuccessPrimary),x.extend("--ft-notice-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-checkbox-color","",w.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",w.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",w.contentActionPrimary),x.extend("--ft-checkbox-checked-icon-color","",w.contentGlobalOnColor),x.extend("--ft-checkbox-checked-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-checked-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-checked-active-state-layer-opacity","",v.opacity24),x.extend("--ft-checkbox-checked-disabled-component-opacity","",v.opacity40),x.extend("--ft-checkbox-unchecked-border-color","",v.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-color","",v.colorGray80),x.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",v.opacity24),x.extend("--ft-checkbox-unchecked-disabled-component-opacity","",v.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",v.spacing3),x.extend("--ft-toggle-off-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-off-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-off-active-state-layer-opacity","",v.opacity24),x.extend("--ft-toggle-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-toggle-off-background-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-on-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-on-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-on-active-state-layer-opacity","",v.opacity24),x.extend("--ft-toggle-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-toggle-on-background-color","",w.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",w.contentActionPrimary),x.extend("--ft-toggle-color","",w.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-toggle-gap","",v.spacing3),x.extend("--ft-radio-color","",w.contentGlobalPrimary),x.extend("--ft-radio-selected-radio-color","",w.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",w.contentActionPrimary),x.extend("--ft-radio-selected-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-selected-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-selected-active-state-layer-opacity","",v.opacity24),x.extend("--ft-radio-selected-disabled-component-opacity","",v.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",w.borderInputPrimary),x.extend("--ft-radio-unselected-border-color","",w.borderInputPrimary),x.extend("--ft-radio-unselected-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-unselected-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-unselected-active-state-layer-opacity","",v.opacity24),x.extend("--ft-radio-unselected-disabled-component-opacity","",v.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",v.spacing3),x.extend("--ft-notification-icon-size","",v.iconSize4),x.extend("--ft-notification-horizontal-padding","",v.spacing4),x.extend("--ft-notification-vertical-padding","",v.spacing4),x.extend("--ft-notification-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",w.contentInfoPrimary),x.extend("--ft-notification-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-notification-info-border-color","",w.borderInfoSubtle),x.extend("--ft-notification-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",w.contentSuccessPrimary),x.extend("--ft-notification-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-notification-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-notification-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",w.contentWarningPrimary),x.extend("--ft-notification-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-notification-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-notification-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",w.contentErrorPrimary),x.extend("--ft-notification-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-notification-error-border-color","",w.borderErrorSubtle),x.extend("--ft-notification-border-radius","",v.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-leading-gap","",v.spacing2),x.extend("--ft-notification-trailing-gap","",v.spacing8),x.extend("--ft-tooltip-horizontal-padding","",v.spacing2),x.extend("--ft-tooltip-vertical-padding","",v.spacing2),x.extend("--ft-tooltip-border-radius","",v.borderRadiusS),x.extend("--ft-tooltip-color","",w.contentGlobalOnColor),x.extend("--ft-tooltip-background-color","",w.contentGlobalPrimary),x.extend("--ft-tooltip-background-opacity","",v.opacity80),x.extend("--ft-tooltip-shadow","",v.shadowElevation03),x.create("--ft-tooltip-max-width","","SIZE","256px"),x.extend("--ft-tooltip-gap","",v.spacing05);const S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),C=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:C,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},E=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),L=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),D=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",C),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",C),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),q=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",C),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=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","",C),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"),st=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",C),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"),ut=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",C),yt=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"),vt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",C),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),Et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",C),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},It=e.css`
191
+ `,m=t=>"string"==typeof t?o.unsafeCSS(t):t;class x{static create(t,e,r,i){const n=t=>m(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,e,r,i){const n=t=>r.get(null!=t?t:i),a=o.css`var(${m(t)}, ${n(i)})`;return a.name=t,a.description=e,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=e=>o.css`var(${m(t)}, ${n(e)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,e){const r=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):m(null!=e?e:t.lastResortDefaultValue()),i=o.css`var(${m(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=r,i.get=e=>o.css`var(${m(t.name)}, ${r(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const v={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","#F2700D"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140600"),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"),shadowElevation01:x.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:x.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:x.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:x.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:x.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:x.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:x.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:x.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:x.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},O={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","1.5rem"),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","500"),lineHeight:x.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:x.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:x.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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-medium-underline":{fontFamily:x.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:x.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:x.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:x.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:x.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:x.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"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")},"caption-3-medium":{fontFamily:x.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:x.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:x.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:x.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:x.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:x.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:x.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:x.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:x.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:x.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:x.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:x.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:x.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},w={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",v.colorBrand0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",v.colorRed10),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",v.colorCyan10),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",v.colorOrange10),backgroundSuccessSubtle:x.extend("--ft-background-success-subtle","Used as background of subtle success components.",v.colorGreen10),backgroundGlobalSurface:x.extend("--ft-background-global-surface","Used as app background.",v.colorWhite),backgroundGlobalOnSurface:x.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",v.colorGray10),backgroundGlobalOnSurfaceDark:x.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",v.colorGray30),contentActionPrimary:x.extend("--ft-content-action-primary","Used on label of primary action on light surface.",v.colorBrand0),contentWarningPrimary:x.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",v.colorOrange200),contentWarningIconOnly:x.extend("--ft-content-warning-icon-only","Used on warning status icons alone",v.colorOrange0),contentErrorPrimary:x.extend("--ft-content-error-primary","Used on label of error messages on light surface.",v.colorRed0),contentErrorIconOnly:x.extend("--ft-content-error-icon-only","Used on error status icons alone",v.colorRed70),contentInfoPrimary:x.extend("--ft-content-info-primary","Used on label of information messages on light surface.",v.colorCyan200),contentInfoIconOnly:x.extend("--ft-content-info-icon-only","Used on info status icons alone",v.colorCyan0),contentSuccessPrimary:x.extend("--ft-content-success-primary","Used on label of success messages on light surface.",v.colorGreen200),contentSuccessIconOnly:x.extend("--ft-content-success-icon-only","Used on success status icons alone",v.colorGreen0),contentGlobalPrimary:x.extend("--ft-content-global-primary","Used for main content on the page.",v.colorGray500),contentGlobalSecondary:x.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",v.colorGray200),contentGlobalSubtle:x.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",v.colorGray0),contentGlobalOnColor:x.extend("--ft-content-global-on-color","Used for content on a dominant color.",v.colorWhite),borderActionPrimary:x.extend("--ft-border-action-primary","Used as border for primary action components.",v.colorBrand0),borderActionFocusRing:x.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",v.colorCyan0),borderWarningPrimary:x.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",v.colorOrange200),borderWarningSubtle:x.extend("--ft-border-warning-subtle","Used as border for warning components.",v.colorOrange30),borderSuccessPrimary:x.extend("--ft-border-success-primary","Used as border for success buttons.",v.colorGreen200),borderSuccessSubtle:x.extend("--ft-border-success-subtle","Used as border for success components.",v.colorGreen30),borderErrorPrimary:x.extend("--ft-border-error-primary","Used as border for text fields in error states.",v.colorRed0),borderErrorSubtle:x.extend("--ft-border-error-subtle","Used as border for error components.",v.colorRed30),borderInfoPrimary:x.extend("--ft-border-info-primary","Used as border for buttons in info color.",v.colorCyan200),borderInfoSubtle:x.extend("--ft-border-info-subtle","Used as border for information components.",v.colorCyan30),borderGlobalPrimary:x.extend("--ft-border-global-primary","Used as border for element like input.",v.colorGray50),borderGlobalSubtle:x.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",v.colorGray30),borderInputPrimary:x.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",v.colorGray80)},S={largeHeight:x.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:x.extend("--ft-button-large-horizontal-padding","",v.spacing4),largeGap:x.extend("--ft-button-large-gap","",v.spacing2),largeBorderRadius:x.extend("--ft-button-large-border-radius","",v.borderRadiusS),largeIconSize:x.extend("--ft-button-large-icon-size","",v.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","",v.spacing3),smallGap:x.extend("--ft-button-small-gap","",v.spacing2),smallBorderRadius:x.extend("--ft-button-small-border-radius","",v.borderRadiusS),smallIconSize:x.extend("--ft-button-small-icon-size","",v.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","",w.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",w.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",w.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",w.contentGlobalOnColor),primaryHoverStateLayerOpacity:x.extend("--ft-button-primary-hover-state-layer-opacity","",v.opacity16),primaryFocusStateLayerOpacity:x.extend("--ft-button-primary-focus-state-layer-opacity","",v.opacity16),primaryActiveStateLayerOpacity:x.extend("--ft-button-primary-active-state-layer-opacity","",v.opacity24),primaryDisabledComponentOpacity:x.extend("--ft-button-primary-disabled-component-opacity","",v.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",w.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",w.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",w.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",w.contentActionPrimary),tertiaryHoverStateLayerOpacity:x.extend("--ft-button-tertiary-hover-state-layer-opacity","",v.opacity8),tertiaryFocusStateLayerOpacity:x.extend("--ft-button-tertiary-focus-state-layer-opacity","",v.opacity8),tertiaryActiveStateLayerOpacity:x.extend("--ft-button-tertiary-active-state-layer-opacity","",v.opacity16),tertiaryDisabledComponentOpacity:x.extend("--ft-button-tertiary-disabled-component-opacity","",v.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",w.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",w.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",w.contentActionPrimary),secondaryHoverStateLayerOpacity:x.extend("--ft-button-secondary-hover-state-layer-opacity","",v.opacity8),secondaryFocusStateLayerOpacity:x.extend("--ft-button-secondary-focus-state-layer-opacity","",v.opacity8),secondaryActiveStateLayerOpacity:x.extend("--ft-button-secondary-active-state-layer-opacity","",v.opacity16),secondaryDisabledComponentOpacity:x.extend("--ft-button-secondary-disabled-component-opacity","",v.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",w.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",w.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",w.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",w.contentGlobalSecondary),neutralHoverStateLayerOpacity:x.extend("--ft-button-neutral-hover-state-layer-opacity","",v.opacity8),neutralFocusStateLayerOpacity:x.extend("--ft-button-neutral-focus-state-layer-opacity","",v.opacity8),neutralActiveStateLayerOpacity:x.extend("--ft-button-neutral-active-state-layer-opacity","",v.opacity16),neutralDisabledComponentOpacity:x.extend("--ft-button-neutral-disabled-component-opacity","",v.opacity40)};x.extend("--ft-banner-icon-size","",v.iconSize5),x.create("--ft-banner-border-width","","SIZE","1px"),x.extend("--ft-banner-horizontal-padding","",v.spacing6),x.extend("--ft-banner-vertical-padding","",v.spacing6),x.extend("--ft-banner-horizontal-side-gap","",v.spacing6),x.extend("--ft-banner-horizontal-mobile-gap","",v.spacing4),x.extend("--ft-banner-vertical-mobile-gap","",v.spacing6),x.extend("--ft-banner-horizontal-middle-gap","",v.spacing20),x.extend("--ft-banner-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-banner-info-color","",w.contentInfoPrimary),x.extend("--ft-banner-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-breadcrumb-horizontal-gap","",v.spacing1),x.extend("--ft-breadcrumb-vertical-gap","",v.spacing2),x.extend("--ft-breadcrumb-current-element-color","",w.contentGlobalPrimary),x.extend("--ft-breadcrumb-icon-color","",w.contentGlobalSubtle),x.extend("--ft-page-header-horizontal-padding","",v.spacing12),x.extend("--ft-page-header-horizontal-gap","",v.spacing4),x.extend("--ft-page-header-vertical-gap","",v.spacing2),x.extend("--ft-page-header-classic-vertical-padding","",v.spacing6),x.extend("--ft-page-header-multiline-vertical-padding","",v.spacing4),x.extend("--ft-page-header-inline-vertical-padding","",v.spacing2),x.extend("--ft-page-header-background-color","",v.colorWhite),x.extend("--ft-page-header-bottom-border-color","",w.borderGlobalSubtle),x.extend("--ft-page-header-title-color","",w.contentGlobalPrimary),x.extend("--ft-page-header-subtitle-color","",w.contentGlobalSecondary),x.create("--ft-modal-small-container-width","","SIZE","600px"),x.create("--ft-modal-large-container-width","","SIZE","900px"),x.extend("--ft-modal-overlay-background-color","",v.colorGray700),x.extend("--ft-modal-overlay-opacity","",v.opacity40),x.extend("--ft-modal-shadow","",v.shadowElevation03),x.extend("--ft-modal-body-background-color","",v.colorWhite),x.extend("--ft-modal-body-color","",w.contentGlobalPrimary),x.extend("--ft-modal-body-horizontal-padding","",v.spacing6),x.extend("--ft-modal-body-vertical-padding","",v.spacing6),x.extend("--ft-modal-body-vertical-gap","",v.spacing6),x.extend("--ft-modal-container-margin","",v.spacing3),x.extend("--ft-modal-header-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-modal-header-border-color","",w.borderGlobalSubtle),x.extend("--ft-modal-header-color","",w.contentGlobalPrimary),x.extend("--ft-modal-header-trailing-icon-color","",w.contentGlobalSecondary),x.extend("--ft-modal-header-vertical-padding","",v.spacing1),x.extend("--ft-modal-header-right-padding","",v.spacing1),x.extend("--ft-modal-header-left-padding","",v.spacing6),x.extend("--ft-modal-header-gap","",v.spacing2),x.create("--ft-modal-header-border-bottom","","SIZE","1px"),x.extend("--ft-modal-border-radius","",v.borderRadiusM),x.extend("--ft-drawer-overlay-opacity","",v.opacity40),x.extend("--ft-drawer-shadow","",v.shadowElevation03),x.extend("--ft-drawer-body-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-body-horizontal-padding","",v.spacing6),x.extend("--ft-drawer-body-vertical-padding","",v.spacing6),x.extend("--ft-drawer-body-gap","",v.spacing6),x.extend("--ft-drawer-body-background-color","",v.colorWhite),x.extend("--ft-drawer-header-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-drawer-header-border-color","",w.borderGlobalSubtle),x.extend("--ft-drawer-header-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-header-trailing-icon-color","",w.contentGlobalSecondary),x.create("--ft-drawer-header-height","","SIZE","50px"),x.extend("--ft-drawer-header-horizontal-padding","",v.spacing2),x.create("--ft-drawer-header-border-width","","SIZE","1px"),x.extend("--ft-drawer-header-gap","",v.spacing3),x.extend("--ft-drawer-buttons-bar-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-drawer-buttons-bar-border-color","",w.borderGlobalSubtle),x.extend("--ft-drawer-buttons-bar-color","",w.contentGlobalPrimary),x.extend("--ft-drawer-buttons-bar-horizontal-padding","",v.spacing4),x.extend("--ft-drawer-buttons-bar-vertical-padding","",v.spacing4),x.extend("--ft-drawer-buttons-bar-gap","",v.spacing3),x.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),x.create("--ft-drawer-container-width","","SIZE","66%"),x.create("--ft-drawer-container-min-width","","SIZE","500px"),x.create("--ft-drawer-container-max-width","","SIZE","1000px"),x.create("--ft-drawer-container-height","","SIZE","100%"),x.extend("--ft-drawer-overlay-background-color","",v.colorGray700),x.extend("--ft-text-input-field-horizontal-padding","",v.spacing4),x.extend("--ft-text-input-field-horizontal-gap","",v.spacing3),x.extend("--ft-text-input-field-vertical-gap","",v.spacing05),x.extend("--ft-text-input-field-icon-size","",v.iconSize3),x.create("--ft-text-input-field-height","","SIZE","50px"),x.extend("--ft-text-input-helper-horizontal-padding","",v.spacing4),x.extend("--ft-text-input-helper-horizontal-gap","",v.spacing1),x.extend("--ft-text-input-helper-icon-size","",v.iconSize2),x.extend("--ft-text-input-border-radius","",v.borderRadiusM),x.extend("--ft-text-input-background-color","",v.colorWhite),x.extend("--ft-text-input-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-text-input-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-text-input-label-color","",w.contentGlobalSubtle),x.extend("--ft-text-input-default-border-color","",w.borderInputPrimary),x.extend("--ft-text-input-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-text-input-default-border-width","","SIZE","1px"),x.create("--ft-text-input-error-border-width","","SIZE","2px"),x.extend("--ft-text-input-error-border-color","",w.borderErrorPrimary),x.extend("--ft-text-input-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-text-input-error-helper-icon-color","",w.contentErrorIconOnly),x.create("--ft-text-input-warning-border-width","","SIZE","2px"),x.create("--ft-text-input-focus-outline-width","","SIZE","2px"),x.extend("--ft-text-input-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),x.extend("--ft-text-input-disabled-component-opacity","",v.opacity40),x.extend("--ft-text-area-background-color","",v.colorWhite),x.extend("--ft-text-area-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-text-area-label-color","",w.contentGlobalSubtle),x.extend("--ft-text-area-default-border-color","",w.borderInputPrimary),x.extend("--ft-text-area-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-text-area-default-border-width","","SIZE","1px"),x.create("--ft-text-area-error-border-width","","SIZE","2px"),x.extend("--ft-text-area-error-border-color","",w.borderErrorPrimary),x.extend("--ft-text-area-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-text-area-error-helper-icon-color","",w.contentErrorIconOnly),x.extend("--ft-text-area-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-text-area-focus-outline-width","","SIZE","2px"),x.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),x.extend("--ft-text-area-disabled-component-opacity","",v.opacity40),x.extend("--ft-text-area-field-horizontal-left-padding","",v.spacing4),x.extend("--ft-text-area-field-horizontal-gap","",v.spacing3),x.extend("--ft-text-area-field-vertical-gap","",v.spacing05),x.create("--ft-text-area-field-min-height","","SIZE","64px"),x.extend("--ft-text-area-helper-horizontal-padding","",v.spacing4),x.extend("--ft-text-area-helper-horizontal-gap","",v.spacing1),x.extend("--ft-text-area-helper-icon-size","",v.iconSize2),x.extend("--ft-text-area-border-radius","",v.borderRadiusM),x.create("--ft-floating-menu-height","","SIZE","50px"),x.extend("--ft-floating-menu-horizontal-padding","",v.spacing4),x.extend("--ft-floating-menu-off-icon-color","",w.contentGlobalPrimary),x.extend("--ft-floating-menu-off-color","",w.contentGlobalPrimary),x.extend("--ft-floating-menu-on-color","",w.contentActionPrimary),x.extend("--ft-floating-menu-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-floating-menu-gap","",v.spacing3),x.extend("--ft-floating-menu-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),x.extend("--ft-floating-menu-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-floating-menu-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-floating-menu-active-state-layer-opacity","",v.opacity16),x.extend("--ft-floating-menu-disabled-component-opacity","",v.opacity40),x.extend("--ft-floating-menu-icon-size","",v.iconSize3),x.extend("--ft-floating-menu-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-combobox-single-select-field-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-single-select-field-horizontal-gap","",v.spacing3),x.extend("--ft-combobox-single-select-field-vertical-gap","",v.spacing05),x.extend("--ft-combobox-single-select-field-icon-size","",v.iconSize3),x.create("--ft-combobox-single-select-field-height","","SIZE","50px"),x.extend("--ft-combobox-single-select-helper-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-single-select-helper-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-single-select-helper-vertical-gap","",v.spacing1),x.extend("--ft-combobox-single-select-helper-icon-size","",v.iconSize2),x.extend("--ft-combobox-single-select-menu-vertical-gap","",v.spacing2),x.extend("--ft-combobox-single-select-border-radius","",v.borderRadiusM),x.extend("--ft-combobox-single-select-background-color","",v.colorWhite),x.extend("--ft-combobox-single-select-label-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-single-select-content-value-color","",w.contentGlobalPrimary),x.extend("--ft-combobox-single-select-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-single-select-default-border-color","",w.borderInputPrimary),x.extend("--ft-combobox-single-select-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),x.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-error-border-color","",w.borderErrorPrimary),x.extend("--ft-combobox-single-select-error-helper-text-color","",w.contentErrorPrimary),x.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-warning-border-color","",w.borderWarningPrimary),x.extend("--ft-combobox-single-select-warning-helper-text-color","",w.contentWarningPrimary),x.extend("--ft-combobox-single-select-warning-helper-icon-color","",w.contentWarningIconOnly),x.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),x.extend("--ft-combobox-single-select-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),x.extend("--ft-combobox-single-select-disabled-component-opacity","",v.opacity40),x.extend("--ft-combobox-multi-select-background-color","",v.colorWhite),x.extend("--ft-combobox-multi-select-label-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-multi-select-trailing-icon-color","",w.contentGlobalSubtle),x.extend("--ft-combobox-multi-select-default-border-color","",w.borderInputPrimary),x.extend("--ft-combobox-multi-select-default-helper-text-color","",w.contentGlobalSubtle),x.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),x.extend("--ft-combobox-multi-select-error-border-color","",w.borderErrorPrimary),x.extend("--ft-combobox-multi-select-error-helper-text-color","",w.contentErrorPrimary),x.extend("--ft-combobox-multi-select-error-helper-icon","",w.contentErrorIconOnly),x.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),x.extend("--ft-combobox-multi-select-warning-border-color","",w.borderWarningPrimary),x.extend("--ft-combobox-multi-select-warning-helper-text-color","",w.contentWarningPrimary),x.extend("--ft-combobox-multi-select-warning-helper-icon-color","",w.contentWarningIconOnly),x.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),x.extend("--ft-combobox-multi-select-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),x.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),x.extend("--ft-combobox-multi-select-disabled-component-opacity","",v.opacity40),x.extend("--ft-combobox-multi-select-helper-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-multi-select-helper-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-helper-vertical-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-helper-icon-size","",v.iconSize2),x.extend("--ft-combobox-multi-select-field-horizontal-padding","",v.spacing4),x.extend("--ft-combobox-multi-select-field-horizontal-gap","",v.spacing3),x.extend("--ft-combobox-multi-select-field-vertical-gap","",v.spacing05),x.extend("--ft-combobox-multi-select-field-icon-size","",v.iconSize3),x.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),x.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-content-values-vertical-gap","",v.spacing1),x.extend("--ft-combobox-multi-select-border-radius","",v.borderRadiusM),x.extend("--ft-popover-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-popover-horizontal-padding","",v.spacing6),x.extend("--ft-popover-vertical-padding","",v.spacing6),x.extend("--ft-popover-icon-color","",w.contentGlobalSecondary),x.extend("--ft-popover-icon-size","",v.iconSize2),x.extend("--ft-popover-title-color","",w.contentGlobalPrimary),x.extend("--ft-popover-body-color","",w.contentGlobalSecondary),x.extend("--ft-popover-link-color","",w.contentActionPrimary),x.extend("--ft-popover-gap","",v.spacing3),x.extend("--ft-popover-border-radius","",v.borderRadiusM),x.extend("--ft-popover-shadow","",v.shadowElevation02),x.extend("--ft-tabs-top-left-border-radius","",v.borderRadiusS),x.extend("--ft-tabs-top-right-border-radius","",v.borderRadiusS),x.extend("--ft-tabs-label-horizontal-padding","",v.spacing4),x.extend("--ft-tabs-label-vertical-padding","",v.spacing3),x.extend("--ft-tabs-label-gap","",v.spacing1),x.extend("--ft-tabs-off-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-off-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-off-active-state-layer-opacity","",v.opacity16),x.extend("--ft-tabs-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-tabs-off-color","",w.contentGlobalSubtle),x.extend("--ft-tabs-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-tabs-on-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-on-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-tabs-on-active-state-layer-opacity","",v.opacity16),x.extend("--ft-tabs-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-tabs-on-color","",w.contentActionPrimary),x.extend("--ft-tabs-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-tabs-icon-horizontal-padding","",v.spacing1),x.extend("--ft-tabs-icon-vertical-padding","",v.spacing4),x.create("--ft-tabs-focus-outline-width","","SIZE","2px"),x.extend("--ft-tabs-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-collapsible-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-collapsible-focus-state-layer-opacity","",v.opacity8),x.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),x.extend("--ft-collapsible-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-collapsible-active-state-layer-opacity","",v.opacity16),x.extend("--ft-collapsible-disabled-component-opacity","",v.opacity40),x.extend("--ft-collapsible-horizontal-padding","",v.spacing4),x.extend("--ft-collapsible-vertical-padding","",v.spacing3),x.extend("--ft-collapsible-color","",w.contentGlobalPrimary),x.extend("--ft-collapsible-state-layer-color","",w.contentGlobalPrimary),x.extend("--ft-collapsible-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-collapsible-border-color","",w.borderGlobalSubtle),x.extend("--ft-collapsible-icon-size","",v.iconSize3),x.extend("--ft-switch-group-horizontal-padding","",v.spacing1),x.extend("--ft-switch-group-vertical-padding","",v.spacing1),x.extend("--ft-switch-group-gap","",v.spacing1),x.extend("--ft-switch-group-background-color","",w.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",w.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",v.spacing2),x.extend("--ft-switch-label-vertical-padding","",v.spacing1),x.extend("--ft-switch-off-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-off-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-off-active-state-layer-opacity","",v.opacity16),x.extend("--ft-switch-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-switch-off-color","",w.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-switch-on-hover-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-on-focus-state-layer-opacity","",v.opacity8),x.extend("--ft-switch-on-active-state-layer-opacity","",v.opacity16),x.extend("--ft-switch-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-switch-on-color","",w.contentActionPrimary),x.extend("--ft-switch-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-switch-icon-horizontal-padding","",v.spacing1),x.extend("--ft-switch-icon-vertical-padding","",v.spacing1),x.create("--ft-switch-focus-outline-width","","SIZE","2px"),x.extend("--ft-switch-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",v.borderRadiusS),x.extend("--ft-chart-1-light","for area color charts",v.colorBrand40),x.extend("--ft-chart-1-base","for line charts",v.colorBrand0),x.extend("--ft-chart-2-light","for area color charts",v.colorYellow60),x.extend("--ft-chart-2-base","for line charts",v.colorYellow100),x.extend("--ft-chart-3-light","",v.colorUltramarine40),x.extend("--ft-chart-3-base","",v.colorUltramarine70),x.extend("--ft-chart-4-light","",v.colorCyan50),x.extend("--ft-chart-4-base","",v.colorCyan100),x.extend("--ft-chart-5-light","",v.colorRed40),x.extend("--ft-chart-5-base","",v.colorRed60),x.extend("--ft-chart-6-light","",v.colorGreen40),x.extend("--ft-chart-6-base","",v.colorGreen70),x.extend("--ft-chart-7-light","",v.colorOrange70),x.extend("--ft-chart-7-base","",v.colorOrange100),x.extend("--ft-chart-8-light","",v.colorAvocado70),x.extend("--ft-chart-8-base","",v.colorAvocado200),x.extend("--ft-chart-9-light","",v.colorBrown50),x.extend("--ft-chart-9-base","",v.colorBrown200),x.extend("--ft-chart-10-light","",v.colorGray50),x.extend("--ft-chart-10-base","",v.colorGray80),x.extend("--ft-chart-monochrome-10","",v.colorBrand10),x.extend("--ft-chart-monochrome-20","",v.colorBrand20),x.extend("--ft-chart-monochrome-30","",v.colorBrand40),x.extend("--ft-chart-monochrome-40","",v.colorBrand60),x.extend("--ft-chart-monochrome-50","",v.colorBrand0),x.extend("--ft-chart-monochrome-60","",v.colorBrand200),x.extend("--ft-chip-large-horizontal-padding","",v.spacing4),x.extend("--ft-chip-large-vertical-padding","",v.spacing2),x.extend("--ft-chip-large-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-large-border-width","","SIZE","1px"),x.extend("--ft-chip-large-icon-size","",v.iconSize3),x.extend("--ft-chip-medium-horizontal-padding","",v.spacing3),x.extend("--ft-chip-medium-vertical-padding","",v.spacing1),x.extend("--ft-chip-medium-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-medium-border-width","","SIZE","1px"),x.extend("--ft-chip-medium-icon-size","",v.iconSize2),x.extend("--ft-chip-small-horizontal-padding","",v.spacing2),x.extend("--ft-chip-small-vertical-padding","",v.spacing05),x.extend("--ft-chip-small-gap","",v.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","",v.borderRadiusPill),x.create("--ft-chip-small-border-width","","SIZE","1px"),x.extend("--ft-chip-small-icon-size","",v.iconSize1),x.extend("--ft-chip-neutral-background-color","",w.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",w.contentGlobalPrimary),x.extend("--ft-chip-neutral-icon-color","",w.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",w.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",w.contentInfoPrimary),x.extend("--ft-chip-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-chip-info-border-color","",w.borderInfoSubtle),x.extend("--ft-chip-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",w.contentSuccessPrimary),x.extend("--ft-chip-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-chip-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-chip-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",w.contentWarningPrimary),x.extend("--ft-chip-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-chip-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-chip-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",w.contentErrorPrimary),x.extend("--ft-chip-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-chip-error-border-color","",w.borderErrorSubtle),x.extend("--ft-border-info-border-color","",w.borderInfoSubtle),x.create("--ft-notice-border-width","","SIZE","1px"),x.extend("--ft-notice-horizontal-padding","",v.spacing2),x.extend("--ft-notice-vertical-padding","",v.spacing1),x.extend("--ft-notice-border-radius","",v.borderRadiusS),x.extend("--ft-notice-gap","",v.spacing2),x.extend("--ft-notice-icon-size","",v.iconSize3),x.extend("--ft-notice-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",w.borderInfoSubtle),x.extend("--ft-notice-info-color","",w.contentInfoPrimary),x.extend("--ft-notice-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-notice-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-notice-warning-color","",w.contentWarningPrimary),x.extend("--ft-notice-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-notice-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-notice-error-border-color","",w.borderErrorSubtle),x.extend("--ft-notice-error-color","",w.contentErrorPrimary),x.extend("--ft-notice-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-notice-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-notice-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-notice-success-color","",w.contentSuccessPrimary),x.extend("--ft-notice-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-checkbox-color","",w.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",w.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",w.contentActionPrimary),x.extend("--ft-checkbox-checked-icon-color","",w.contentGlobalOnColor),x.extend("--ft-checkbox-checked-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-checked-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-checked-active-state-layer-opacity","",v.opacity24),x.extend("--ft-checkbox-checked-disabled-component-opacity","",v.opacity40),x.extend("--ft-checkbox-unchecked-border-color","",v.colorGray80),x.extend("--ft-checkbox-unchecked-state-layer-color","",v.colorGray80),x.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",v.opacity24),x.extend("--ft-checkbox-unchecked-disabled-component-opacity","",v.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",v.spacing3),x.extend("--ft-toggle-off-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-off-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-off-active-state-layer-opacity","",v.opacity24),x.extend("--ft-toggle-off-disabled-component-opacity","",v.opacity40),x.extend("--ft-toggle-off-background-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",w.contentGlobalSubtle),x.extend("--ft-toggle-on-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-on-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-toggle-on-active-state-layer-opacity","",v.opacity24),x.extend("--ft-toggle-on-disabled-component-opacity","",v.opacity40),x.extend("--ft-toggle-on-background-color","",w.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",w.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",w.contentActionPrimary),x.extend("--ft-toggle-color","",w.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",w.borderActionFocusRing),x.extend("--ft-toggle-gap","",v.spacing3),x.extend("--ft-radio-color","",w.contentGlobalPrimary),x.extend("--ft-radio-selected-radio-color","",w.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",w.contentActionPrimary),x.extend("--ft-radio-selected-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-selected-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-selected-active-state-layer-opacity","",v.opacity24),x.extend("--ft-radio-selected-disabled-component-opacity","",v.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",w.borderInputPrimary),x.extend("--ft-radio-unselected-border-color","",w.borderInputPrimary),x.extend("--ft-radio-unselected-hover-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-unselected-focus-state-layer-opacity","",v.opacity16),x.extend("--ft-radio-unselected-active-state-layer-opacity","",v.opacity24),x.extend("--ft-radio-unselected-disabled-component-opacity","",v.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",w.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",v.spacing3),x.extend("--ft-notification-icon-size","",v.iconSize4),x.extend("--ft-notification-horizontal-padding","",v.spacing4),x.extend("--ft-notification-vertical-padding","",v.spacing4),x.extend("--ft-notification-info-background-color","",w.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",w.contentInfoPrimary),x.extend("--ft-notification-info-icon-color","",w.contentInfoIconOnly),x.extend("--ft-notification-info-border-color","",w.borderInfoSubtle),x.extend("--ft-notification-success-background-color","",w.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",w.contentSuccessPrimary),x.extend("--ft-notification-success-icon-color","",w.contentSuccessIconOnly),x.extend("--ft-notification-success-border-color","",w.borderSuccessSubtle),x.extend("--ft-notification-warning-background-color","",w.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",w.contentWarningPrimary),x.extend("--ft-notification-warning-icon-color","",w.contentWarningIconOnly),x.extend("--ft-notification-warning-border-color","",w.borderWarningSubtle),x.extend("--ft-notification-error-background-color","",w.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",w.contentErrorPrimary),x.extend("--ft-notification-error-icon-color","",w.contentErrorIconOnly),x.extend("--ft-notification-error-border-color","",w.borderErrorSubtle),x.extend("--ft-notification-border-radius","",v.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-leading-gap","",v.spacing2),x.extend("--ft-notification-trailing-gap","",v.spacing8),x.extend("--ft-tooltip-horizontal-padding","",v.spacing2),x.extend("--ft-tooltip-vertical-padding","",v.spacing2),x.extend("--ft-tooltip-border-radius","",v.borderRadiusS),x.extend("--ft-tooltip-color","",w.contentGlobalOnColor),x.extend("--ft-tooltip-background-color","",w.contentGlobalPrimary),x.extend("--ft-tooltip-background-opacity","",v.opacity80),x.extend("--ft-tooltip-shadow","",v.shadowElevation03),x.create("--ft-tooltip-max-width","","SIZE","256px"),x.extend("--ft-tooltip-gap","",v.spacing05);const N=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),C=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),$={fontFamily:C,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},E=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),I=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),R=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),U=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),L=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),W=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),z=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),Z=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),K=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),A=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),D=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),F=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",C),B=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),T=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),H=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),P=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),M=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",C),G=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),_=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),q=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),V=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),Q=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",C),X=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),tt=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),et=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),ot=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),rt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",C),it=e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),nt=e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),at=e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lt=e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),st=e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",C),pt=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),dt=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),ht=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),ut=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),gt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",C),yt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),bt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),mt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),xt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),vt=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",C),wt=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),St=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),Nt=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),Ct=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),Et={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",C),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},It=o.css`
192
192
  .ft-typography--title {
193
193
  font-family: ${E};
194
194
  font-size: ${I};
@@ -197,7 +197,7 @@
197
197
  line-height: ${U};
198
198
  text-transform: ${L};
199
199
  }
200
- `,Rt=e.css`
200
+ `,Rt=o.css`
201
201
  .ft-typography--title-dense {
202
202
  font-family: ${W};
203
203
  font-size: ${z};
@@ -206,16 +206,16 @@
206
206
  line-height: ${A};
207
207
  text-transform: ${D};
208
208
  }
209
- `,kt=e.css`
209
+ `,kt=o.css`
210
210
  .ft-typography--subtitle1 {
211
- font-family: ${B};
212
- font-size: ${F};
211
+ font-family: ${F};
212
+ font-size: ${B};
213
213
  font-weight: ${T};
214
214
  letter-spacing: ${H};
215
215
  line-height: ${P};
216
216
  text-transform: ${M};
217
217
  }
218
- `,Ut=e.css`
218
+ `,Ut=o.css`
219
219
  .ft-typography--subtitle2 {
220
220
  font-family: ${j};
221
221
  font-size: ${G};
@@ -225,16 +225,16 @@
225
225
  text-transform: ${V};
226
226
  }
227
227
 
228
- `,Lt=e.css`
228
+ `,Lt=o.css`
229
229
  .ft-typography--body1 {
230
230
  font-family: ${Q};
231
231
  font-size: ${X};
232
232
  font-weight: ${J};
233
233
  letter-spacing: ${tt};
234
- line-height: ${ot};
235
- text-transform: ${et};
234
+ line-height: ${et};
235
+ text-transform: ${ot};
236
236
  }
237
- `,Wt=e.css`
237
+ `,Wt=o.css`
238
238
  .ft-typography--body2 {
239
239
  font-family: ${rt};
240
240
  font-size: ${it};
@@ -243,7 +243,7 @@
243
243
  line-height: ${lt};
244
244
  text-transform: ${st};
245
245
  }
246
- `,zt=e.css`
246
+ `,zt=o.css`
247
247
  .ft-typography--caption {
248
248
  font-family: ${ct};
249
249
  font-size: ${pt};
@@ -252,7 +252,7 @@
252
252
  line-height: ${ht};
253
253
  text-transform: ${ut};
254
254
  }
255
- `,Zt=e.css`
255
+ `,Zt=o.css`
256
256
  .ft-typography--breadcrumb {
257
257
  font-family: ${gt};
258
258
  font-size: ${yt};
@@ -261,16 +261,16 @@
261
261
  line-height: ${xt};
262
262
  text-transform: ${vt};
263
263
  }
264
- `,Kt=e.css`
264
+ `,Kt=o.css`
265
265
  .ft-typography--overline {
266
266
  font-family: ${Ot};
267
267
  font-size: ${wt};
268
- font-weight: ${Nt};
269
- letter-spacing: ${St};
268
+ font-weight: ${St};
269
+ letter-spacing: ${Nt};
270
270
  line-height: ${Ct};
271
271
  text-transform: ${$t};
272
272
  }
273
- `,At=e.css`
273
+ `,At=o.css`
274
274
  .ft-typography--button {
275
275
  font-family: ${Et.fontFamily};
276
276
  font-size: ${Et.fontSize};
@@ -279,20 +279,20 @@
279
279
  line-height: ${Et.lineHeight};
280
280
  text-transform: ${Et.textTransform};
281
281
  }
282
- `,Dt=e.css`
282
+ `,Dt=o.css`
283
283
  .ft-typography {
284
284
  vertical-align: inherit;
285
285
  }
286
- `,Bt=[Object.keys(O).map((t=>function(t){const o=O[t];return e.css`
287
- .ft-typography--${e.unsafeCSS(t)} {
288
- font-family: ${o.fontFamily};
289
- font-size: ${o.fontSize};
290
- font-weight: ${o.fontWeight};
291
- letter-spacing: ${o.letterSpacing};
292
- line-height: ${o.lineHeight};
293
- text-transform: ${o.textCase};
286
+ `,Ft=[Object.keys(O).map((t=>function(t){const e=O[t];return o.css`
287
+ .ft-typography--${o.unsafeCSS(t)} {
288
+ font-family: ${e.fontFamily};
289
+ font-size: ${e.fontSize};
290
+ font-weight: ${e.fontWeight};
291
+ letter-spacing: ${e.letterSpacing};
292
+ line-height: ${e.lineHeight};
293
+ text-transform: ${e.textCase};
294
294
  }
295
- `}(t)))],Ft={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tt=e.css`
295
+ `}(t)))],Bt={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tt=o.css`
296
296
  :host {
297
297
  line-height: 0;
298
298
  }
@@ -301,8 +301,8 @@
301
301
  display: inline-block;
302
302
  position: relative;
303
303
 
304
- width: ${Ft.size};
305
- height: ${Ft.size};
304
+ width: ${Bt.size};
305
+ height: ${Bt.size};
306
306
  }
307
307
 
308
308
  .ft-loader div {
@@ -311,7 +311,7 @@
311
311
  width: 25%;
312
312
  height: 25%;
313
313
  border-radius: 50%;
314
- background: ${Ft.color};
314
+ background: ${Bt.color};
315
315
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
316
316
  }
317
317
 
@@ -358,10 +358,10 @@
358
358
  transform: translate(0, 0);
359
359
  }
360
360
  100% {
361
- transform: translate(calc(0.35 * ${Ft.size}), 0);
361
+ transform: translate(calc(0.35 * ${Bt.size}), 0);
362
362
  }
363
363
  }
364
- `,Ht={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pt=e.css`
364
+ `,Ht={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pt=o.css`
365
365
  :host, i.ft-icon {
366
366
  display: inline-flex;
367
367
  align-items: center;
@@ -409,7 +409,7 @@
409
409
  .ft-icon--material {
410
410
  font-family: ${Ht.materialFontFamily}, "Material Icons", sans-serif;
411
411
  }
412
- `,Mt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),jt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Mt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Et.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Mt),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Gt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),_t={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Gt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Gt)},qt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Yt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Vt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Xt=[e.css`
412
+ `,Mt=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),jt={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Mt,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Et.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Mt),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Gt=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),_t={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Gt,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Gt)},qt=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Yt=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Vt=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qt=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Xt=[o.css`
413
413
  :host {
414
414
  display: inline-block;
415
415
  max-width: 100%;
@@ -451,8 +451,8 @@
451
451
 
452
452
  --ft-button-internal-line-height: max(calc(${jt.fontSize} + 2px), ${jt.iconSize});
453
453
  --ft-button-internal-color: ${jt.color};
454
- ${o.setVariable(Ht.size,jt.iconSize)};
455
- ${o.setVariable(s.color,jt.rippleColor)};
454
+ ${e.setVariable(Ht.size,jt.iconSize)};
455
+ ${e.setVariable(s.color,jt.rippleColor)};
456
456
 
457
457
  border-radius: ${jt.borderRadius};
458
458
  padding: ${jt.verticalPadding} ${jt.horizontalPadding};
@@ -496,7 +496,7 @@
496
496
  .ft-button.ft-button--primary {
497
497
  background-color: ${_t.backgroundColor};
498
498
  --ft-button-internal-color: ${_t.color};
499
- ${o.setVariable(s.color,_t.rippleColor)};
499
+ ${e.setVariable(s.color,_t.rippleColor)};
500
500
  }
501
501
 
502
502
  .ft-button:focus {
@@ -510,8 +510,8 @@
510
510
  text-overflow: ellipsis;
511
511
  display: block;
512
512
  margin: 0 ${jt.iconPadding};
513
- ${o.setVariable(Et.fontSize,"1em")};
514
- ${o.setVariable(Et.lineHeight,"var(--ft-button-internal-line-height)")};
513
+ ${e.setVariable(Et.fontSize,"1em")};
514
+ ${e.setVariable(Et.lineHeight,"var(--ft-button-internal-line-height)")};
515
515
  }
516
516
 
517
517
  .ft-button--dense .ft-button--label {
@@ -543,10 +543,10 @@
543
543
  }
544
544
 
545
545
  ft-loader {
546
- ${o.setVariable(Ft.size,jt.iconSize)};
547
- ${o.setVariable(Ft.color,"var(--ft-button-internal-color)")};
546
+ ${e.setVariable(Bt.size,jt.iconSize)};
547
+ ${e.setVariable(Bt.color,"var(--ft-button-internal-color)")};
548
548
  }
549
- `,o.noTextSelect];var Jt=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 to extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),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 e.html`
549
+ `,e.noTextSelect];var Jt=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class te extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{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 o.html`
550
550
  <style>
551
551
  .ft-ripple .ft-ripple--effect {
552
552
  left: ${this.originX}px;
@@ -557,26 +557,26 @@
557
557
  <div class="ft-ripple--background"></div>
558
558
  <div class="ft-ripple--effect"></div>
559
559
  </div>
560
- `}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()}}to.elementDefinitions={},to.styles=g,Jt([r.property({type:Boolean})],to.prototype,"primary",void 0),Jt([r.property({type:Boolean})],to.prototype,"secondary",void 0),Jt([r.property({type:Boolean})],to.prototype,"unbounded",void 0),Jt([r.property({type:Boolean})],to.prototype,"activated",void 0),Jt([r.property({type:Boolean})],to.prototype,"selected",void 0),Jt([r.property({type:Boolean})],to.prototype,"disabled",void 0),Jt([r.state()],to.prototype,"hovered",void 0),Jt([r.state()],to.prototype,"focused",void 0),Jt([r.state()],to.prototype,"pressed",void 0),Jt([r.state()],to.prototype,"rippling",void 0),Jt([r.state()],to.prototype,"originX",void 0),Jt([r.state()],to.prototype,"originY",void 0),Jt([r.query(".ft-ripple")],to.prototype,"ripple",void 0),Jt([r.query(".ft-ripple--effect")],to.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(to);
560
+ `}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("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",o,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",o,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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}te.elementDefinitions={},te.styles=g,Jt([r.property({type:Boolean})],te.prototype,"primary",void 0),Jt([r.property({type:Boolean})],te.prototype,"secondary",void 0),Jt([r.property({type:Boolean})],te.prototype,"unbounded",void 0),Jt([r.property({type:Boolean})],te.prototype,"activated",void 0),Jt([r.property({type:Boolean})],te.prototype,"selected",void 0),Jt([r.property({type:Boolean})],te.prototype,"disabled",void 0),Jt([r.state()],te.prototype,"hovered",void 0),Jt([r.state()],te.prototype,"focused",void 0),Jt([r.state()],te.prototype,"pressed",void 0),Jt([r.state()],te.prototype,"rippling",void 0),Jt([r.state()],te.prototype,"originX",void 0),Jt([r.state()],te.prototype,"originY",void 0),Jt([r.query(".ft-ripple")],te.prototype,"ripple",void 0),Jt([r.query(".ft-ripple--effect")],te.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(te);
561
561
  /**
562
562
  * @license
563
563
  * Copyright 2017 Google LLC
564
564
  * SPDX-License-Identifier: BSD-3-Clause
565
565
  */
566
- 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}>`,so=document,co=()=>so.createComment(""),po=t=>null===t||"object"!=typeof t&&"function"!=typeof t,fo=Array.isArray,ho="[ \t\n\f\r]",uo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,go=/-->/g,yo=/>/g,bo=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),mo=/'/g,xo=/"/g,vo=/^(?:script|style|textarea|title)$/i,Oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),wo=Symbol.for("lit-noChange"),No=Symbol.for("lit-nothing"),So=new WeakMap,Co=so.createTreeWalker(so,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 Eo=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=uo;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===uo?"!--"===s[1]?a=go:void 0!==s[1]?a=yo:void 0!==s[2]?(vo.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=bo):void 0!==s[3]&&(a=bo):a===bo?">"===s[0]?(a=i??uo,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?bo:'"'===s[3]?xo:mo):a===xo||a===mo?a=bo:a===go||a===yo?a=uo:(a=bo,i=void 0);const f=a===bo&&t[o+1].startsWith("/>")?" ":"";n+=a===uo?e+lo:c>=0?(r.push(l),e.slice(0,c)+io+e.slice(c)+no+f):e+no+(-2===c?o:f)}return[$o(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=Eo(t,o);if(this.el=Io.createElement(s,e),Co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Co.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(io)){const o=c[n++],e=r.getAttribute(t).split(no),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Wo:"?"===a[1]?zo:"@"===a[1]?Zo:Lo}),r.removeAttribute(t)}else t.startsWith(no)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(vo.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],co()),Co.nextNode(),l.push({type:2,index:++i});r.append(t[o],co())}}}else if(8===r.nodeType)if(r.data===ao)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(no,t+1));)l.push({type:7,index:i}),t+=no.length-1}i++}}static createElement(t,o){const e=so.createElement("template");return e.innerHTML=t,e}}function Ro(t,o,e=t,r){if(o===wo)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=Ro(t,i._$AS(t,o.values),i,r)),o}class ko{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??so).importNode(o,!0);Co.currentNode=r;let i=Co.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Uo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new Ko(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=Co.nextNode(),n++)}return Co.currentNode=so,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=No,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ro(this,t,o),po(t)?t===No||null==t||""===t?(this._$AH!==No&&this._$AR(),this._$AH=No):t!==this._$AH&&t!==wo&&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!==No&&po(this._$AH)?this._$AA.nextSibling.data=t:this.$(so.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Io.createElement($o(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ko(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=So.get(t.strings);return void 0===o&&So.set(t.strings,o=new Io(t)),o}T(t){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 Uo(this.k(co()),this.k(co()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Lo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=No,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=No}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Ro(this,t,o,0),n=!po(t)||t!==this._$AH&&t!==wo,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Ro(this,r[e+a],o,a),l===wo&&(l=this._$AH[a]),n||=!po(l)||l!==this._$AH[a],l===No?t=No:t!==No&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===No?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Wo extends Lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===No?void 0:t}}class zo extends Lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==No)}}class Zo extends Lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Ro(this,t,o,0)??No)===wo)return;const e=this._$AH,r=t===No&&e!==No||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==No&&(e===No||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ko{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Ro(this,t)}}const Ao=oo.litHtmlPolyfillSupport;Ao?.(Io,Uo),(oo.litHtmlVersions??=[]).push("3.1.0");
566
+ const ee=globalThis,oe=ee.trustedTypes,re=oe?oe.createPolicy("lit-html",{createHTML:t=>t}):void 0,ie="$lit$",ne=`lit$${(Math.random()+"").slice(9)}$`,ae="?"+ne,le=`<${ae}>`,se=document,ce=()=>se.createComment(""),pe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,fe=Array.isArray,de="[ \t\n\f\r]",he=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ue=/-->/g,ge=/>/g,ye=RegExp(`>|${de}(?:([^\\s"'>=/]+)(${de}*=${de}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),be=/'/g,me=/"/g,xe=/^(?:script|style|textarea|title)$/i,ve=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Oe=Symbol.for("lit-noChange"),we=Symbol.for("lit-nothing"),Se=new WeakMap,Ne=se.createTreeWalker(se,129);function Ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==re?re.createHTML(e):e}const $e=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=he;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,s=a.exec(o),null!==s);)p=a.lastIndex,a===he?"!--"===s[1]?a=ue:void 0!==s[1]?a=ge:void 0!==s[2]?(xe.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=ye):void 0!==s[3]&&(a=ye):a===ye?">"===s[0]?(a=i??he,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?ye:'"'===s[3]?me:be):a===me||a===be?a=ye:a===ue||a===ge?a=he:(a=ye,i=void 0);const f=a===ye&&t[e+1].startsWith("/>")?" ":"";n+=a===he?o+le:c>=0?(r.push(l),o.slice(0,c)+ie+o.slice(c)+ne+f):o+ne+(-2===c?e:f)}return[Ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class Ee{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=$e(t,e);if(this.el=Ee.createElement(s,o),Ne.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Ne.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(ie)){const e=c[n++],o=r.getAttribute(t).split(ne),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?Le:"?"===a[1]?We:"@"===a[1]?ze:Ue}),r.removeAttribute(t)}else t.startsWith(ne)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(xe.test(r.tagName)){const t=r.textContent.split(ne),e=t.length-1;if(e>0){r.textContent=oe?oe.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],ce()),Ne.nextNode(),l.push({type:2,index:++i});r.append(t[e],ce())}}}else if(8===r.nodeType)if(r.data===ae)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(ne,t+1));)l.push({type:7,index:i}),t+=ne.length-1}i++}}static createElement(t,e){const o=se.createElement("template");return o.innerHTML=t,o}}function Ie(t,e,o=t,r){if(e===Oe)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=pe(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Ie(t,i._$AS(t,e.values),i,r)),e}class Re{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??se).importNode(e,!0);Ne.currentNode=r;let i=Ne.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new ke(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new Ze(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=Ne.nextNode(),n++)}return Ne.currentNode=se,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class ke{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=we,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Ie(this,t,e),pe(t)?t===we||null==t||""===t?(this._$AH!==we&&this._$AR(),this._$AH=we):t!==this._$AH&&t!==Oe&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>fe(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!==we&&pe(this._$AH)?this._$AA.nextSibling.data=t:this.$(se.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Ee.createElement(Ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new Re(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Se.get(t.strings);return void 0===e&&Se.set(t.strings,e=new Ee(t)),e}T(t){fe(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const i of t)r===e.length?e.push(o=new ke(this.k(ce()),this.k(ce()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=we,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=we}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Ie(this,t,e,0),n=!pe(t)||t!==this._$AH&&t!==Oe,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Ie(this,r[o+a],e,a),l===Oe&&(l=this._$AH[a]),n||=!pe(l)||l!==this._$AH[a],l===we?t=we:t!==we&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===we?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Le extends Ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===we?void 0:t}}class We extends Ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==we)}}class ze extends Ue{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Ie(this,t,e,0)??we)===Oe)return;const o=this._$AH,r=t===we&&o!==we||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==we&&(o===we||r);r&&this.element.removeEventListener(this.name,this,o),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 Ze{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Ie(this,t)}}const Ke=ee.litHtmlPolyfillSupport;Ke?.(Ee,ke),(ee.litHtmlVersions??=[]).push("3.1.0");
567
567
  /**
568
568
  * @license
569
569
  * Copyright 2020 Google LLC
570
570
  * SPDX-License-Identifier: BSD-3-Clause
571
571
  */
572
- const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$litStatic$:t,r:Do}),To=new Map,Ho=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=Bo(n));)s+=i+o[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=To.get(t))&&(a.raw=a,To.set(t,o=a)),e=l}return t(o,...e)})(Oo);var Po;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Po||(Po={}));var Mo=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 jo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Po.body1}render(){return this.element?Ho`
573
- <${Fo(this.element)}
572
+ const Ae=Symbol.for(""),De=t=>{if(t?.r===Ae)return t?._$litStatic$},Fe=t=>({_$litStatic$:t,r:Ae}),Be=new Map,Te=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=e[c];c<r&&void 0!==(n=o[c],i=De(n));)s+=i+e[++c],p=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(e[r]),p){const t=a.join("$$lit$$");void 0===(e=Be.get(t))&&(a.raw=a,Be.set(t,e=a)),o=l}return t(e,...o)})(ve);var He;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(He||(He={}));var Pe=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Me extends e.FtLitElement{constructor(){super(...arguments),this.variant=He.body1}render(){return this.element?Te`
573
+ <${Fe(this.element)}
574
574
  class="ft-typography ft-typography--${this.variant}">
575
575
  <slot></slot>
576
- </${Fo(this.element)}>
577
- `:Ho`
576
+ </${Fe(this.element)}>
577
+ `:Te`
578
578
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
579
- `}}jo.styles=[It,Rt,kt,Ut,Lt,Wt,zt,Zt,Kt,At,Dt,...Bt],Mo([r.property()],jo.prototype,"element",void 0),Mo([r.property()],jo.prototype,"variant",void 0),o.customElement("ft-typography")(jo);const Go={distance:o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),maxWidth:o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},_o=e.css`
579
+ `}}Me.styles=[It,Rt,kt,Ut,Lt,Wt,zt,Zt,Kt,At,Dt,...Ft],Pe([r.property()],Me.prototype,"element",void 0),Pe([r.property()],Me.prototype,"variant",void 0),e.customElement("ft-typography")(Me);const je={distance:e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),maxWidth:e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ge=o.css`
580
580
  .ft-tooltip--container {
581
581
  display: block;
582
582
  }
@@ -591,21 +591,21 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
591
591
  box-sizing: border-box;
592
592
  overflow: hidden;
593
593
  width: max-content;
594
- max-width: ${Go.maxWidth};
594
+ max-width: ${je.maxWidth};
595
595
  text-align: center;
596
- padding: ${Go.distance};
597
- z-index: ${Go.zIndex};
596
+ padding: ${je.distance};
597
+ z-index: ${je.zIndex};
598
598
  }
599
599
 
600
600
  .ft-tooltip--content {
601
601
  padding: 4px 8px;
602
- border-radius: ${Go.borderRadiusS};
603
- background-color: ${Go.backgroundColor};
604
- color: ${Go.color};
602
+ border-radius: ${je.borderRadiusS};
603
+ background-color: ${je.backgroundColor};
604
+ color: ${je.color};
605
605
  position: relative;
606
606
  word-break: break-word;
607
607
  }
608
- `,qo=["start","end"],Yo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+qo[0],o+"-"+qo[1])),[]),Vo=Math.min,Qo=Math.max,Xo=Math.round,Jo=t=>({x:t,y:t}),te={left:"right",right:"left",bottom:"top",top:"bottom"},oe={start:"end",end:"start"};function ee(t,o,e){return Qo(t,Vo(o,e))}function re(t,o){return"function"==typeof t?t(o):t}function ie(t){return t.split("-")[0]}function ne(t){return t.split("-")[1]}function ae(t){return"x"===t?"y":"x"}function le(t){return"y"===t?"height":"width"}function se(t){return["top","bottom"].includes(ie(t))?"y":"x"}function ce(t){return ae(se(t))}function pe(t){return t.replace(/left|right|bottom|top/g,(t=>te[t]))}function fe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function de(t,o,e){let{reference:r,floating:i}=t;const n=se(o),a=ce(o),l=le(a),s=ie(o),c="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(s){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(ne(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function he(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=re(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}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=fe(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:c,rootBoundary:p,strategy:s})),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},v=fe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function ue(t,o,e){return(t?[...e.filter((o=>ne(o)===t)),...e.filter((o=>ne(o)!==t))]:e.filter((t=>ie(t)===t))).filter((e=>!t||(ne(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>oe[t]))}(e)!==e)))}const ge=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:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=Yo,autoAlignment:h=!0,...u}=re(t,o),g=void 0!==f||d===Yo?ue(f||null,h,d):d,y=await he(o,u),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=ne(t),i=ce(t),n=le(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=pe(a)),[a,pe(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ie(m)],y[x[0]],y[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const N=O.map((t=>{const o=ne(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])),S=N.filter((t=>t[2].slice(0,ne(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||N[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ye(t){return xe(t)?(t.nodeName||"").toLowerCase():"#document"}function be(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function me(t){var o;return null==(o=(xe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function xe(t){return t instanceof Node||t instanceof be(t).Node}function ve(t){return t instanceof Element||t instanceof be(t).Element}function Oe(t){return t instanceof HTMLElement||t instanceof be(t).HTMLElement}function we(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof be(t).ShadowRoot)}function Ne(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ie(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Se(t){return["table","td","th"].includes(ye(t))}function Ce(t){const o=$e(),e=Ie(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 $e(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ee(t){return["html","body","#document"].includes(ye(t))}function Ie(t){return be(t).getComputedStyle(t)}function Re(t){return ve(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if("html"===ye(t))return t;const o=t.assignedSlot||t.parentNode||we(t)&&t.host||me(t);return we(o)?o.host:o}function Ue(t){const o=ke(t);return Ee(o)?t.ownerDocument?t.ownerDocument.body:t.body:Oe(o)&&Ne(o)?o:Ue(o)}function Le(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ue(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=be(i);return n?o.concat(a,a.visualViewport||[],Ne(i)?i:[],a.frameElement&&e?Le(a.frameElement):[]):o.concat(i,Le(i,[],e))}function We(t){const o=Ie(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Oe(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Xo(e)!==n||Xo(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ze(t){return ve(t)?t:t.contextElement}function Ze(t){const o=ze(t);if(!Oe(o))return Jo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=We(o);let a=(n?Xo(e.width):e.width)/r,l=(n?Xo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ke=Jo(0);function Ae(t){const o=be(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ke}function De(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ze(t);let a=Jo(1);o&&(r?ve(r)&&(a=Ze(r)):a=Ze(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==be(t))&&o}(n,e,r)?Ae(n):Jo(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=be(n),o=r&&ve(r)?be(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ze(e),o=e.getBoundingClientRect(),r=Ie(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,e=be(e).frameElement}}return fe({width:p,height:f,x:s,y:c})}function Be(t){return De(me(t)).left+Re(t).scrollLeft}function Fe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=be(t),r=me(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=$e();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=me(t),e=Re(t),r=t.ownerDocument.body,i=Qo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Qo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Be(t);const l=-e.scrollTop;return"rtl"===Ie(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(me(t));else if(ve(o))r=function(t,o){const e=De(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Oe(t)?Ze(t):Jo(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=Ae(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return fe(r)}function Te(t,o){const e=ke(t);return!(e===o||!ve(e)||Ee(e))&&("fixed"===Ie(e).position||Te(e,o))}function He(t,o,e){const r=Oe(o),i=me(o),n="fixed"===e,a=De(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Jo(0);if(r||!r&&!n)if(("body"!==ye(o)||Ne(i))&&(l=Re(o)),r){const t=De(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=Be(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Pe(t,o){return Oe(t)&&"fixed"!==Ie(t).position?o?o(t):t.offsetParent:null}function Me(t,o){const e=be(t);if(!Oe(t))return e;let r=Pe(t,o);for(;r&&Se(r)&&"static"===Ie(r).position;)r=Pe(r,o);return r&&("html"===ye(r)||"body"===ye(r)&&"static"===Ie(r).position&&!Ce(r))?e:r||function(t){let o=ke(t);for(;Oe(o)&&!Ee(o);){if(Ce(o))return o;o=ke(o)}return null}(t)||e}const je={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Oe(e),n=me(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Jo(1);const s=Jo(0);if((i||!i&&"fixed"!==r)&&(("body"!==ye(e)||Ne(n))&&(a=Re(e)),Oe(e))){const t=De(e);l=Ze(e),s.x=t.x+e.clientLeft,s.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+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:me,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=Le(t,[],!1).filter((t=>ve(t)&&"body"!==ye(t))),i=null;const n="fixed"===Ie(t).position;let a=n?ke(t):t;for(;ve(a)&&!Ee(a);){const o=Ie(a),e=Ce(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ne(a)&&!e&&Te(t,a))?r=r.filter((t=>t!==a)):i=o,a=ke(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Fe(o,e,i);return t.top=Qo(r.top,t.top),t.right=Vo(r.right,t.right),t.bottom=Vo(r.bottom,t.bottom),t.left=Qo(r.left,t.left),t}),Fe(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Me,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Me,n=this.getDimensions;return{reference:He(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 We(t)},getScale:Ze,isElement:ve,isRTL:function(t){return"rtl"===Ie(t).direction}},Ge=(t,o,e)=>{const r=new Map,i={platform:je,...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),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=de(c,r,s),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=de(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function _e(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 Ye,Ve,Qe=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 Xe 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`
608
+ `,_e=["start","end"],qe=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+_e[0],e+"-"+_e[1])),[]),Ye=Math.min,Ve=Math.max,Qe=Math.round,Xe=t=>({x:t,y:t}),Je={left:"right",right:"left",bottom:"top",top:"bottom"},to={start:"end",end:"start"};function eo(t,e,o){return Ve(t,Ye(e,o))}function oo(t,e){return"function"==typeof t?t(e):t}function ro(t){return t.split("-")[0]}function io(t){return t.split("-")[1]}function no(t){return"x"===t?"y":"x"}function ao(t){return"y"===t?"height":"width"}function lo(t){return["top","bottom"].includes(ro(t))?"y":"x"}function so(t){return no(lo(t))}function co(t){return t.replace(/left|right|bottom|top/g,(t=>Je[t]))}function po(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fo(t,e,o){let{reference:r,floating:i}=t;const n=lo(e),a=so(e),l=ao(a),s=ro(e),c="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(s){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(io(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function ho(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=oo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=po(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),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},v=po(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function uo(t,e,o){return(t?[...o.filter((e=>io(e)===t)),...o.filter((e=>io(e)!==t))]:o.filter((t=>ro(t)===t))).filter((o=>!t||(io(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>to[t]))}(o)!==o)))}const go=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:d=qe,autoAlignment:h=!0,...u}=oo(t,e),g=void 0!==f||d===qe?uo(f||null,h,d):d,y=await ho(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const r=io(t),i=so(t),n=ao(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=co(a)),[a,co(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ro(m)],y[x[0]],y[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=io(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,io(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function yo(t){return xo(t)?(t.nodeName||"").toLowerCase():"#document"}function bo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function mo(t){var e;return null==(e=(xo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function xo(t){return t instanceof Node||t instanceof bo(t).Node}function vo(t){return t instanceof Element||t instanceof bo(t).Element}function Oo(t){return t instanceof HTMLElement||t instanceof bo(t).HTMLElement}function wo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof bo(t).ShadowRoot)}function So(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Io(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function No(t){return["table","td","th"].includes(yo(t))}function Co(t){const e=$o(),o=Io(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function $o(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Eo(t){return["html","body","#document"].includes(yo(t))}function Io(t){return bo(t).getComputedStyle(t)}function Ro(t){return vo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ko(t){if("html"===yo(t))return t;const e=t.assignedSlot||t.parentNode||wo(t)&&t.host||mo(t);return wo(e)?e.host:e}function Uo(t){const e=ko(t);return Eo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Oo(e)&&So(e)?e:Uo(e)}function Lo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Uo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=bo(i);return n?e.concat(a,a.visualViewport||[],So(i)?i:[],a.frameElement&&o?Lo(a.frameElement):[]):e.concat(i,Lo(i,[],o))}function Wo(t){const e=Io(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Oo(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,l=Qe(o)!==n||Qe(r)!==a;return l&&(o=n,r=a),{width:o,height:r,$:l}}function zo(t){return vo(t)?t:t.contextElement}function Zo(t){const e=zo(t);if(!Oo(e))return Xe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Wo(e);let a=(n?Qe(o.width):o.width)/r,l=(n?Qe(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ko=Xe(0);function Ao(t){const e=bo(t);return $o()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ko}function Do(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=zo(t);let a=Xe(1);e&&(r?vo(r)&&(a=Zo(r)):a=Zo(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==bo(t))&&e}(n,o,r)?Ao(n):Xe(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=bo(n),e=r&&vo(r)?bo(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Zo(o),e=o.getBoundingClientRect(),r=Io(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=i,c+=n,o=bo(o).frameElement}}return po({width:p,height:f,x:s,y:c})}function Fo(t){return Do(mo(t)).left+Ro(t).scrollLeft}function Bo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=bo(t),r=mo(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=$o();(!t||t&&"fixed"===e)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)r=function(t){const e=mo(t),o=Ro(t),r=t.ownerDocument.body,i=Ve(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Ve(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Fo(t);const l=-o.scrollTop;return"rtl"===Io(r).direction&&(a+=Ve(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(mo(t));else if(vo(e))r=function(t,e){const o=Do(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Oo(t)?Zo(t):Xe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=Ao(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return po(r)}function To(t,e){const o=ko(t);return!(o===e||!vo(o)||Eo(o))&&("fixed"===Io(o).position||To(o,e))}function Ho(t,e,o){const r=Oo(e),i=mo(e),n="fixed"===o,a=Do(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=Xe(0);if(r||!r&&!n)if(("body"!==yo(e)||So(i))&&(l=Ro(e)),r){const t=Do(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=Fo(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Po(t,e){return Oo(t)&&"fixed"!==Io(t).position?e?e(t):t.offsetParent:null}function Mo(t,e){const o=bo(t);if(!Oo(t))return o;let r=Po(t,e);for(;r&&No(r)&&"static"===Io(r).position;)r=Po(r,e);return r&&("html"===yo(r)||"body"===yo(r)&&"static"===Io(r).position&&!Co(r))?o:r||function(t){let e=ko(t);for(;Oo(e)&&!Eo(e);){if(Co(e))return e;e=ko(e)}return null}(t)||o}const jo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Oo(o),n=mo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=Xe(1);const s=Xe(0);if((i||!i&&"fixed"!==r)&&(("body"!==yo(o)||So(n))&&(a=Ro(o)),Oo(o))){const t=Do(o);l=Zo(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:mo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Lo(t,[],!1).filter((t=>vo(t)&&"body"!==yo(t))),i=null;const n="fixed"===Io(t).position;let a=n?ko(t):t;for(;vo(a)&&!Eo(a);){const e=Io(a),o=Co(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||So(a)&&!o&&To(t,a))?r=r.filter((t=>t!==a)):i=e,a=ko(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],l=n.reduce(((t,o)=>{const r=Bo(e,o,i);return t.top=Ve(r.top,t.top),t.right=Ye(r.right,t.right),t.bottom=Ye(r.bottom,t.bottom),t.left=Ve(r.left,t.left),t}),Bo(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Mo,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Mo,n=this.getDimensions;return{reference:Ho(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Wo(t)},getScale:Zo,isElement:vo,isRTL:function(t){return"rtl"===Io(t).direction}},Go=(t,e,o)=>{const r=new Map,i={platform:jo,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:f}=fo(c,r,s),d=r,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:p,y:f}=fo(c,d,s))),o=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function _o(t){return function(t){for(let e=t;e;e=qo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=qo(t);e;e=qo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function qo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Yo,Vo,Qo=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xo extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
609
609
  <div part="container"
610
610
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
611
611
  @mouseenter=${this.onHover}
@@ -623,19 +623,19 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
623
623
  </div>
624
624
  </div>
625
625
  </div>
626
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ge(t,o,{platform:{...je,getOffsetParent:t=>je.getOffsetParent(t,_e)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=re(r,t),c={x:o,y:e},p=await he(t,s),f=se(ie(i)),d=ae(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=ee(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=ee(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),ge({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Xe.elementDefinitions={"ft-typography":jo},Xe.styles=_o,Qe([r.property()],Xe.prototype,"text",void 0),Qe([r.property({type:Boolean})],Xe.prototype,"manual",void 0),Qe([r.property({type:Boolean})],Xe.prototype,"inline",void 0),Qe([r.property({type:Number})],Xe.prototype,"delay",void 0),Qe([r.property()],Xe.prototype,"position",void 0),Qe([r.queryAssignedNodes()],Xe.prototype,"slotNodes",void 0),Qe([r.query(".ft-tooltip--container")],Xe.prototype,"container",void 0),Qe([r.query(".ft-tooltip")],Xe.prototype,"tooltip",void 0),Qe([r.query(".ft-tooltip--content")],Xe.prototype,"tooltipContent",void 0),Qe([r.state()],Xe.prototype,"visible",void 0),Qe([r.eventOptions({passive:!0})],Xe.prototype,"onTouch",null),Qe([r.eventOptions({passive:!0})],Xe.prototype,"onHover",null),Qe([r.eventOptions({passive:!0})],Xe.prototype,"onOut",null),Qe([r.eventOptions({passive:!0})],Xe.prototype,"onClick",null),o.customElement("ft-tooltip")(Xe),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Ye||(Ye={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ve||(Ve={}));const Je=new Map([...["abw"].map((t=>[t,Ve.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,Ve.AUDIO])),...["avi"].map((t=>[t,Ve.AVI])),...["chm","xhs"].map((t=>[t,Ve.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,Ve.CODE])),...["csv"].map((t=>[t,Ve.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ve.DITA])),...["epub"].map((t=>[t,Ve.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ve.EXCEL])),...["flac"].map((t=>[t,Ve.FLAC])),...["gif"].map((t=>[t,Ve.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ve.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ve.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ve.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ve.JPEG])),...["json"].map((t=>[t,Ve.JSON])),...["m4a","m4p"].map((t=>[t,Ve.M4A])),...["mov","qt"].map((t=>[t,Ve.MOV])),...["mp3"].map((t=>[t,Ve.MP3])),...["mp4","m4v"].map((t=>[t,Ve.MP4])),...["ogg","oga"].map((t=>[t,Ve.OGG])),...["pdf","ps"].map((t=>[t,Ve.PDF])),...["png"].map((t=>[t,Ve.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ve.POWERPOINT])),...["rar"].map((t=>[t,Ve.RAR])),...["stp"].map((t=>[t,Ve.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ve.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,Ve.VIDEO])),...["wav"].map((t=>[t,Ve.WAV])),...["wma"].map((t=>[t,Ve.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ve.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ve.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ve.YAML])),...["zip"].map((t=>[t,Ve.ZIP]))]),tr=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var or;Ve.ABW,Ve.AUDIO,Ve.AVI,Ve.CHM,Ve.CODE,Ve.CSV,Ve.DITA,Ve.EPUB,Ve.EXCEL,Ve.FLAC,Ve.GIF,Ve.GZIP,Ve.HTML,Ve.IMAGE,Ve.JPEG,Ve.JSON,Ve.M4A,Ve.MOV,Ve.MP3,Ve.MP4,Ve.OGG,Ve.PDF,Ve.PNG,Ve.POWERPOINT,Ve.RAR,Ve.STP,Ve.TEXT,Ve.UNKNOWN,Ve.VIDEO,Ve.WAV,Ve.WMA,Ve.WORD,Ve.XML,Ve.YAML,Ve.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(or||(or={}));var er=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(or).includes(this.variant)?this.variant:or.fluid_topics,o=t!==or.material||!!this.value;return e.html`
626
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Go(t,e,{platform:{...jo,getOffsetParent:t=>jo.getOffsetParent(t,_o)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=oo(r,t),c={x:e,y:o},p=await ho(t,s),f=lo(ro(i)),d=no(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=eo(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=eo(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),go({allowedPlacements:[o]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}Xo.elementDefinitions={"ft-typography":Me},Xo.styles=Ge,Qo([r.property()],Xo.prototype,"text",void 0),Qo([r.property({type:Boolean})],Xo.prototype,"manual",void 0),Qo([r.property({type:Boolean})],Xo.prototype,"inline",void 0),Qo([r.property({type:Number})],Xo.prototype,"delay",void 0),Qo([r.property()],Xo.prototype,"position",void 0),Qo([r.queryAssignedNodes()],Xo.prototype,"slotNodes",void 0),Qo([r.query(".ft-tooltip--container")],Xo.prototype,"container",void 0),Qo([r.query(".ft-tooltip")],Xo.prototype,"tooltip",void 0),Qo([r.query(".ft-tooltip--content")],Xo.prototype,"tooltipContent",void 0),Qo([r.state()],Xo.prototype,"visible",void 0),Qo([r.eventOptions({passive:!0})],Xo.prototype,"onTouch",null),Qo([r.eventOptions({passive:!0})],Xo.prototype,"onHover",null),Qo([r.eventOptions({passive:!0})],Xo.prototype,"onOut",null),Qo([r.eventOptions({passive:!0})],Xo.prototype,"onClick",null),e.customElement("ft-tooltip")(Xo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Yo||(Yo={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Vo||(Vo={}));const Jo=new Map([...["abw"].map((t=>[t,Vo.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,Vo.AUDIO])),...["avi"].map((t=>[t,Vo.AVI])),...["chm","xhs"].map((t=>[t,Vo.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,Vo.CODE])),...["csv"].map((t=>[t,Vo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vo.DITA])),...["epub"].map((t=>[t,Vo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vo.EXCEL])),...["flac"].map((t=>[t,Vo.FLAC])),...["gif"].map((t=>[t,Vo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Vo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vo.JPEG])),...["json"].map((t=>[t,Vo.JSON])),...["m4a","m4p"].map((t=>[t,Vo.M4A])),...["mov","qt"].map((t=>[t,Vo.MOV])),...["mp3"].map((t=>[t,Vo.MP3])),...["mp4","m4v"].map((t=>[t,Vo.MP4])),...["ogg","oga"].map((t=>[t,Vo.OGG])),...["pdf","ps"].map((t=>[t,Vo.PDF])),...["png"].map((t=>[t,Vo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vo.POWERPOINT])),...["rar"].map((t=>[t,Vo.RAR])),...["stp"].map((t=>[t,Vo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vo.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,Vo.VIDEO])),...["wav"].map((t=>[t,Vo.WAV])),...["wma"].map((t=>[t,Vo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vo.YAML])),...["zip"].map((t=>[t,Vo.ZIP]))]),tr=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var er;Vo.ABW,Vo.AUDIO,Vo.AVI,Vo.CHM,Vo.CODE,Vo.CSV,Vo.DITA,Vo.EPUB,Vo.EXCEL,Vo.FLAC,Vo.GIF,Vo.GZIP,Vo.HTML,Vo.IMAGE,Vo.JPEG,Vo.JSON,Vo.M4A,Vo.MOV,Vo.MP3,Vo.MP4,Vo.OGG,Vo.PDF,Vo.PNG,Vo.POWERPOINT,Vo.RAR,Vo.STP,Vo.TEXT,Vo.UNKNOWN,Vo.VIDEO,Vo.WAV,Vo.WMA,Vo.WORD,Vo.XML,Vo.YAML,Vo.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var or=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rr extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,e=t!==er.material||!!this.value;return o.html`
627
627
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
628
628
  ${n.unsafeHTML(this.resolvedIcon)}
629
- <slot ?hidden=${o}></slot>
629
+ <slot ?hidden=${e}></slot>
630
630
  </i>
631
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case or.file_format:this.resolvedIcon=null!==(t=Ve[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case or.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Ye[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=Pt,er([r.property()],rr.prototype,"variant",void 0),er([r.property()],rr.prototype,"value",void 0),er([r.state()],rr.prototype,"resolvedIcon",void 0),er([r.query("slot")],rr.prototype,"slottedContent",void 0),o.customElement("ft-icon")(rr);class ir extends o.FtLitElement{render(){return e.html`
631
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let r=this.value||this.textContent;switch(this.variant){case er.file_format:this.resolvedIcon=null!==(t=Vo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case er.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=Yo[r.replace("-","_").toUpperCase()])&&void 0!==e?e:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=Pt,or([r.property()],rr.prototype,"variant",void 0),or([r.property()],rr.prototype,"value",void 0),or([r.state()],rr.prototype,"resolvedIcon",void 0),or([r.query("slot")],rr.prototype,"slottedContent",void 0),e.customElement("ft-icon")(rr);class ir extends e.FtLitElement{render(){return o.html`
632
632
  <div class="ft-loader">
633
633
  <div></div>
634
634
  <div></div>
635
635
  <div></div>
636
636
  <div></div>
637
637
  </div>
638
- `}}ir.styles=Tt,o.customElement("ft-loader")(ir);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.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
638
+ `}}ir.styles=Tt,e.customElement("ft-loader")(ir);var nr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ar extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(o.html`
639
639
  <button part="button"
640
640
  class="${i.classMap(this.buttonClasses)}"
641
641
  aria-label="${this.getLabel()}"
@@ -644,21 +644,21 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
644
644
  <ft-typography part="label"
645
645
  variant=${this.typographyVariant}
646
646
  element="span"
647
- class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
647
+ class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
648
648
  ?hidden=${!this.hasTextContent()}>
649
649
  <slot @slotchange=${this.onSlotchange}></slot>
650
650
  </ft-typography>
651
651
  ${this.resolveIcon()}
652
652
  </button>
653
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
653
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?o.html`
654
654
  <ft-tooltip part="tooltip"
655
655
  text="${this.getLabel()}"
656
656
  position="${this.tooltipPosition}">
657
657
  ${t}
658
658
  </ft-tooltip>
659
- `:t}resolveIcon(){return this.loading?e.html`
660
- <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
661
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ar.elementDefinitions={"ft-ripple":to,"ft-tooltip":Xe,"ft-typography":jo,"ft-icon":rr,"ft-loader":ir},nr([r.property({type:String,reflect:!0})],ar.prototype,"role",void 0),nr([r.property()],ar.prototype,"type",void 0),nr([r.property({type:Boolean})],ar.prototype,"disabled",void 0),nr([r.property()],ar.prototype,"label",void 0),nr([r.property()],ar.prototype,"icon",void 0),nr([r.property()],ar.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],ar.prototype,"trailingIcon",void 0),nr([r.property({type:Boolean})],ar.prototype,"loading",void 0),nr([r.property()],ar.prototype,"tooltipPosition",void 0),nr([r.property({type:Boolean})],ar.prototype,"hideTooltip",void 0),nr([r.property({type:Boolean})],ar.prototype,"forceTooltip",void 0),nr([r.query(".ft-button")],ar.prototype,"button",void 0),nr([r.query(".ft-button--label slot")],ar.prototype,"slottedContent",void 0);var lr=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 sr extends ar{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"}}sr.styles=[o.safariEllipsisFix,Xt],lr([r.property({type:Boolean})],sr.prototype,"primary",void 0),lr([r.property({type:Boolean})],sr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],sr.prototype,"dense",void 0),lr([r.property({type:Boolean})],sr.prototype,"round",void 0);const cr=[e.css`
659
+ `:t}resolveIcon(){return this.loading?o.html`
660
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
661
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ar.elementDefinitions={"ft-ripple":te,"ft-tooltip":Xo,"ft-typography":Me,"ft-icon":rr,"ft-loader":ir},nr([r.property({type:String,reflect:!0})],ar.prototype,"role",void 0),nr([r.property()],ar.prototype,"type",void 0),nr([r.property({type:Boolean})],ar.prototype,"disabled",void 0),nr([r.property()],ar.prototype,"label",void 0),nr([r.property()],ar.prototype,"icon",void 0),nr([r.property()],ar.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],ar.prototype,"trailingIcon",void 0),nr([r.property({type:Boolean})],ar.prototype,"loading",void 0),nr([r.property()],ar.prototype,"tooltipPosition",void 0),nr([r.property({type:Boolean})],ar.prototype,"hideTooltip",void 0),nr([r.property({type:Boolean})],ar.prototype,"forceTooltip",void 0),nr([r.query(".ft-button")],ar.prototype,"button",void 0),nr([r.query(".ft-button--label slot")],ar.prototype,"slottedContent",void 0);var lr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sr extends ar{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"}}sr.styles=[e.safariEllipsisFix,Xt],lr([r.property({type:Boolean})],sr.prototype,"primary",void 0),lr([r.property({type:Boolean})],sr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],sr.prototype,"dense",void 0),lr([r.property({type:Boolean})],sr.prototype,"round",void 0);const cr=[o.css`
662
662
  :host {
663
663
  display: inline-block;
664
664
  max-width: 100%;
@@ -708,7 +708,7 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
708
708
  }
709
709
 
710
710
  .ft-button:focus-visible {
711
- outline-color: ${N.focusFocusRingColor};
711
+ outline-color: ${S.focusFocusRingColor};
712
712
  outline-style: solid;
713
713
  }
714
714
 
@@ -737,150 +737,150 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
737
737
  /** Primary styles **/
738
738
 
739
739
  .ft-button--primary {
740
- ${o.setVariable(Ft.color,N.primaryIconColor)};
740
+ ${e.setVariable(Bt.color,S.primaryIconColor)};
741
741
 
742
- ${o.setVariable(s.color,N.primaryStateLayerColor)};
743
- ${o.setVariable(s.opacityContentOnSurfaceHover,N.primaryHoverStateLayerOpacity)};
744
- ${o.setVariable(s.opacityContentOnSurfaceFocused,N.primaryFocusStateLayerOpacity)};
745
- ${o.setVariable(s.opacityContentOnSurfaceSelected,N.primaryActiveStateLayerOpacity)};
746
- ${o.setVariable(s.opacityContentOnSurfacePressed,N.primaryActiveStateLayerOpacity)};
742
+ ${e.setVariable(s.color,S.primaryStateLayerColor)};
743
+ ${e.setVariable(s.opacityContentOnSurfaceHover,S.primaryHoverStateLayerOpacity)};
744
+ ${e.setVariable(s.opacityContentOnSurfaceFocused,S.primaryFocusStateLayerOpacity)};
745
+ ${e.setVariable(s.opacityContentOnSurfaceSelected,S.primaryActiveStateLayerOpacity)};
746
+ ${e.setVariable(s.opacityContentOnSurfacePressed,S.primaryActiveStateLayerOpacity)};
747
747
 
748
- background-color: ${N.primaryBackgroundColor};
749
- color: ${N.primaryColor};
748
+ background-color: ${S.primaryBackgroundColor};
749
+ color: ${S.primaryColor};
750
750
  border-style: none;
751
751
  }
752
752
 
753
753
  .ft-button--primary[disabled] {
754
- opacity: ${N.primaryDisabledComponentOpacity};
754
+ opacity: ${S.primaryDisabledComponentOpacity};
755
755
  }
756
756
 
757
757
  .ft-button--primary ft-icon {
758
- color: ${N.primaryIconColor};
758
+ color: ${S.primaryIconColor};
759
759
  }
760
760
 
761
761
  /** Secondary styles **/
762
762
 
763
763
  .ft-button--secondary {
764
- ${o.setVariable(Ft.color,N.secondaryIconColor)};
764
+ ${e.setVariable(Bt.color,S.secondaryIconColor)};
765
765
 
766
- ${o.setVariable(s.color,N.secondaryStateLayerColor)};
767
- ${o.setVariable(s.opacityContentOnSurfaceHover,N.secondaryHoverStateLayerOpacity)};
768
- ${o.setVariable(s.opacityContentOnSurfaceFocused,N.secondaryFocusStateLayerOpacity)};
769
- ${o.setVariable(s.opacityContentOnSurfaceSelected,N.secondaryActiveStateLayerOpacity)};
770
- ${o.setVariable(s.opacityContentOnSurfacePressed,N.secondaryActiveStateLayerOpacity)};
766
+ ${e.setVariable(s.color,S.secondaryStateLayerColor)};
767
+ ${e.setVariable(s.opacityContentOnSurfaceHover,S.secondaryHoverStateLayerOpacity)};
768
+ ${e.setVariable(s.opacityContentOnSurfaceFocused,S.secondaryFocusStateLayerOpacity)};
769
+ ${e.setVariable(s.opacityContentOnSurfaceSelected,S.secondaryActiveStateLayerOpacity)};
770
+ ${e.setVariable(s.opacityContentOnSurfacePressed,S.secondaryActiveStateLayerOpacity)};
771
771
 
772
- background-color: ${N.secondaryBackgroundColor};
773
- color: ${N.secondaryColor};
774
- border-color: ${N.secondaryBorderColor};
772
+ background-color: ${S.secondaryBackgroundColor};
773
+ color: ${S.secondaryColor};
774
+ border-color: ${S.secondaryBorderColor};
775
775
  border-style: solid;
776
776
  }
777
777
 
778
778
  .ft-button--secondary[disabled] {
779
- opacity: ${N.secondaryDisabledComponentOpacity};
779
+ opacity: ${S.secondaryDisabledComponentOpacity};
780
780
  }
781
781
 
782
782
  .ft-button--secondary ft-icon {
783
- color: ${N.secondaryIconColor};
783
+ color: ${S.secondaryIconColor};
784
784
  }
785
785
 
786
786
  /** Tertiary styles **/
787
787
 
788
788
  .ft-button--tertiary {
789
- ${o.setVariable(Ft.color,N.tertiaryIconColor)};
789
+ ${e.setVariable(Bt.color,S.tertiaryIconColor)};
790
790
 
791
- ${o.setVariable(s.color,N.tertiaryStateLayerColor)};
792
- ${o.setVariable(s.opacityContentOnSurfaceHover,N.tertiaryHoverStateLayerOpacity)};
793
- ${o.setVariable(s.opacityContentOnSurfaceFocused,N.tertiaryFocusStateLayerOpacity)};
794
- ${o.setVariable(s.opacityContentOnSurfaceSelected,N.tertiaryActiveStateLayerOpacity)};
795
- ${o.setVariable(s.opacityContentOnSurfacePressed,N.tertiaryActiveStateLayerOpacity)};
791
+ ${e.setVariable(s.color,S.tertiaryStateLayerColor)};
792
+ ${e.setVariable(s.opacityContentOnSurfaceHover,S.tertiaryHoverStateLayerOpacity)};
793
+ ${e.setVariable(s.opacityContentOnSurfaceFocused,S.tertiaryFocusStateLayerOpacity)};
794
+ ${e.setVariable(s.opacityContentOnSurfaceSelected,S.tertiaryActiveStateLayerOpacity)};
795
+ ${e.setVariable(s.opacityContentOnSurfacePressed,S.tertiaryActiveStateLayerOpacity)};
796
796
 
797
- background-color: ${N.tertiaryBackgroundColor};
798
- color: ${N.tertiaryColor};
797
+ background-color: ${S.tertiaryBackgroundColor};
798
+ color: ${S.tertiaryColor};
799
799
  border-style: none;
800
800
  }
801
801
 
802
802
  .ft-button--tertiary[disabled] {
803
- opacity: ${N.tertiaryDisabledComponentOpacity};
803
+ opacity: ${S.tertiaryDisabledComponentOpacity};
804
804
  }
805
805
 
806
806
  .ft-button--tertiary ft-icon {
807
- color: ${N.tertiaryIconColor};
807
+ color: ${S.tertiaryIconColor};
808
808
  }
809
809
 
810
810
  /** Neutral styles **/
811
811
 
812
812
  .ft-button--neutral {
813
- ${o.setVariable(Ft.color,N.neutralIconColor)};
813
+ ${e.setVariable(Bt.color,S.neutralIconColor)};
814
814
 
815
- ${o.setVariable(s.backgroundColor,N.neutralStateLayerColor)};
816
- ${o.setVariable(s.opacityContentOnSurfaceHover,N.neutralHoverStateLayerOpacity)};
817
- ${o.setVariable(s.opacityContentOnSurfaceFocused,N.neutralFocusStateLayerOpacity)};
818
- ${o.setVariable(s.opacityContentOnSurfaceSelected,N.neutralActiveStateLayerOpacity)};
819
- ${o.setVariable(s.opacityContentOnSurfacePressed,N.neutralActiveStateLayerOpacity)};
815
+ ${e.setVariable(s.backgroundColor,S.neutralStateLayerColor)};
816
+ ${e.setVariable(s.opacityContentOnSurfaceHover,S.neutralHoverStateLayerOpacity)};
817
+ ${e.setVariable(s.opacityContentOnSurfaceFocused,S.neutralFocusStateLayerOpacity)};
818
+ ${e.setVariable(s.opacityContentOnSurfaceSelected,S.neutralActiveStateLayerOpacity)};
819
+ ${e.setVariable(s.opacityContentOnSurfacePressed,S.neutralActiveStateLayerOpacity)};
820
820
 
821
- background-color: ${N.neutralBackgroundColor};
822
- color: ${N.neutralColor};
821
+ background-color: ${S.neutralBackgroundColor};
822
+ color: ${S.neutralColor};
823
823
  border-style: none;
824
824
  }
825
825
 
826
826
  .ft-button--neutral[disabled] {
827
- opacity: ${N.neutralDisabledComponentOpacity};
827
+ opacity: ${S.neutralDisabledComponentOpacity};
828
828
  }
829
829
 
830
830
  .ft-button--neutral ft-icon {
831
- color: ${N.neutralIconColor};
831
+ color: ${S.neutralIconColor};
832
832
  }
833
833
 
834
834
  /** Large styles **/
835
835
 
836
836
  .ft-button--large {
837
- ${o.setVariable(Ht.size,N.largeIconSize)};
838
- ${o.setVariable(Ft.size,N.largeIconSize)};
839
-
840
- height: ${N.largeHeight};
841
- padding: 0 ${N.largeHorizontalPadding};
842
- gap: ${N.largeGap};
843
- border-radius: ${N.largeBorderRadius};
844
- border-width: ${N.largeBorderWidth};
837
+ ${e.setVariable(Ht.size,S.largeIconSize)};
838
+ ${e.setVariable(Bt.size,S.largeIconSize)};
839
+
840
+ height: ${S.largeHeight};
841
+ padding: 0 ${S.largeHorizontalPadding};
842
+ gap: ${S.largeGap};
843
+ border-radius: ${S.largeBorderRadius};
844
+ border-width: ${S.largeBorderWidth};
845
845
  }
846
846
 
847
847
  .ft-button--large:focus-visible {
848
- outline-width: ${N.largeFocusOutlineWidth};
849
- outline-offset: ${N.largeFocusOutlineOffset};
848
+ outline-width: ${S.largeFocusOutlineWidth};
849
+ outline-offset: ${S.largeFocusOutlineOffset};
850
850
  }
851
851
 
852
852
  .ft-button--large.ft-button--icon-only {
853
- width: ${N.largeIconOnlyWidth};
853
+ width: ${S.largeIconOnlyWidth};
854
854
  padding: unset;
855
855
  }
856
856
 
857
857
  /** Small styles **/
858
858
 
859
859
  .ft-button--small {
860
- ${o.setVariable(Ht.size,N.smallIconSize)};
861
- ${o.setVariable(Ft.size,N.smallIconSize)};
862
-
863
- height: ${N.smallHeight};
864
- padding: 0 ${N.smallHorizontalPadding};
865
- gap: ${N.smallGap};
866
- border-radius: ${N.smallBorderRadius};
867
- border-width: ${N.smallBorderWidth};
860
+ ${e.setVariable(Ht.size,S.smallIconSize)};
861
+ ${e.setVariable(Bt.size,S.smallIconSize)};
862
+
863
+ height: ${S.smallHeight};
864
+ padding: 0 ${S.smallHorizontalPadding};
865
+ gap: ${S.smallGap};
866
+ border-radius: ${S.smallBorderRadius};
867
+ border-width: ${S.smallBorderWidth};
868
868
  }
869
869
 
870
870
  .ft-button--small:focus-visible {
871
- outline-width: ${N.smallFocusOutlineWidth};
872
- outline-offset: ${N.smallFocusOutlineOffset};
871
+ outline-width: ${S.smallFocusOutlineWidth};
872
+ outline-offset: ${S.smallFocusOutlineOffset};
873
873
  }
874
874
 
875
875
  .ft-button--small.ft-button--icon-only {
876
- width: ${N.smallIconOnlyWidth};
876
+ width: ${S.smallIconOnlyWidth};
877
877
  padding: unset;
878
878
  }
879
- `,o.noTextSelect];var pr=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 fr extends ar{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?Po.caption1medium:Po.body2medium}}fr.styles=[o.safariEllipsisFix,cr],pr([r.property({type:Boolean})],fr.prototype,"primary",void 0),pr([r.property({type:Boolean})],fr.prototype,"secondary",void 0),pr([r.property({type:Boolean})],fr.prototype,"tertiary",void 0),pr([r.property({type:Boolean})],fr.prototype,"neutral",void 0),pr([r.property({type:Boolean})],fr.prototype,"small",void 0),o.customElement("ft-button")(sr),o.customElement("ftds-button")(fr);const dr={height:o.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.FtCssVariableFactory.extend("--ft-search-input-border-radius","",o.designSystemVariables.borderRadiusS),desktopFiltersHeight:o.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.extend("--ft-search-input-background-color","",o.designSystemVariables.colorSurface),colorOnSurface:o.FtCssVariableFactory.extend("--ft-search-input-color","",o.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:o.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",o.designSystemVariables.colorOnSurfaceMedium),colorOutline:o.FtCssVariableFactory.extend("--ft-search-input-outline-color","",o.designSystemVariables.colorOutline),elevation02:o.FtCssVariableFactory.extend("--ft-search-input-elevation","",o.designSystemVariables.elevation02),focusOutlineColor:o.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",o.designSystemVariables.colorPrimary),buttonColor:o.FtCssVariableFactory.extend("--ft-search-input-button-color","",o.designSystemVariables.colorPrimary),buttonRippleColor:o.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",o.designSystemVariables.colorPrimary)},hr=e.css`
879
+ `,e.noTextSelect];var pr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fr extends ar{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?He.caption1medium:He.body2medium}}fr.styles=[e.safariEllipsisFix,cr],pr([r.property({type:Boolean})],fr.prototype,"primary",void 0),pr([r.property({type:Boolean})],fr.prototype,"secondary",void 0),pr([r.property({type:Boolean})],fr.prototype,"tertiary",void 0),pr([r.property({type:Boolean})],fr.prototype,"neutral",void 0),pr([r.property({type:Boolean})],fr.prototype,"small",void 0),e.customElement("ft-button")(sr),e.customElement("ftds-button")(fr);const dr={height:e.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:e.FtCssVariableFactory.extend("--ft-search-input-border-radius","",e.designSystemVariables.borderRadiusS),desktopFiltersHeight:e.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:e.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:e.FtCssVariableFactory.extend("--ft-search-input-background-color","",e.designSystemVariables.colorSurface),colorOnSurface:e.FtCssVariableFactory.extend("--ft-search-input-color","",e.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:e.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",e.designSystemVariables.colorOnSurfaceMedium),colorOutline:e.FtCssVariableFactory.extend("--ft-search-input-outline-color","",e.designSystemVariables.colorOutline),elevation02:e.FtCssVariableFactory.extend("--ft-search-input-elevation","",e.designSystemVariables.elevation02),focusOutlineColor:e.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",e.designSystemVariables.colorPrimary),buttonColor:e.FtCssVariableFactory.extend("--ft-search-input-button-color","",e.designSystemVariables.colorPrimary),buttonRippleColor:e.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",e.designSystemVariables.colorPrimary)},hr=o.css`
880
880
  * {
881
881
  box-sizing: border-box;
882
- ${o.setVariable(jt.color,dr.buttonColor)};
883
- ${o.setVariable(jt.rippleColor,dr.buttonRippleColor)};
882
+ ${e.setVariable(jt.color,dr.buttonColor)};
883
+ ${e.setVariable(jt.rippleColor,dr.buttonRippleColor)};
884
884
  }
885
885
 
886
886
  .ft-search-input {
@@ -934,13 +934,13 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
934
934
  align-items: center;
935
935
  height: 100%;
936
936
 
937
- ${o.setVariable(Go.zIndex,`calc(${dr.floatingZIndex} + 1)`)};
937
+ ${e.setVariable(je.zIndex,`calc(${dr.floatingZIndex} + 1)`)};
938
938
  }
939
939
 
940
940
  .ft-search-input > ft-button,
941
941
  .ft-search-input--actions ft-button {
942
942
  flex-shrink: 0;
943
- ${o.setVariable(jt.backgroundColor,"transparent")};
943
+ ${e.setVariable(jt.backgroundColor,"transparent")};
944
944
  }
945
945
 
946
946
  .ft-search-input .ft-search-input--launch-search,
@@ -960,12 +960,12 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
960
960
  height: 20px;
961
961
  border-right: 1px solid ${dr.colorOutline};
962
962
  }
963
- `,ur={highlightBackgroundColor:o.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},gr=e.css`
963
+ `,ur={highlightBackgroundColor:e.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},gr=o.css`
964
964
  .kwicmatch {
965
965
  font-weight: 700;
966
966
  background-color: ${ur.highlightBackgroundColor};
967
967
  }
968
- `,yr={highlightBackgroundColor:o.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},br=e.css`
968
+ `,yr={highlightBackgroundColor:e.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},br=o.css`
969
969
  .kwicmatch {
970
970
  font-weight: 700;
971
971
  background-color: ${yr.highlightBackgroundColor};
@@ -979,7 +979,7 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
979
979
  a:focus {
980
980
  outline: revert;
981
981
  }
982
- `,mr={searchFieldBackgroundColor:o.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",o.designSystemVariables.colorSurface),searchFieldBorderColor:o.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",o.designSystemVariables.colorOutline),searchFieldTextColor:o.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",o.designSystemVariables.colorOnSurface),searchFieldBorderRadius:o.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",o.designSystemVariables.borderRadiusS),searchButtonColor:o.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",o.designSystemVariables.colorPrimary),resultsNumberColor:o.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",o.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:o.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",o.designSystemVariables.colorSurface),resultBorderColor:o.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",o.designSystemVariables.colorOutline),resultBorderRadius:o.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",o.designSystemVariables.borderRadiusS),resultTitleTextColor:o.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",o.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:o.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",o.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:o.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",o.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:o.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",o.designSystemVariables.colorPrimary),resultHoverBorderColor:o.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",o.designSystemVariables.colorPrimary)},xr=e.css`
982
+ `,mr={searchFieldBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",e.designSystemVariables.colorSurface),searchFieldBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",e.designSystemVariables.colorOutline),searchFieldTextColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",e.designSystemVariables.colorOnSurface),searchFieldBorderRadius:e.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",e.designSystemVariables.borderRadiusS),searchButtonColor:e.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",e.designSystemVariables.colorPrimary),resultsNumberColor:e.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",e.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",e.designSystemVariables.colorSurface),resultBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",e.designSystemVariables.colorOutline),resultBorderRadius:e.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",e.designSystemVariables.borderRadiusS),resultTitleTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",e.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",e.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:e.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",e.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:e.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:e.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",e.designSystemVariables.colorPrimary),resultHoverBorderColor:e.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",e.designSystemVariables.colorPrimary)},xr=o.css`
983
983
  .ft-search-in-doc--container {
984
984
  display: flex;
985
985
  flex-direction: column;
@@ -987,11 +987,11 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
987
987
  }
988
988
 
989
989
  ft-search-input {
990
- ${o.setVariable(dr.colorSurface,mr.searchFieldBackgroundColor)};
991
- ${o.setVariable(dr.colorOutline,mr.searchFieldBorderColor)};
992
- ${o.setVariable(dr.colorOnSurface,mr.searchFieldTextColor)};
993
- ${o.setVariable(dr.borderRadius,mr.searchFieldBorderRadius)};
994
- ${o.setVariable(dr.buttonColor,mr.searchButtonColor)};
990
+ ${e.setVariable(dr.colorSurface,mr.searchFieldBackgroundColor)};
991
+ ${e.setVariable(dr.colorOutline,mr.searchFieldBorderColor)};
992
+ ${e.setVariable(dr.colorOnSurface,mr.searchFieldTextColor)};
993
+ ${e.setVariable(dr.borderRadius,mr.searchFieldBorderRadius)};
994
+ ${e.setVariable(dr.buttonColor,mr.searchButtonColor)};
995
995
  }
996
996
 
997
997
  ft-search-results-number {
@@ -1005,21 +1005,21 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1005
1005
  ft-search-load-more-button {
1006
1006
  margin: auto;
1007
1007
  }
1008
- `,vr=e.css`
1008
+ `,vr=o.css`
1009
1009
  ft-card {
1010
1010
  margin-bottom: 8px;
1011
- ${o.setVariable(y.elevation04,"none")};
1012
- ${o.setVariable(y.elevation02,"none")};
1013
- ${o.setVariable(y.borderStyle,"solid")};
1014
- ${o.setVariable(y.borderRadius,o.designSystemVariables.borderRadiusS)};
1015
- ${o.setVariable(y.colorSurface,mr.resultBackgroundColor)};
1016
- ${o.setVariable(y.borderColor,mr.resultBorderColor)};
1017
- ${o.setVariable(y.borderRadius,mr.resultBorderRadius)};
1011
+ ${e.setVariable(y.elevation04,"none")};
1012
+ ${e.setVariable(y.elevation02,"none")};
1013
+ ${e.setVariable(y.borderStyle,"solid")};
1014
+ ${e.setVariable(y.borderRadius,e.designSystemVariables.borderRadiusS)};
1015
+ ${e.setVariable(y.colorSurface,mr.resultBackgroundColor)};
1016
+ ${e.setVariable(y.borderColor,mr.resultBorderColor)};
1017
+ ${e.setVariable(y.borderRadius,mr.resultBorderRadius)};
1018
1018
  }
1019
1019
 
1020
1020
  ft-search-result-title {
1021
1021
  color: ${mr.resultTitleTextColor};
1022
- ${o.setVariable(yr.highlightBackgroundColor,mr.resultHighlightBackgroundColor)};
1022
+ ${e.setVariable(yr.highlightBackgroundColor,mr.resultHighlightBackgroundColor)};
1023
1023
  }
1024
1024
 
1025
1025
  .breadcrumb {
@@ -1028,12 +1028,12 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1028
1028
 
1029
1029
  ft-search-result-abstract {
1030
1030
  color: ${mr.resultContentTextColor};
1031
- ${o.setVariable(ur.highlightBackgroundColor,mr.resultHighlightBackgroundColor)};
1031
+ ${e.setVariable(ur.highlightBackgroundColor,mr.resultHighlightBackgroundColor)};
1032
1032
  }
1033
1033
 
1034
1034
  ft-card:hover {
1035
- ${o.setVariable(y.hoverBorderColor,mr.resultHoverBorderColor)};
1036
- ${o.setVariable(s.color,mr.resultHoverBackgroundColor)};
1035
+ ${e.setVariable(y.hoverBorderColor,mr.resultHoverBorderColor)};
1036
+ ${e.setVariable(s.color,mr.resultHoverBackgroundColor)};
1037
1037
  }
1038
1038
 
1039
1039
  .result-container {
@@ -1046,24 +1046,24 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1046
1046
  text-decoration: none;
1047
1047
  color: inherit;
1048
1048
  }
1049
- `,Or=e.css`
1050
- `,wr=e.css`
1051
- `,Nr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Sr{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Nr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Sr.get(t);if(e)o(e);else{const r=Nr.subscribe((()=>{e=Sr.get(t),e&&(r(),o(e))}))}}))}}class Cr{constructor(t=!0,e){var r;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(r=i.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?i.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Sr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Sr.await()}clearCache(){this.cache.clearAll()}}var $r;const Er=Symbol("clearAfterUnitTest");class Ir extends Cr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=Nr.getState().uiLocale,Nr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Nr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}$r=Er,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ir{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ir{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Rr=window.FluidTopicsI18nService,kr=window.FluidTopicsCustomI18nService;var Ur=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 Lr extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Sr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
1049
+ `,Or=o.css`
1050
+ `,wr=o.css`
1051
+ `,Sr=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Nr{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Sr.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static await(t){return new Promise((e=>{let o=Nr.get(t);if(o)e(o);else{const r=Sr.subscribe((()=>{o=Nr.get(t),o&&(r(),e(o))}))}}))}}class Cr{constructor(t=!0,o){var r;this.overrideApi=o;let i=this.constructor;i.commonCache=null!==(r=i.commonCache)&&void 0!==r?r:new e.CacheRegistry,this.cache=t?i.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Nr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Nr.await()}clearCache(){this.cache.clearAll()}}var $r;const Er=Symbol("clearAfterUnitTest");class Ir extends Cr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=Sr.getState().uiLocale,Sr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Sr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var r;if(t=t.toLowerCase(),Object.keys(o).length>0){const i={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};e.deepEqual(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var i,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(o,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}$r=Er,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ir{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ir{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Rr=window.FluidTopicsI18nService,kr=window.FluidTopicsCustomI18nService;var Ur=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Lr extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Nr.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
1052
1052
  <slot></slot>
1053
- `}update(t){super.update(t),t.has("baseUrl")&&(Nr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Nr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Nr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Nr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Nr.actions.noCustom(this.noCustom),t.has("editorMode")&&Nr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Nr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Nr.actions.session(this.session),t.has("availableUiLocales")&&Nr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Rr.addContext(t))),t.has("openExternalDocumentInNewTab")&&Nr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=wr,Ur([r.property()],Lr.prototype,"baseUrl",void 0),Ur([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),Ur([r.property()],Lr.prototype,"uiLocale",void 0),Ur([o.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),Ur([o.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"openExternalDocumentInNewTab",void 0),Ur([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),Ur([o.jsonProperty([])],Lr.prototype,"messageContexts",void 0),Ur([o.jsonProperty(void 0)],Lr.prototype,"session",void 0),Ur([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr extends Cr{async listMySearches(){let t=Nr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class zr extends Cr{async listMyBookmarks(){let t=Nr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Zr=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Kr=new class{constructor(){this.currentSession=Nr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zr,this.savedSearchesService=new Wr,Nr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Nr.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Zr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Zr.actions.bookmarks(o)}}};o.customElement("ft-app-context")(Lr);var Ar=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};const Dr=Symbol("i18nAttributes"),Br=Symbol("i18nProperties"),Fr=Symbol("i18nUnsubs");function Tr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?kr:Rr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Dr])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Br])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Dr])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[Br])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Br])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Dr])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Fr].has(t)||this[Fr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Fr].forEach((t=>t())),this[Fr].clear()}}return o=Fr,Ar([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Hr extends(Tr(o.FtLitElement)){}class Pr extends(Tr(o.FtLitElementRedux)){}var Mr=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 jr extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(Nr)}render(){return this.key&&this.context?e.html`
1053
+ `}update(t){super.update(t),t.has("baseUrl")&&(Sr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Sr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Sr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Sr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Sr.actions.noCustom(this.noCustom),t.has("editorMode")&&Sr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Sr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Sr.actions.session(this.session),t.has("availableUiLocales")&&Sr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Rr.addContext(t))),t.has("openExternalDocumentInNewTab")&&Sr.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Lr.elementDefinitions={},Lr.styles=wr,Ur([r.property()],Lr.prototype,"baseUrl",void 0),Ur([r.property()],Lr.prototype,"apiIntegrationIdentifier",void 0),Ur([r.property()],Lr.prototype,"uiLocale",void 0),Ur([e.jsonProperty(null)],Lr.prototype,"availableUiLocales",void 0),Ur([e.jsonProperty(null)],Lr.prototype,"metadataConfiguration",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"editorMode",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"noCustom",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"openExternalDocumentInNewTab",void 0),Ur([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Lr.prototype,"noCustomComponent",void 0),Ur([r.property({type:Boolean})],Lr.prototype,"withManualResources",void 0),Ur([e.jsonProperty([])],Lr.prototype,"messageContexts",void 0),Ur([e.jsonProperty(void 0)],Lr.prototype,"session",void 0),Ur([r.property({type:Object})],Lr.prototype,"apiProvider",void 0);class Wr extends Cr{async listMySearches(){let t=Sr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class zr extends Cr{async listMyBookmarks(){let t=Sr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Zr=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Kr=new class{constructor(){this.currentSession=Sr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zr,this.savedSearchesService=new Wr,Sr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Sr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Zr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Zr.actions.bookmarks(e)}}};e.customElement("ft-app-context")(Lr);var Ar=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Dr=Symbol("i18nAttributes"),Fr=Symbol("i18nProperties"),Br=Symbol("i18nUnsubs");function Tr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?kr:Rr}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[Dr])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Fr])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Dr])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Fr])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Fr])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Dr])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Br].has(t)||this[Br].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Br].forEach((t=>t())),this[Br].clear()}}return e=Br,Ar([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Hr extends(Tr(e.FtLitElement)){}class Pr extends(Tr(e.FtLitElementRedux)){}var Mr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jr extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(Sr)}render(){return this.key&&this.context?o.html`
1054
1054
  <span class="ft-i18n">
1055
1055
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1056
1056
  </span>
1057
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}jr.elementDefinitions={},jr.styles=Or,Mr([o.redux()],jr.prototype,"editorMode",void 0),Mr([r.property()],jr.prototype,"context",void 0),Mr([r.property()],jr.prototype,"key",void 0),Mr([o.jsonProperty([])],jr.prototype,"args",void 0),Mr([r.property()],jr.prototype,"defaultMessage",void 0);class Gr{static build(t){return new Gr(t)}static fromGwt(t){return new Gr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Rr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(jr);const _r=e.css`
1058
- `,qr={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setRequestVirtualField:(t,o)=>{t.request.virtualField=o.payload},setRequestScope:(t,o)=>{t.request.scope=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}};var Yr,Vr,Qr,Xr,Jr,ti,oi,ei,ri,ii,ni,ai,li,si,ci,pi,fi,di;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,i=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),u.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,r){return new Promise((function(i,n){var a=new g(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Yr||(Yr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Vr||(Vr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qr||(Qr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Xr||(Xr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Jr||(Jr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(ti||(ti={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(oi||(oi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ei||(ei={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ri||(ri={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ii||(ii={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ni||(ni={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ai||(ai={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(li||(li={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(si||(si={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ci||(ci={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(pi||(pi={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(fi||(fi={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(di||(di={})),fi.PERSONAL_BOOK_SHARE_USER,fi.PERSONAL_BOOK_USER,fi.HTML_EXPORT_USER,fi.PERSONAL_BOOK_USER,fi.PDF_EXPORT_USER,fi.PERSONAL_BOOK_USER,fi.KHUB_ADMIN,fi.CONTENT_PUBLISHER,fi.ADMIN,fi.KHUB_ADMIN,fi.USERS_ADMIN,fi.PORTAL_ADMIN,fi.DEVELOPER,fi.BETA_USER,fi.DEBUG_USER;class hi extends Cr{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class ui extends Event{constructor(){super(ui.eventName)}}ui.eventName="search-context-clear-all-filters";class gi{static build(t,e){return new gi((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:qr}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300),this.service=null!=e?e:new hi}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,e=this.store.getState().request.contentLocale;if(t!=e){if(o){const r=t=>o.some((o=>o.lang==t));r(t)||(t=r(e)?e:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(ni.TITLE_ONLY),this.store.actions.setRequestScope(pi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ni.EVERYWHERE),this.store.actions.setRequestScope(pi.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===ni.TITLE_ONLY&&t.request.scope===pi.DOCUMENTS)(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ui)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let e=this.facetIds.filter((o=>o!=t));o&&e.push(o),this.facetIds=e,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let e=this.store.getState().request.filters,r={key:t,values:o,negative:!1},i=[...e.filter((o=>o.key!==t)),r];this.setFilters(i)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let r=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==r.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=o.cancelable(this.service.launchSearch(r));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),r=e.request,i={input:e.liveQuery,filters:r.filters,sort:r.sort,contentLocale:r.contentLocale,scope:r.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=o.cancelable(this.service.launchSuggest(i));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var yi=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 bi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const mi=Symbol("registerInterval");class xi extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[mi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[mi]):this.dispatchEvent(new bi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=mi,yi([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var vi,Oi=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 wi extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Ni extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Si extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class Ci extends o.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=gi.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Nr)}render(){return e.html`
1057
+ `:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}jr.elementDefinitions={},jr.styles=Or,Mr([e.redux()],jr.prototype,"editorMode",void 0),Mr([r.property()],jr.prototype,"context",void 0),Mr([r.property()],jr.prototype,"key",void 0),Mr([e.jsonProperty([])],jr.prototype,"args",void 0),Mr([r.property()],jr.prototype,"defaultMessage",void 0);class Gr{static build(t){return new Gr(t)}static fromGwt(t){return new Gr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Rr.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(jr);const _r=o.css`
1058
+ `,qr={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}};var Yr,Vr,Qr,Xr,Jr,ti,ei,oi,ri,ii,ni,ai,li,si,ci,pi,fi,di;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function s(t){this.map={},t instanceof s?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=p(e);return e.readAsArrayBuffer(t),o}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,e,o,r=c(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,o=p(e),e.readAsText(t),o;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,e){this.map[n(t)]=a(e)},s.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),l(t)},o.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,r,i=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new s(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),u.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new s(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function x(t,r){return new Promise((function(i,n){var a=new g(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,e,o={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",e=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in l?l.responseURL:o.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;i(new b(r,o))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&o.blob&&(l.responseType="blob"),a.headers.forEach((function(t,e){l.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),e.Headers=s,e.Request=g,e.Response=b,e.fetch=x,Object.defineProperty(e,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Yr||(Yr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Vr||(Vr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qr||(Qr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Xr||(Xr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Jr||(Jr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(ti||(ti={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ei||(ei={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(oi||(oi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ri||(ri={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ii||(ii={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ni||(ni={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ai||(ai={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(li||(li={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(si||(si={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ci||(ci={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(pi||(pi={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(fi||(fi={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(di||(di={})),fi.PERSONAL_BOOK_SHARE_USER,fi.PERSONAL_BOOK_USER,fi.HTML_EXPORT_USER,fi.PERSONAL_BOOK_USER,fi.PDF_EXPORT_USER,fi.PERSONAL_BOOK_USER,fi.KHUB_ADMIN,fi.CONTENT_PUBLISHER,fi.ADMIN,fi.KHUB_ADMIN,fi.USERS_ADMIN,fi.PORTAL_ADMIN,fi.DEVELOPER,fi.BETA_USER,fi.DEBUG_USER;class hi extends Cr{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}class ui extends Event{constructor(){super(ui.eventName)}}ui.eventName="search-context-clear-all-filters";class gi{static build(t,o){return new gi((t=>e.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:qr}))(t.trim()||"context"),o)}constructor(t,o){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new e.Debouncer(100),this.suggestDebouncer=new e.Debouncer(300),this.service=null!=o?o:new hi}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const r=t=>e.some((e=>e.lang==t));r(t)||(t=r(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(ni.TITLE_ONLY),this.store.actions.setRequestScope(pi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ni.EVERYWHERE),this.store.actions.setRequestScope(pi.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===ni.TITLE_ONLY&&t.request.scope===pi.DOCUMENTS)(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ui)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,r={key:t,values:e,negative:!1},i=[...o.filter((e=>e.key!==t)),r];this.setFilters(i)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let r=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==r.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=e.cancelable(this.service.launchSearch(r));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),r=o.request,i={input:o.liveQuery,filters:r.filters,sort:r.sort,contentLocale:r.contentLocale,scope:r.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(i));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var yi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const mi=Symbol("registerInterval");class xi extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[mi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[mi]):this.dispatchEvent(new bi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=mi,yi([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}var vi,Oi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wi extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Si extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Ni extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Ci extends e.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=gi.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Sr)}render(){return o.html`
1059
1059
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1060
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Ni(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Si(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new wi(t))}reloadSavedSearches(){Kr.clearMySearches()}clear(){this.stateManager.clear()}}Ci.elementDefinitions={},Ci.styles=_r,Oi([r.property()],Ci.prototype,"query",void 0),Oi([r.property()],Ci.prototype,"contentLocale",void 0),Oi([r.property({type:Number})],Ci.prototype,"pageSize",void 0),Oi([r.property({type:Boolean})],Ci.prototype,"searchInDocumentTitlesOnly",void 0),Oi([r.property()],Ci.prototype,"scope",void 0),Oi([r.property({type:Boolean})],Ci.prototype,"ignoreEmptyQuery",void 0),Oi([o.redux({store:Nr.name})],Ci.prototype,"openExternalDocumentInNewTab",void 0),Oi([o.jsonProperty([])],Ci.prototype,"filters",void 0),Oi([o.jsonProperty([])],Ci.prototype,"sort",void 0),Oi([o.redux({store:"search"})],Ci.prototype,"request",void 0),Oi([o.redux({store:"search"})],Ci.prototype,"paging",void 0),Oi([o.redux({store:"search",selector:t=>t.spellcheck})],Ci.prototype,"autocorrect",void 0),Oi([o.redux({store:Nr.name})],Ci.prototype,"session",void 0),Oi([r.property({attribute:!1})],Ci.prototype,"searchServiceProvider",void 0),o.customElement("ft-search-context")(Ci),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(vi||(vi={}));var $i=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 Ei extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ii=Symbol("registerInterval");class Ri 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[Ii]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ii]):this.dispatchEvent(new Ei)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ii,$i([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const ki=e.css`
1060
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&void 0!==this.periodFilter&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Si(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Ni(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new wi(t))}reloadSavedSearches(){Kr.clearMySearches()}clear(){this.stateManager.clear()}}Ci.elementDefinitions={},Ci.styles=_r,Oi([r.property()],Ci.prototype,"query",void 0),Oi([r.property()],Ci.prototype,"contentLocale",void 0),Oi([r.property({type:Number})],Ci.prototype,"pageSize",void 0),Oi([r.property({type:Boolean})],Ci.prototype,"searchInDocumentTitlesOnly",void 0),Oi([r.property()],Ci.prototype,"periodFilter",void 0),Oi([r.property()],Ci.prototype,"scope",void 0),Oi([r.property({type:Boolean})],Ci.prototype,"ignoreEmptyQuery",void 0),Oi([e.redux({store:Sr.name})],Ci.prototype,"openExternalDocumentInNewTab",void 0),Oi([e.jsonProperty([])],Ci.prototype,"filters",void 0),Oi([e.jsonProperty([])],Ci.prototype,"sort",void 0),Oi([e.redux({store:"search"})],Ci.prototype,"request",void 0),Oi([e.redux({store:"search"})],Ci.prototype,"paging",void 0),Oi([e.redux({store:"search",selector:t=>t.spellcheck})],Ci.prototype,"autocorrect",void 0),Oi([e.redux({store:Sr.name})],Ci.prototype,"session",void 0),Oi([r.property({attribute:!1})],Ci.prototype,"searchServiceProvider",void 0),e.customElement("ft-search-context")(Ci),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(vi||(vi={}));var $i=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ei extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ii=Symbol("registerInterval");class Ri extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[Ii]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ii]):this.dispatchEvent(new Ei)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ii,$i([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const ki=o.css`
1061
1061
 
1062
- `,Ui=Gr.build("searchResultsNumber"),Li={results:"{0} results","results[\\=1]":"1 result"};var Wi=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 zi extends(Tr(xi)){constructor(){super(),this.addI18nContext(Ui,Li)}render(){return null==this.paging?e.nothing:e.html`
1062
+ `,Ui=Gr.build("searchResultsNumber"),Li={results:"{0} results","results[\\=1]":"1 result"};var Wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zi extends(Tr(xi)){constructor(){super(),this.addI18nContext(Ui,Li)}render(){return null==this.paging?o.nothing:o.html`
1063
1063
  <ft-typography variant="body1">
1064
1064
  ${Ui.messages.results(this.paging.totalClustersCount)}
1065
1065
  </ft-typography>
1066
- `}}zi.elementDefinitions={"ft-typography":jo},zi.styles=ki,Wi([o.redux()],zi.prototype,"paging",void 0),o.customElement("ft-search-results-number")(zi);const Zi=Gr.build("designedSearchInput"),Ki=e.css`
1066
+ `}}zi.elementDefinitions={"ft-typography":Me},zi.styles=ki,Wi([e.redux()],zi.prototype,"paging",void 0),e.customElement("ft-search-results-number")(zi);const Zi=Gr.build("designedSearchInput"),Ki=o.css`
1067
1067
  * {
1068
1068
  box-sizing: border-box;
1069
1069
  }
@@ -1105,25 +1105,25 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1105
1105
  flex-grow: 1;
1106
1106
  flex-shrink: 1;
1107
1107
  }
1108
- `;var Ai=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 Di extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let Bi=class extends xi{render(){return e.html`
1108
+ `;var Ai=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Di extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let Fi=class extends xi{render(){return o.html`
1109
1109
  <div class="ft-search-input-suggestion ft-word-wrap"
1110
1110
  part="container"
1111
1111
  @keydown=${t=>this.onSuggestKeyDown(t)}>
1112
- ${a.repeat(this.suggestResults||[],(t=>t.value),(t=>e.html`
1112
+ ${a.repeat(this.suggestResults||[],(t=>t.value),(t=>o.html`
1113
1113
  <a href="#"
1114
1114
  part="suggestion"
1115
1115
  class="ft-search-input-suggestion--suggestion"
1116
- @keyup=${o=>this.onSuggestKeyUp(o,t.value)}
1117
- @click=${o=>this.onSuggestSelected(o,t.value)}>
1116
+ @keyup=${e=>this.onSuggestKeyUp(e,t.value)}
1117
+ @click=${e=>this.onSuggestSelected(e,t.value)}>
1118
1118
  <ft-ripple></ft-ripple>
1119
1119
  ${this.getIcon(t)}
1120
1120
  <ft-typography variant="body1">${t.value}</ft-typography>
1121
1121
  </a>
1122
1122
  `))}
1123
1123
  </div>
1124
- `}onSuggestKeyDown(t){var o,e,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(e=null===(o=this.getFocusedSuggestionElement())||void 0===o?void 0:o.previousElementSibling)&&void 0!==e?e:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,o){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,o)}onSuggestSelected(t,o){t.preventDefault(),this.dispatchEvent(new Di(o))}getIcon(t){const o="DOCUMENT"===t.type?or.file_format:or.fluid_topics;let r;switch(t.type){case"MAP":r="BOOK"===t.editorialType?Ye.BOOK:Ye.ARTICLE;break;case"DOCUMENT":r=function(t,o){var e,r,i,n;t=(null!=t?t:"").toLowerCase(),o=(null!=o?o:"").toLowerCase();const[a,l]=((null!==(e=tr.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Je.get(l))&&void 0!==r?r:Je.get(o))&&void 0!==i?i:Je.get(a))&&void 0!==n?n:Ve.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":r=Ye.TOPICS}return e.html`
1125
- <ft-icon .variant="${o}" .value="${r}" part="suggestion-icon"></ft-icon>
1126
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};Bi.elementDefinitions={"ft-ripple":to,"ft-typography":jo,"ft-icon":rr},Bi.styles=[o.wordWrap,Ki],Ai([o.redux()],Bi.prototype,"suggestResults",void 0),Bi=Ai([r.customElement("ft-search-input-suggestion")],Bi);var Fi=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 Ti extends(Tr(xi)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=Zi.messages.placeholder(),this.addI18nContext(Zi)}render(){var t,o;let r={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(o=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==o&&o,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return e.html`
1124
+ `}onSuggestKeyDown(t){var e,o,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(o=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==o?o:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.dispatchEvent(new Di(e))}getIcon(t){const e="DOCUMENT"===t.type?er.file_format:er.fluid_topics;let r;switch(t.type){case"MAP":r="BOOK"===t.editorialType?Yo.BOOK:Yo.ARTICLE;break;case"DOCUMENT":r=function(t,e){var o,r,i,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[a,l]=((null!==(o=tr.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Jo.get(l))&&void 0!==r?r:Jo.get(e))&&void 0!==i?i:Jo.get(a))&&void 0!==n?n:Vo.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":r=Yo.TOPICS}return o.html`
1125
+ <ft-icon .variant="${e}" .value="${r}" part="suggestion-icon"></ft-icon>
1126
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};Fi.elementDefinitions={"ft-ripple":te,"ft-typography":Me,"ft-icon":rr},Fi.styles=[e.wordWrap,Ki],Ai([e.redux()],Fi.prototype,"suggestResults",void 0),Fi=Ai([r.customElement("ft-search-input-suggestion")],Fi);var Bi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ti extends(Tr(xi)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=Zi.messages.placeholder(),this.addI18nContext(Zi)}render(){var t,e;let r={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(e=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==e&&e,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return o.html`
1127
1127
  <div class="${i.classMap(r)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1128
1128
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1129
1129
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -1141,7 +1141,7 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1141
1141
  ></ft-search-input-suggestion>
1142
1142
  </div>
1143
1143
  <div class="ft-search-input--actions" part="actions">
1144
- ${this.liveQuery?e.html`
1144
+ ${this.liveQuery?o.html`
1145
1145
  <ft-button id="clear-button"
1146
1146
  class="ft-search-input--clear-query"
1147
1147
  part="clear-query"
@@ -1161,50 +1161,50 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1161
1161
  ></ft-button>
1162
1162
  </div>
1163
1163
  </div>
1164
- `}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation()}}onSearchBarKeyUp(t){switch(t.key){case"Backspace":t.stopPropagation();break;case"Enter":this.launchSearch(this.input.value)}}onInput(t){var o;null===(o=this.stateManager)||void 0===o||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(t){this.launchSearch(t.detail)}}Ti.elementDefinitions={"ft-search-input-suggestion":Bi,"ft-button":sr},Ti.styles=[Wt,hr],Fi([o.redux()],Ti.prototype,"request",void 0),Fi([o.redux()],Ti.prototype,"liveQuery",void 0),Fi([o.redux()],Ti.prototype,"suggestResults",void 0),Fi([r.state()],Ti.prototype,"forceCloseSuggestion",void 0),Fi([r.property({type:String})],Ti.prototype,"placeholder",void 0),Fi([r.query(".ft-search-input--input")],Ti.prototype,"input",void 0),Fi([r.query("ft-search-input-suggestion")],Ti.prototype,"suggestion",void 0),o.customElement("ft-search-input")(Ti);const Hi=e.css`
1164
+ `}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation()}}onSearchBarKeyUp(t){switch(t.key){case"Backspace":t.stopPropagation();break;case"Enter":this.launchSearch(this.input.value)}}onInput(t){var e;null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(t){var e;null===(e=this.stateManager)||void 0===e||e.setQuery(t),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(t){this.launchSearch(t.detail)}}Ti.elementDefinitions={"ft-search-input-suggestion":Fi,"ft-button":sr},Ti.styles=[Wt,hr],Bi([e.redux()],Ti.prototype,"request",void 0),Bi([e.redux()],Ti.prototype,"liveQuery",void 0),Bi([e.redux()],Ti.prototype,"suggestResults",void 0),Bi([r.state()],Ti.prototype,"forceCloseSuggestion",void 0),Bi([r.property({type:String})],Ti.prototype,"placeholder",void 0),Bi([r.query(".ft-search-input--input")],Ti.prototype,"input",void 0),Bi([r.query("ft-search-input-suggestion")],Ti.prototype,"suggestion",void 0),e.customElement("ft-search-input")(Ti);const Hi=o.css`
1165
1165
  [part="no-results-message"] {
1166
1166
  text-align: center;
1167
1167
  padding: 12px;
1168
1168
  }
1169
- `,Pi=e.css`
1169
+ `,Pi=o.css`
1170
1170
  a {
1171
1171
  color: inherit;
1172
1172
  text-decoration: inherit;
1173
1173
  }
1174
- `;class Mi{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var ji=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 Gi extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class _i extends o.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Mi((t=>this.onResultSelected(t)))}render(){return e.html`
1174
+ `;class Mi{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,e){this.cluster=t,this.rank=e,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var ji=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gi extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class _i extends e.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Mi((t=>this.onResultSelected(t)))}render(){return o.html`
1175
1175
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1176
- `}onResultSelected(t){this.result=t,this.dispatchEvent(new Gi(this.result))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}_i.elementDefinitions={},_i.styles=Pi,ji([r.property({attribute:!1})],_i.prototype,"cluster",void 0),ji([r.state()],_i.prototype,"result",void 0),ji([r.property()],_i.prototype,"index",void 0),o.customElement("ft-search-result-context")(_i);var qi=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 Yi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Vi=Symbol("registerInterval");class Qi extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Vi]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Vi]):this.dispatchEvent(new Yi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=Vi,qi([r.property({attribute:!1})],e.prototype,"cluster",void 0),qi([r.property({attribute:!1})],e.prototype,"result",void 0),qi([r.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(xi)){}
1176
+ `}onResultSelected(t){this.result=t,this.dispatchEvent(new Gi(this.result))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}_i.elementDefinitions={},_i.styles=Pi,ji([r.property({attribute:!1})],_i.prototype,"cluster",void 0),ji([r.state()],_i.prototype,"result",void 0),ji([r.property()],_i.prototype,"index",void 0),e.customElement("ft-search-result-context")(_i);var qi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Vi=Symbol("registerInterval");class Qi extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Vi]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Vi]):this.dispatchEvent(new Yi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Vi,qi([r.property({attribute:!1})],o.prototype,"cluster",void 0),qi([r.property({attribute:!1})],o.prototype,"result",void 0),qi([r.property({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}(xi)){}
1177
1177
  /**
1178
1178
  * @license
1179
1179
  * Copyright 2018 Google LLC
1180
1180
  * SPDX-License-Identifier: BSD-3-Clause
1181
- */function Xi(t){var o,e,r,i,n;return(null!==(i=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.openMode)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.openMode)===li.EXTERNAL}function Ji(t){var o,e,r,i,n;if(Xi(t))return null!==(i=null!==(e=null===(o=t.map)||void 0===o?void 0:o.originUrl)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.originUrl)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.originUrl;switch(t.type){case ci.MAP:return t.map.readerUrl;case ci.DOCUMENT:return t.document.viewerUrl;case ci.TOPIC:return t.topic.readerUrl}return""}function tn(t,o){return(t=>t??No)(o&&Xi(t)?"_blank":void 0)}class on extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class en extends Qi{render(){var t;return this.result?e.html`
1181
+ */function Xi(t){var e,o,r,i,n;return(null!==(i=null!==(o=null===(e=t.map)||void 0===e?void 0:e.openMode)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.openMode)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.openMode)===li.EXTERNAL}function Ji(t){var e,o,r,i,n;if(Xi(t))return null!==(i=null!==(o=null===(e=t.map)||void 0===e?void 0:e.originUrl)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.originUrl)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.originUrl;switch(t.type){case ci.MAP:return t.map.readerUrl;case ci.DOCUMENT:return t.document.viewerUrl;case ci.TOPIC:return t.topic.readerUrl}return""}function tn(t,e){return(t=>t??we)(e&&Xi(t)?"_blank":void 0)}class en extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class on extends Qi{render(){var t;return this.result?o.html`
1182
1182
  <a href="${this.result?Ji(this.result):""}" @click=${this.onResultClick} target="${tn(this.result,null===(t=this.stateManager)||void 0===t?void 0:t.openExternalDocumentInNewTab)}">
1183
1183
  <ft-typography variant="title" part="text">${n.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
1184
1184
  </a>
1185
- `:e.nothing}onResultClick(){this.dispatchEvent(new on(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}en.elementDefinitions={"ft-typography":jo},en.styles=br,o.customElement("ft-search-result-title")(en);class rn extends Qi{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
1185
+ `:o.nothing}onResultClick(){this.dispatchEvent(new en(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}on.elementDefinitions={"ft-typography":Me},on.styles=br,e.customElement("ft-search-result-title")(on);class rn extends Qi{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?o.html`
1186
1186
  <ft-typography variant="body1" part="text">${n.unsafeHTML(t)}</ft-typography>
1187
- `:e.html`
1187
+ `:o.html`
1188
1188
  <style>
1189
1189
  :host {
1190
1190
  display: none !important;
1191
1191
  }
1192
1192
  </style>
1193
- `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}rn.elementDefinitions={"ft-typography":jo},rn.styles=gr,o.customElement("ft-search-result-abstract")(rn);var nn=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 an extends(Tr(xi)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
1193
+ `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}rn.elementDefinitions={"ft-typography":Me},rn.styles=gr,e.customElement("ft-search-result-abstract")(rn);var nn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class an extends(Tr(xi)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>o.html`
1194
1194
  <ft-search-result-title></ft-search-result-title>
1195
1195
  <ft-search-result-abstract></ft-search-result-abstract>
1196
- `,this.selectedResultByCluster={},this.addI18nContext(Ui)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return e.html`
1196
+ `,this.selectedResultByCluster={},this.addI18nContext(Ui)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return o.html`
1197
1197
  <ft-typography part="no-results-message" variant="body1">${Ui.messages.results(0)}</ft-typography>
1198
- `;const t=this.buildClusters();return a.repeat(t,(t=>t.id),((t,o)=>{var r;return e.html`
1199
- <ft-search-result-context .cluster=${t} index="${o}"
1200
- @ft-search-result-cluster-change="${o=>this.onClusterChange(t.id,o.detail)}">
1201
- ${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],o)}
1198
+ `;const t=this.buildClusters();return a.repeat(t,(t=>t.id),((t,e)=>{var r;return o.html`
1199
+ <ft-search-result-context .cluster=${t} index="${e}"
1200
+ @ft-search-result-cluster-change="${e=>this.onClusterChange(t.id,e.detail)}">
1201
+ ${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],e)}
1202
1202
  </ft-search-result-context>
1203
- `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){return"display-all-results"===this.clusterPolicy?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==o?o:[]}buildAllResultsClusters(){var t,o;let e=null!==(o=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==o?o:[];return this.request&&1===this.request.paging.page?e.slice(0,this.request.paging.perPage):e}clusterId(t){var o,e,r,i,n;return null!==(i=null!==(e=null===(o=t.map)||void 0===o?void 0:o.mapId)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.documentId}}an.styles=Hi,nn([r.property({type:String,attribute:"cluster-policy"})],an.prototype,"clusterPolicy",void 0),nn([r.property({type:Boolean})],an.prototype,"displayNoResultsMessage",void 0),nn([r.property({attribute:!1})],an.prototype,"renderResult",void 0),nn([o.redux()],an.prototype,"request",void 0),nn([o.redux()],an.prototype,"results",void 0),o.customElement("ft-search-results")(an);var ln=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 sn extends o.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){const t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return e.html`
1203
+ `}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){return"display-all-results"===this.clusterPolicy?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==e?e:[]}buildAllResultsClusters(){var t,e;let o=null!==(e=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==e?e:[];return this.request&&1===this.request.paging.page?o.slice(0,this.request.paging.perPage):o}clusterId(t){var e,o,r,i,n;return null!==(i=null!==(o=null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==i?i:null===(n=t.document)||void 0===n?void 0:n.documentId}}an.styles=Hi,nn([r.property({type:String,attribute:"cluster-policy"})],an.prototype,"clusterPolicy",void 0),nn([r.property({type:Boolean})],an.prototype,"displayNoResultsMessage",void 0),nn([r.property({attribute:!1})],an.prototype,"renderResult",void 0),nn([e.redux()],an.prototype,"request",void 0),nn([e.redux()],an.prototype,"results",void 0),e.customElement("ft-search-results")(an);var ln=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sn extends e.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){const t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return o.html`
1204
1204
  <div id="container" part="container" class=${i.classMap(t)}>
1205
- ${this.clickable?e.html`
1205
+ ${this.clickable?o.html`
1206
1206
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1207
- `:e.nothing}
1207
+ `:o.nothing}
1208
1208
  <div id="header" part="header">
1209
1209
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
1210
1210
  <slot name="header"></slot>
@@ -1218,48 +1218,48 @@ const Do=Symbol.for(""),Bo=t=>{if(t?.r===Do)return t?._$litStatic$},Fo=t=>({_$li
1218
1218
  </ft-typography>
1219
1219
  </div>
1220
1220
  </div>
1221
- `}}sn.elementDefinitions={"ft-ripple":to,"ft-typography":jo},sn.styles=b,ln([r.property()],sn.prototype,"title",void 0),ln([r.property({type:Boolean})],sn.prototype,"clickable",void 0),ln([r.property({type:Boolean})],sn.prototype,"selected",void 0),ln([r.property({type:Boolean})],sn.prototype,"noHeader",void 0),o.customElement("ft-card")(sn);const cn=e.css`
1222
- `,pn=Gr.fromGwt("designedActionBlockAriaLabels");var fn=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 dn extends(Tr(xi)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(pn)}render(){return this.isLastPage?e.nothing:e.html`
1221
+ `}}sn.elementDefinitions={"ft-ripple":te,"ft-typography":Me},sn.styles=b,ln([r.property()],sn.prototype,"title",void 0),ln([r.property({type:Boolean})],sn.prototype,"clickable",void 0),ln([r.property({type:Boolean})],sn.prototype,"selected",void 0),ln([r.property({type:Boolean})],sn.prototype,"noHeader",void 0),e.customElement("ft-card")(sn);const cn=o.css`
1222
+ `,pn=Gr.fromGwt("designedActionBlockAriaLabels");var fn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dn extends(Tr(xi)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(pn)}render(){return this.isLastPage?o.nothing:o.html`
1223
1223
  <ft-button @click="${this.loadMore}">
1224
1224
  ${pn.messages.searchPageLoadMore()}
1225
1225
  </ft-button>
1226
- `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}dn.elementDefinitions={"ft-button":sr},dn.styles=cn,fn([o.redux({store:"search",selector:t=>{var o,e;return null!==(e=null===(o=t.paging)||void 0===o?void 0:o.currentPage)&&void 0!==e?e:1}})],dn.prototype,"currentPage",void 0),fn([o.redux({store:"search",selector:t=>{var o,e;return null===(e=null===(o=t.paging)||void 0===o?void 0:o.isLastPage)||void 0===e||e}})],dn.prototype,"isLastPage",void 0),o.customElement("ft-search-load-more-button")(dn);class hn extends CustomEvent{constructor(t){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:t})}}const un=Gr.build("designedReaderSearchInDocument");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,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 yn extends(Tr(Ri)){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(999e3*Math.random())).padStart(6,"0"),this.addI18nContext(un)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,o){var r;return e.html`
1226
+ `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}dn.elementDefinitions={"ft-button":sr},dn.styles=cn,fn([e.redux({store:"search",selector:t=>{var e,o;return null!==(o=null===(e=t.paging)||void 0===e?void 0:e.currentPage)&&void 0!==o?o:1}})],dn.prototype,"currentPage",void 0),fn([e.redux({store:"search",selector:t=>{var e,o;return null===(o=null===(e=t.paging)||void 0===e?void 0:e.isLastPage)||void 0===o||o}})],dn.prototype,"isLastPage",void 0),e.customElement("ft-search-load-more-button")(dn);class hn extends CustomEvent{constructor(t){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:t})}}const un=Gr.build("designedReaderSearchInDocument");var gn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yn extends(Tr(Ri)){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(999e3*Math.random())).padStart(6,"0"),this.addI18nContext(un)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,e){var r;return o.html`
1227
1227
  <style> ${vr}</style>
1228
- <a href="${Ji(t)}" @click="${()=>this.onLinkClick(t,o)} }">
1228
+ <a href="${Ji(t)}" @click="${()=>this.onLinkClick(t,e)} }">
1229
1229
  <ft-card clickable noheader>
1230
1230
  <div class="result-container">
1231
- ${this.hideResultTitle?e.nothing:e.html`
1231
+ ${this.hideResultTitle?o.nothing:o.html`
1232
1232
  <ft-search-result-title></ft-search-result-title>`}
1233
- ${this.hideResultBreadcrumb?e.nothing:e.html`
1233
+ ${this.hideResultBreadcrumb?o.nothing:o.html`
1234
1234
  <ft-typography class="breadcrumb" variant="caption">${null===(r=t.topic)||void 0===r?void 0:r.breadcrumb.join(" > ")}</ft-typography>
1235
1235
  `}
1236
- ${this.hideResultAbstract?e.nothing:e.html`
1236
+ ${this.hideResultAbstract?o.nothing:o.html`
1237
1237
  <ft-search-result-abstract></ft-search-result-abstract>
1238
1238
  `}
1239
1239
  </div>
1240
1240
  </ft-card>
1241
1241
  </a>
1242
- `}render(){return this.map?e.html`
1242
+ `}render(){return this.map?o.html`
1243
1243
  <ft-search-context id="${this.uniqueId}"
1244
1244
  contentLocale="${this.map.lang}"
1245
1245
  query="${this.searchInDocumentQuery}"
1246
1246
  .filters=${this.filters}
1247
1247
  scope="ALL_TOPICS"
1248
1248
  ignoreEmptyQuery
1249
- @ft-search-request-change=${t=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setSearchInDocumentQuery(t.detail.query)}}
1250
- @ft-search-results-change=${t=>{var o,e;this.userHasDoneManualAction&&(this.dispatchEvent(new hn({mapId:this.map.id,mapTitle:this.map.title,metadata:null!==(e=null===(o=this.map)||void 0===o?void 0:o.metadata)&&void 0!==e?e:[],query:t.detail.request.query,searchResultsCount:t.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1249
+ @ft-search-request-change=${t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentQuery(t.detail.query)}}
1250
+ @ft-search-results-change=${t=>{var e,o;this.userHasDoneManualAction&&(this.dispatchEvent(new hn({mapId:this.map.id,mapTitle:this.map.title,metadata:null!==(o=null===(e=this.map)||void 0===e?void 0:e.metadata)&&void 0!==o?o:[],query:t.detail.request.query,searchResultsCount:t.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1251
1251
  <div class="ft-search-in-doc--container">
1252
1252
  <ft-search-input placeholder=${un.messages.placeholder()} @change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
1253
- ${this.hideResultsNumber?e.nothing:e.html`
1253
+ ${this.hideResultsNumber?o.nothing:o.html`
1254
1254
  <ft-search-results-number @ft-search-result-click=${t=>t.stopPropagation()}></ft-search-results-number>
1255
1255
  `}
1256
1256
  <ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
1257
1257
  cluster-policy="display-all-results"
1258
- .renderResult=${(t,o)=>this.renderResult(t,o)}>
1258
+ .renderResult=${(t,e)=>this.renderResult(t,e)}>
1259
1259
  </ft-search-results>
1260
1260
  <slot name="load-more">
1261
1261
  <ft-search-load-more-button></ft-search-load-more-button>
1262
1262
  </slot>
1263
1263
  </div>
1264
1264
  </ft-search-context>
1265
- `:e.nothing}update(t){super.update(t),t.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some((o=>t.has(o)))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(t,o){this.dispatchEvent(new on(t,o))}}yn.elementDefinitions={"ft-button":sr,"ft-typography":jo,"ft-search-context":Ci,"ft-search-input":Ti,"ft-search-results-number":zi,"ft-search-results":an,"ft-search-load-more-button":dn},yn.styles=xr,gn([o.redux()],yn.prototype,"map",void 0),gn([o.redux()],yn.prototype,"searchInDocumentQuery",void 0),gn([r.query("ft-search-context")],yn.prototype,"searchContext",void 0),gn([r.query("ft-search-results")],yn.prototype,"searchResults",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultTitle",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultBreadcrumb",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultAbstract",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultsNumber",void 0),o.customElement("ft-reader-search-in-document")(yn),t.FtReaderSearchInDocument=yn,t.FtReaderSearchInDocumentCssVariables=mr,t.resultStyles=vr,t.styles=xr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1265
+ `:o.nothing}update(t){super.update(t),t.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some((e=>t.has(e)))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(t,e){this.dispatchEvent(new en(t,e))}}yn.elementDefinitions={"ft-button":sr,"ft-typography":Me,"ft-search-context":Ci,"ft-search-input":Ti,"ft-search-results-number":zi,"ft-search-results":an,"ft-search-load-more-button":dn},yn.styles=xr,gn([e.redux()],yn.prototype,"map",void 0),gn([e.redux()],yn.prototype,"searchInDocumentQuery",void 0),gn([r.query("ft-search-context")],yn.prototype,"searchContext",void 0),gn([r.query("ft-search-results")],yn.prototype,"searchResults",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultTitle",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultBreadcrumb",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultAbstract",void 0),gn([r.property({type:Boolean})],yn.prototype,"hideResultsNumber",void 0),e.customElement("ft-reader-search-in-document")(yn),t.FtReaderSearchInDocument=yn,t.FtReaderSearchInDocumentCssVariables=mr,t.resultStyles=vr,t.styles=xr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);