@fluid-topics/ft-reader-search-in-document 1.1.32 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,7 +188,7 @@
188
188
  #action {
189
189
  grid-area: actions;
190
190
  }
191
- `,m=t=>"string"==typeof t?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","#ee8d17"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:x.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:x.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:x.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:x.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:x.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:x.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:x.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:x.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:x.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:x.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:x.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:x.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:x.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:x.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:x.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:x.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:x.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:x.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:x.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:x.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:x.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:x.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:x.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:x.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:x.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:x.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:x.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:x.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:x.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:x.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:x.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:x.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:x.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:x.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:x.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:x.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:x.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:x.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:x.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:x.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:x.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:x.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:x.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:x.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:x.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:x.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:x.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:x.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:x.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:x.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:x.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:x.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:x.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:x.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:x.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:x.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:x.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:x.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:x.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:x.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:x.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:x.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:x.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:x.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:x.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:x.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:x.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:x.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:x.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:x.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:x.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:x.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:x.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:x.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:x.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:x.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:x.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:x.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:x.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:x.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:x.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:x.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:x.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:x.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:x.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:x.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:x.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:x.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:x.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:x.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:x.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:x.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:x.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:x.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:x.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:x.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:x.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:x.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:x.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:x.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:x.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:x.create("--ft-icon-size-6","","SIZE","48px"),opacity0:x.create("--ft-opacity-0","","NUMBER","0"),opacity8:x.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:x.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:x.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:x.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:x.create("--ft-opacity-80","","NUMBER","0.8"),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-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")}},N={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",v.colorBrand0),backgroundErrorPrimary:x.extend("--ft-background-error-primary","Used as background of error components.",v.colorRed0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",v.colorRed10),backgroundInfoPrimary:x.extend("--ft-background-info-primary","Used as background of information components.",v.colorCyan200),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",v.colorCyan10),backgroundWarningPrimary:x.extend("--ft-background-warning-primary","Used as background of warning components.",v.colorOrange300),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",v.colorOrange10),backgroundSuccessPrimary:x.extend("--ft-background-success-primary","Used as background of success components.",v.colorGreen200),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.colorOrange300),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.colorRed0),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.colorOrange300),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)},w={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","",N.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",N.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",N.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",N.contentGlobalOnColor),primaryStateLayerOpacityHover:x.extend("--ft-button-primary-state-layer-opacity-hover","",v.opacity16),primaryStateLayerOpacityFocus:x.extend("--ft-button-primary-state-layer-opacity-focus","",v.opacity16),primaryStateLayerOpacityActive:x.extend("--ft-button-primary-state-layer-opacity-active","",v.opacity24),primaryComponentOpacityDisabled:x.extend("--ft-button-primary-component-opacity-disabled","",v.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",N.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",N.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",N.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",N.contentActionPrimary),tertiaryStateLayerOpacityHover:x.extend("--ft-button-tertiary-state-layer-opacity-hover","",v.opacity8),tertiaryStateLayerOpacityFocus:x.extend("--ft-button-tertiary-state-layer-opacity-focus","",v.opacity8),tertiaryStateLayerOpacityActive:x.extend("--ft-button-tertiary-state-layer-opacity-active","",v.opacity16),tertiaryComponentOpacityDisabled:x.extend("--ft-button-tertiary-component-opacity-disabled","",v.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",N.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",N.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",N.contentActionPrimary),secondaryStateLayerOpacityHover:x.extend("--ft-button-secondary-state-layer-opacity-hover","",v.opacity8),secondaryStateLayerOpacityFocus:x.extend("--ft-button-secondary-state-layer-opacity-focus","",v.opacity8),secondaryStateLayerOpacityActive:x.extend("--ft-button-secondary-state-layer-opacity-active","",v.opacity16),secondaryComponentOpacityDisabled:x.extend("--ft-button-secondary-component-opacity-disabled","",v.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",N.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",N.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",N.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",N.contentGlobalSecondary),neutralStateLayerOpacityHover:x.extend("--ft-button-neutral-state-layer-opacity-hover","",v.opacity8),neutralStateLayerOpacityFocus:x.extend("--ft-button-neutral-state-layer-opacity-focus","",v.opacity8),neutralStateLayerOpacityActive:x.extend("--ft-button-neutral-state-layer-opacity-active","",v.opacity16),neutralComponentOpacityDisabled:x.extend("--ft-button-neutral-component-opacity-disabled","",v.opacity40)};x.extend("--ft-floating-menu-horizontal-padding","",v.spacing4),x.extend("--ft-floating-menu-vertical-padding","",v.spacing4),x.extend("--ft-floating-menu-off-icon-color","",N.contentGlobalPrimary),x.extend("--ft-floating-menu-off-color","",N.contentGlobalPrimary),x.extend("--ft-floating-menu-on-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-on-icon-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-gap","",v.spacing3),x.extend("--ft-floating-menu-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),x.extend("--ft-floating-menu-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-floating-menu-state-layer-opacity-active","",v.opacity16),x.extend("--ft-floating-menu-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-floating-menu-component-opacity-disabled","",v.opacity40),x.extend("--ft-floating-menu-icon-size","",v.iconSize3),x.extend("--ft-floating-menu-background-color","",N.backgroundGlobalOnSurface),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-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","",N.borderActionFocusRing),x.extend("--ft-tabs-off-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-tabs-off-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-tabs-off-state-layer-opacity-active","",v.opacity16),x.extend("--ft-tabs-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-tabs-off-color","",N.contentGlobalSubtle),x.extend("--ft-tabs-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-tabs-on-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-tabs-on-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-tabs-on-state-layer-opacity-active","",v.opacity16),x.extend("--ft-tabs-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-tabs-on-color","",N.contentActionPrimary),x.extend("--ft-tabs-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-collapsible-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-collapsible-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-collapsible-state-layer-opacity-active","",v.opacity16),x.extend("--ft-collapsible-component-opacity-disabled","",v.opacity40),x.extend("--ft-collapsible-horizontal-padding","",v.spacing4),x.extend("--ft-collapsible-vertical-padding","",v.spacing3),x.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),x.extend("--ft-collapsible-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-collapsible-color","",N.contentGlobalPrimary),x.extend("--ft-collapsible-state-layer-color","",N.contentGlobalPrimary),x.extend("--ft-collapsible-background-color","",N.backgroundGlobalOnSurface),x.extend("--ft-collapsible-border-color","",N.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","",N.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",N.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",v.spacing2),x.extend("--ft-switch-label-vertical-padding","",v.spacing1),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","",N.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",v.borderRadiusS),x.extend("--ft-switch-off-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-switch-off-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-switch-off-state-layer-opacity-active","",v.opacity16),x.extend("--ft-switch-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-switch-off-color","",N.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-switch-on-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-switch-on-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-switch-on-state-layer-opacity-active","",v.opacity16),x.extend("--ft-switch-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-switch-on-color","",N.contentActionPrimary),x.extend("--ft-switch-on-state-layer-color","",N.contentActionPrimary),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","",N.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",N.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",N.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",N.contentInfoPrimary),x.extend("--ft-chip-info-border-color","",N.borderInfoSubtle),x.extend("--ft-chip-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",N.contentSuccessPrimary),x.extend("--ft-chip-success-border-color","",N.borderSuccessSubtle),x.extend("--ft-chip-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",N.contentWarningPrimary),x.extend("--ft-chip-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-chip-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",N.contentErrorPrimary),x.extend("--ft-chip-error-border-color","",N.borderErrorSubtle),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","",N.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",N.borderInfoSubtle),x.extend("--ft-notice-info-color","",N.contentInfoPrimary),x.extend("--ft-notice-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-notice-warning-color","",N.contentWarningPrimary),x.extend("--ft-checkbox-label-color","",N.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-color","",N.contentGlobalOnColor),x.extend("--ft-checkbox-checked-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-active","",v.opacity24),x.extend("--ft-checkbox-checked-component-opacity-disabled","",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-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",v.opacity24),x.extend("--ft-checkbox-unchecked-component-opacity-disabled","",v.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",v.spacing3),x.extend("--ft-toggle-off-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-active","",v.opacity24),x.extend("--ft-toggle-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-toggle-off-background-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-on-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-active","",v.opacity24),x.extend("--ft-toggle-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-toggle-on-background-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-toggle-label-color","",N.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-toggle-gap","",v.spacing3),x.extend("--ft-radio-label-color","",N.contentGlobalPrimary),x.extend("--ft-radio-selected-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-active","",v.opacity24),x.extend("--ft-radio-selected-component-opacity-disabled","",v.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",v.colorGray80),x.extend("--ft-radio-unselected-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-active","",v.opacity24),x.extend("--ft-radio-unselected-component-opacity-disabled","",v.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",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","",N.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",N.contentInfoPrimary),x.extend("--ft-notification-info-border-color","",N.borderInfoSubtle),x.extend("--ft-notification-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",N.contentSuccessPrimary),x.extend("--ft-notification-success-border-color","",N.borderSuccessSubtle),x.extend("--ft-notification-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",N.contentWarningPrimary),x.extend("--ft-notification-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-notification-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",N.contentErrorPrimary),x.extend("--ft-notification-error-border-color","",N.borderErrorSubtle),x.extend("--ft-notification-border-radius","",v.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-gap-leading","",v.spacing2),x.extend("--ft-notification-gap-trailing","",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-label","",N.contentGlobalOnColor),x.extend("--ft-tooltip-background","",N.contentGlobalPrimary),x.extend("--ft-tooltip-background-opacity","",v.opacity80),x.extend("--ft-tooltip-shadow","",v.shadowElevation03);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),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),D=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"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),H=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"),st=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=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"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=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),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),wt=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?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","#ee8d17"),colorOrange10:x.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:x.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:x.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:x.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:x.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:x.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:x.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:x.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:x.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:x.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:x.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:x.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:x.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:x.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:x.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:x.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:x.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:x.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:x.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:x.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:x.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:x.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:x.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:x.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:x.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:x.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:x.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:x.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:x.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:x.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:x.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:x.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:x.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:x.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:x.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:x.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:x.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:x.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:x.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:x.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:x.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:x.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:x.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:x.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:x.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:x.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:x.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:x.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:x.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:x.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:x.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:x.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:x.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:x.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:x.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:x.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:x.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:x.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:x.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:x.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:x.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:x.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:x.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:x.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:x.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:x.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:x.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:x.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:x.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:x.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:x.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:x.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:x.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:x.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:x.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:x.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:x.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:x.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:x.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:x.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:x.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:x.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:x.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:x.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:x.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:x.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:x.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:x.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:x.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:x.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:x.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:x.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:x.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:x.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:x.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:x.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:x.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:x.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:x.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:x.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:x.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:x.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:x.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:x.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:x.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:x.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:x.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:x.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:x.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:x.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:x.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:x.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:x.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:x.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:x.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:x.create("--ft-icon-size-6","","SIZE","48px"),opacity0:x.create("--ft-opacity-0","","NUMBER","0"),opacity8:x.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:x.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:x.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:x.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:x.create("--ft-opacity-80","","NUMBER","0.8"),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-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")}},N={backgroundActionPrimary:x.extend("--ft-background-action-primary","Used as backgorund of primary action components.",v.colorBrand0),backgroundErrorPrimary:x.extend("--ft-background-error-primary","Used as background of error components.",v.colorRed0),backgroundErrorSubtle:x.extend("--ft-background-error-subtle","Used as background of subtle error components.",v.colorRed10),backgroundInfoPrimary:x.extend("--ft-background-info-primary","Used as background of information components.",v.colorCyan200),backgroundInfoSubtle:x.extend("--ft-background-info-subtle","Used as background of subtle information components.",v.colorCyan10),backgroundWarningPrimary:x.extend("--ft-background-warning-primary","Used as background of warning components.",v.colorOrange300),backgroundWarningSubtle:x.extend("--ft-background-warning-subtle","Used as background of subtle information components.",v.colorOrange10),backgroundSuccessPrimary:x.extend("--ft-background-success-primary","Used as background of success components.",v.colorGreen200),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.colorOrange300),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.colorRed0),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.colorOrange300),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)},w={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","",N.backgroundActionPrimary),primaryColor:x.extend("--ft-button-primary-color","",N.contentGlobalOnColor),primaryIconColor:x.extend("--ft-button-primary-icon-color","",N.contentGlobalOnColor),primaryStateLayerColor:x.extend("--ft-button-primary-state-layer-color","",N.contentGlobalOnColor),primaryStateLayerOpacityHover:x.extend("--ft-button-primary-state-layer-opacity-hover","",v.opacity16),primaryStateLayerOpacityFocus:x.extend("--ft-button-primary-state-layer-opacity-focus","",v.opacity16),primaryStateLayerOpacityActive:x.extend("--ft-button-primary-state-layer-opacity-active","",v.opacity24),primaryComponentOpacityDisabled:x.extend("--ft-button-primary-component-opacity-disabled","",v.opacity40),focusFocusRingColor:x.extend("--ft-button-focus-focus-ring-color","",N.borderActionFocusRing),tertiaryBackgroundColor:x.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:x.extend("--ft-button-tertiary-color","",N.contentActionPrimary),tertiaryIconColor:x.extend("--ft-button-tertiary-icon-color","",N.contentActionPrimary),tertiaryStateLayerColor:x.extend("--ft-button-tertiary-state-layer-color","",N.contentActionPrimary),tertiaryStateLayerOpacityHover:x.extend("--ft-button-tertiary-state-layer-opacity-hover","",v.opacity8),tertiaryStateLayerOpacityFocus:x.extend("--ft-button-tertiary-state-layer-opacity-focus","",v.opacity8),tertiaryStateLayerOpacityActive:x.extend("--ft-button-tertiary-state-layer-opacity-active","",v.opacity16),tertiaryComponentOpacityDisabled:x.extend("--ft-button-tertiary-component-opacity-disabled","",v.opacity40),secondaryBackgroundColor:x.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:x.extend("--ft-button-secondary-color","",N.contentActionPrimary),secondaryIconColor:x.extend("--ft-button-secondary-icon-color","",N.contentActionPrimary),secondaryStateLayerColor:x.extend("--ft-button-secondary-state-layer-color","",N.contentActionPrimary),secondaryStateLayerOpacityHover:x.extend("--ft-button-secondary-state-layer-opacity-hover","",v.opacity8),secondaryStateLayerOpacityFocus:x.extend("--ft-button-secondary-state-layer-opacity-focus","",v.opacity8),secondaryStateLayerOpacityActive:x.extend("--ft-button-secondary-state-layer-opacity-active","",v.opacity16),secondaryComponentOpacityDisabled:x.extend("--ft-button-secondary-component-opacity-disabled","",v.opacity40),secondaryBorderColor:x.extend("--ft-button-secondary-border-color","",N.borderActionPrimary),neutralBackgroundColor:x.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:x.extend("--ft-button-neutral-icon-color","",N.contentGlobalSecondary),neutralColor:x.extend("--ft-button-neutral-color","",N.contentGlobalSecondary),neutralStateLayerColor:x.extend("--ft-button-neutral-state-layer-color","",N.contentGlobalSecondary),neutralStateLayerOpacityHover:x.extend("--ft-button-neutral-state-layer-opacity-hover","",v.opacity8),neutralStateLayerOpacityFocus:x.extend("--ft-button-neutral-state-layer-opacity-focus","",v.opacity8),neutralStateLayerOpacityActive:x.extend("--ft-button-neutral-state-layer-opacity-active","",v.opacity16),neutralComponentOpacityDisabled:x.extend("--ft-button-neutral-component-opacity-disabled","",v.opacity40)};x.extend("--ft-floating-menu-horizontal-padding","",v.spacing4),x.extend("--ft-floating-menu-vertical-padding","",v.spacing4),x.extend("--ft-floating-menu-off-icon-color","",N.contentGlobalPrimary),x.extend("--ft-floating-menu-off-color","",N.contentGlobalPrimary),x.extend("--ft-floating-menu-on-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-on-icon-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-floating-menu-gap","",v.spacing3),x.extend("--ft-floating-menu-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),x.extend("--ft-floating-menu-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-floating-menu-state-layer-opacity-active","",v.opacity16),x.extend("--ft-floating-menu-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-floating-menu-component-opacity-disabled","",v.opacity40),x.extend("--ft-floating-menu-icon-size","",v.iconSize3),x.extend("--ft-floating-menu-background-color","",N.backgroundGlobalOnSurface),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-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","",N.borderActionFocusRing),x.extend("--ft-tabs-off-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-tabs-off-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-tabs-off-state-layer-opacity-active","",v.opacity16),x.extend("--ft-tabs-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-tabs-off-color","",N.contentGlobalSubtle),x.extend("--ft-tabs-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-tabs-on-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-tabs-on-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-tabs-on-state-layer-opacity-active","",v.opacity16),x.extend("--ft-tabs-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-tabs-on-color","",N.contentActionPrimary),x.extend("--ft-tabs-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-collapsible-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-collapsible-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-collapsible-state-layer-opacity-active","",v.opacity16),x.extend("--ft-collapsible-component-opacity-disabled","",v.opacity40),x.extend("--ft-collapsible-horizontal-padding","",v.spacing4),x.extend("--ft-collapsible-vertical-padding","",v.spacing3),x.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),x.extend("--ft-collapsible-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-collapsible-color","",N.contentGlobalPrimary),x.extend("--ft-collapsible-state-layer-color","",N.contentGlobalPrimary),x.extend("--ft-collapsible-background-color","",N.backgroundGlobalOnSurface),x.extend("--ft-collapsible-border-color","",N.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","",N.backgroundGlobalSurface),x.extend("--ft-switch-group-border-color","",N.borderGlobalSubtle),x.create("--ft-switch-group-border-radius","","SIZE","6px"),x.extend("--ft-switch-label-horizontal-padding","",v.spacing2),x.extend("--ft-switch-label-vertical-padding","",v.spacing1),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","",N.borderActionFocusRing),x.extend("--ft-switch-option-border-radius","",v.borderRadiusS),x.extend("--ft-switch-off-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-switch-off-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-switch-off-state-layer-opacity-active","",v.opacity16),x.extend("--ft-switch-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-switch-off-color","",N.contentGlobalSubtle),x.extend("--ft-switch-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-switch-on-state-layer-opacity-hover","",v.opacity8),x.extend("--ft-switch-on-state-layer-opacity-focus","",v.opacity8),x.extend("--ft-switch-on-state-layer-opacity-active","",v.opacity16),x.extend("--ft-switch-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-switch-on-color","",N.contentActionPrimary),x.extend("--ft-switch-on-state-layer-color","",N.contentActionPrimary),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","",N.backgroundGlobalOnSurface),x.extend("--ft-chip-neutral-color","",N.contentGlobalPrimary),x.extend("--ft-chip-neutral-border-color","",N.borderGlobalSubtle),x.extend("--ft-chip-info-background-color","",N.backgroundInfoSubtle),x.extend("--ft-chip-info-color","",N.contentInfoPrimary),x.extend("--ft-chip-info-border-color","",N.borderInfoSubtle),x.extend("--ft-chip-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-chip-success-color","",N.contentSuccessPrimary),x.extend("--ft-chip-success-border-color","",N.borderSuccessSubtle),x.extend("--ft-chip-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-chip-warning-color","",N.contentWarningPrimary),x.extend("--ft-chip-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-chip-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-chip-error-color","",N.contentErrorPrimary),x.extend("--ft-chip-error-border-color","",N.borderErrorSubtle),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","",N.backgroundInfoSubtle),x.extend("--ft-notice-info-border-color","",N.borderInfoSubtle),x.extend("--ft-notice-info-color","",N.contentInfoPrimary),x.extend("--ft-notice-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notice-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-notice-warning-color","",N.contentWarningPrimary),x.extend("--ft-checkbox-label-color","",N.contentGlobalPrimary),x.extend("--ft-checkbox-checked-background-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-state-layer-color","",N.contentActionPrimary),x.extend("--ft-checkbox-checked-color","",N.contentGlobalOnColor),x.extend("--ft-checkbox-checked-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-checkbox-checked-state-layer-opacity-active","",v.opacity24),x.extend("--ft-checkbox-checked-component-opacity-disabled","",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-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",v.opacity24),x.extend("--ft-checkbox-unchecked-component-opacity-disabled","",v.opacity40),x.extend("--ft-checkbox-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),x.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),x.extend("--ft-checkbox-gap","",v.spacing3),x.extend("--ft-toggle-off-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-toggle-off-state-layer-opacity-active","",v.opacity24),x.extend("--ft-toggle-off-component-opacity-disabled","",v.opacity40),x.extend("--ft-toggle-off-background-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-icon-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-off-state-layer-color","",N.contentGlobalSubtle),x.extend("--ft-toggle-on-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-toggle-on-state-layer-opacity-active","",v.opacity24),x.extend("--ft-toggle-on-component-opacity-disabled","",v.opacity40),x.extend("--ft-toggle-on-background-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-icon-color","",N.contentActionPrimary),x.extend("--ft-toggle-on-state-layer-color","",N.contentActionPrimary),x.extend("--ft-toggle-label-color","",N.contentGlobalPrimary),x.extend("--ft-toggle-focus-focus-ring-color","",N.borderActionFocusRing),x.extend("--ft-toggle-gap","",v.spacing3),x.extend("--ft-radio-label-color","",N.contentGlobalPrimary),x.extend("--ft-radio-selected-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-color","",N.contentActionPrimary),x.extend("--ft-radio-selected-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-radio-selected-state-layer-opacity-active","",v.opacity24),x.extend("--ft-radio-selected-component-opacity-disabled","",v.opacity40),x.extend("--ft-radio-unselected-state-layer-color","",v.colorGray80),x.extend("--ft-radio-unselected-state-layer-opacity-hover","",v.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-focus","",v.opacity16),x.extend("--ft-radio-unselected-state-layer-opacity-active","",v.opacity24),x.extend("--ft-radio-unselected-component-opacity-disabled","",v.opacity40),x.extend("--ft-radio-focus-focus-ring-color","",N.borderActionFocusRing),x.create("--ft-radio-focus-outline-offset","","SIZE","3px"),x.create("--ft-radio-focus-outline-width","","SIZE","2px"),x.extend("--ft-radio-gap","",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","",N.backgroundInfoSubtle),x.extend("--ft-notification-info-color","",N.contentInfoPrimary),x.extend("--ft-notification-info-border-color","",N.borderInfoSubtle),x.extend("--ft-notification-success-background-color","",N.backgroundSuccessSubtle),x.extend("--ft-notification-success-color","",N.contentSuccessPrimary),x.extend("--ft-notification-success-border-color","",N.borderSuccessSubtle),x.extend("--ft-notification-warning-background-color","",N.backgroundWarningSubtle),x.extend("--ft-notification-warning-color","",N.contentWarningPrimary),x.extend("--ft-notification-warning-border-color","",N.borderWarningSubtle),x.extend("--ft-notification-error-background-color","",N.backgroundErrorSubtle),x.extend("--ft-notification-error-color","",N.contentErrorPrimary),x.extend("--ft-notification-error-border-color","",N.borderErrorSubtle),x.extend("--ft-notification-border-radius","",v.borderRadiusPill),x.create("--ft-notification-border-width","","SIZE","1px"),x.extend("--ft-notification-gap-leading","",v.spacing2),x.extend("--ft-notification-gap-trailing","",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-label","",N.contentGlobalOnColor),x.extend("--ft-tooltip-background","",N.contentGlobalPrimary),x.extend("--ft-tooltip-background-opacity","",v.opacity80),x.extend("--ft-tooltip-shadow","",v.shadowElevation03);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),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),A=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),D=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),Z=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"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),H=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"),st=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=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"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=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),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),wt=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`
192
192
  .ft-typography--title {
193
193
  font-family: ${E};
194
194
  font-size: ${I};
@@ -203,12 +203,12 @@
203
203
  font-size: ${K};
204
204
  font-weight: ${A};
205
205
  letter-spacing: ${B};
206
- line-height: ${z};
207
- text-transform: ${Z};
206
+ line-height: ${D};
207
+ text-transform: ${z};
208
208
  }
209
209
  `,kt=e.css`
210
210
  .ft-typography--subtitle1 {
211
- font-family: ${D};
211
+ font-family: ${Z};
212
212
  font-size: ${F};
213
213
  font-weight: ${T};
214
214
  letter-spacing: ${P};
@@ -270,7 +270,7 @@
270
270
  line-height: ${Ct};
271
271
  text-transform: ${$t};
272
272
  }
273
- `,zt=e.css`
273
+ `,Dt=e.css`
274
274
  .ft-typography--button {
275
275
  font-family: ${Et.fontFamily};
276
276
  font-size: ${Et.fontSize};
@@ -279,11 +279,11 @@
279
279
  line-height: ${Et.lineHeight};
280
280
  text-transform: ${Et.textTransform};
281
281
  }
282
- `,Zt=e.css`
282
+ `,zt=e.css`
283
283
  .ft-typography {
284
284
  vertical-align: inherit;
285
285
  }
286
- `,Dt=[Object.keys(O).map((t=>function(t){const o=O[t];return e.css`
286
+ `,Zt=[Object.keys(O).map((t=>function(t){const o=O[t];return e.css`
287
287
  .ft-typography--${e.unsafeCSS(t)} {
288
288
  font-family: ${o.fontFamily};
289
289
  font-size: ${o.fontSize};
@@ -563,20 +563,20 @@
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,so=`<${ao}>`,lo=document,co=()=>lo.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),No=Symbol.for("lit-noChange"),wo=Symbol.for("lit-nothing"),So=new WeakMap,Co=lo.createTreeWalker(lo,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 s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===uo?"!--"===l[1]?a=go:void 0!==l[1]?a=yo:void 0!==l[2]?(vo.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=bo):void 0!==l[3]&&(a=bo):a===bo?">"===l[0]?(a=i??uo,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?bo:'"'===l[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+so:c>=0?(r.push(s),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,s=this.parts,[l,c]=Eo(t,o);if(this.el=Io.createElement(l,e),Co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Co.nextNode())&&s.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);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Wo:"?"===a[1]?Ko:"@"===a[1]?Ao:Lo}),r.removeAttribute(t)}else t.startsWith(no)&&(s.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(),s.push({type:2,index:++i});r.append(t[o],co())}}}else if(8===r.nodeType)if(r.data===ao)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(no,t+1));)s.push({type:7,index:i}),t+=no.length-1}i++}}static createElement(t,o){const e=lo.createElement("template");return e.innerHTML=t,e}}function Ro(t,o,e=t,r){if(o===No)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=po(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=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??lo).importNode(o,!0);Co.currentNode=r;let i=Co.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new Uo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new Bo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=Co.nextNode(),n++)}return Co.currentNode=lo,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=wo,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===wo||null==t||""===t?(this._$AH!==wo&&this._$AR(),this._$AH=wo):t!==this._$AH&&t!==No&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>fo(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==wo&&po(this._$AH)?this._$AA.nextSibling.data=t:this.$(lo.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Io.createElement($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=wo,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=wo}_$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!==No,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Ro(this,r[e+a],o,a),s===No&&(s=this._$AH[a]),n||=!po(s)||s!==this._$AH[a],s===wo?t=wo:t!==wo&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===wo?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===wo?void 0:t}}class Ko extends Lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==wo)}}class Ao 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)??wo)===No)return;const e=this._$AH,r=t===wo&&e!==wo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==wo&&(e===wo||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 Bo{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 zo=oo.litHtmlPolyfillSupport;zo?.(Io,Uo),(oo.litHtmlVersions??=[]).push("3.1.0");
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,so=`<${ao}>`,lo=document,co=()=>lo.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),No=Symbol.for("lit-noChange"),wo=Symbol.for("lit-nothing"),So=new WeakMap,Co=lo.createTreeWalker(lo,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 s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===uo?"!--"===l[1]?a=go:void 0!==l[1]?a=yo:void 0!==l[2]?(vo.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=bo):void 0!==l[3]&&(a=bo):a===bo?">"===l[0]?(a=i??uo,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?bo:'"'===l[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+so:c>=0?(r.push(s),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,s=this.parts,[l,c]=Eo(t,o);if(this.el=Io.createElement(l,e),Co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Co.nextNode())&&s.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);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?Wo:"?"===a[1]?Ko:"@"===a[1]?Ao:Lo}),r.removeAttribute(t)}else t.startsWith(no)&&(s.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(),s.push({type:2,index:++i});r.append(t[o],co())}}}else if(8===r.nodeType)if(r.data===ao)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(no,t+1));)s.push({type:7,index:i}),t+=no.length-1}i++}}static createElement(t,o){const e=lo.createElement("template");return e.innerHTML=t,e}}function Ro(t,o,e=t,r){if(o===No)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=po(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=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??lo).importNode(o,!0);Co.currentNode=r;let i=Co.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new Uo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new Bo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=Co.nextNode(),n++)}return Co.currentNode=lo,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=wo,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===wo||null==t||""===t?(this._$AH!==wo&&this._$AR(),this._$AH=wo):t!==this._$AH&&t!==No&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>fo(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==wo&&po(this._$AH)?this._$AA.nextSibling.data=t:this.$(lo.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Io.createElement($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=wo,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=wo}_$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!==No,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Ro(this,r[e+a],o,a),s===No&&(s=this._$AH[a]),n||=!po(s)||s!==this._$AH[a],s===wo?t=wo:t!==wo&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===wo?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===wo?void 0:t}}class Ko extends Lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==wo)}}class Ao 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)??wo)===No)return;const e=this._$AH,r=t===wo&&e!==wo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==wo&&(e===wo||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 Bo{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 Do=oo.litHtmlPolyfillSupport;Do?.(Io,Uo),(oo.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 Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$litStatic$:t,r:Zo}),To=new Map,Po=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Do(n));)l+=i+o[++c],p=!0;c!==r&&s.push(n),a.push(l),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=s}return t(o,...e)})(Oo);var Ho;!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"}(Ho||(Ho={}));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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ho.body1}render(){return this.element?Po`
572
+ const zo=Symbol.for(""),Zo=t=>{if(t?.r===zo)return t?._$litStatic$},Fo=t=>({_$litStatic$:t,r:zo}),To=new Map,Po=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Zo(n));)l+=i+o[++c],p=!0;c!==r&&s.push(n),a.push(l),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=s}return t(o,...e)})(Oo);var Ho;!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"}(Ho||(Ho={}));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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ho.body1}render(){return this.element?Po`
573
573
  <${Fo(this.element)}
574
574
  class="ft-typography ft-typography--${this.variant}">
575
575
  <slot></slot>
576
576
  </${Fo(this.element)}>
577
577
  `:Po`
578
578
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
579
- `}}jo.styles=[It,Rt,kt,Ut,Lt,Wt,Kt,At,Bt,zt,Zt,...Dt],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
+ `}}jo.styles=[It,Rt,kt,Ut,Lt,Wt,Kt,At,Bt,Dt,zt,...Zt],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`
580
580
  .ft-tooltip--container {
581
581
  display: block;
582
582
  }
@@ -605,7 +605,7 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
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 se(t){return"y"===t?"height":"width"}function le(t){return["top","bottom"].includes(ie(t))?"y":"x"}function ce(t){return ae(le(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 he(t,o,e){let{reference:r,floating:i}=t;const n=le(o),a=ce(o),s=se(a),l=ie(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ne(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function de(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=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}}(d),g=s[h?"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(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=fe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):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:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Yo,autoAlignment:d=!0,...u}=re(t,o),g=void 0!==f||h===Yo?ue(f||null,d,h):h,y=await de(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=se(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==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==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}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=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=w.filter((t=>t[2].slice(0,ne(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==s?{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 Ne(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof be(t).ShadowRoot)}function we(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||Ne(t)&&t.host||me(t);return Ne(o)?o.host:o}function Ue(t){const o=ke(t);return Ee(o)?t.ownerDocument?t.ownerDocument.body:t.body:Oe(o)&&we(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||[],we(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,s=Xo(e)!==n||Xo(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ke(t){return ve(t)?t:t.contextElement}function Ae(t){const o=Ke(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,s=(n?Xo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Be=Jo(0);function ze(t){const o=be(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function Ze(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ke(t);let a=Jo(1);o&&(r?ve(r)&&(a=Ae(r)):a=Ae(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==be(t))&&o}(n,e,r)?ze(n):Jo(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=be(n),o=r&&ve(r)?be(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ae(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;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=be(e).frameElement}}return fe({width:p,height:f,x:l,y:c})}function De(t){return Ze(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,s=0,l=0;if(i){n=i.width,a=i.height;const t=$e();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=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+De(t);const s=-e.scrollTop;return"rtl"===Ie(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(me(t));else if(ve(o))r=function(t,o){const e=Ze(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Oe(t)?Ae(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=ze(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 Pe(t,o,e){const r=Oe(o),i=me(o),n="fixed"===e,a=Ze(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Jo(0);if(r||!r&&!n)if(("body"!==ye(o)||we(i))&&(s=Re(o)),r){const t=Ze(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=De(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function He(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=He(t,o);for(;r&&Se(r)&&"static"===Ie(r).position;)r=He(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},s=Jo(1);const l=Jo(0);if((i||!i&&"fixed"!==r)&&(("body"!==ye(e)||we(n))&&(a=Re(e)),Oe(e))){const t=Ze(e);s=Ae(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement: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)||we(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),a=[...n,r],s=a[0],l=a.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,s,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:Pe(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:Ae,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,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=he(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:g}=s[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=he(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class 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
+ `,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 se(t){return"y"===t?"height":"width"}function le(t){return["top","bottom"].includes(ie(t))?"y":"x"}function ce(t){return ae(le(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 he(t,o,e){let{reference:r,floating:i}=t;const n=le(o),a=ce(o),s=se(a),l=ie(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ne(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function de(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=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}}(d),g=s[h?"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(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=fe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):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:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Yo,autoAlignment:d=!0,...u}=re(t,o),g=void 0!==f||h===Yo?ue(f||null,d,h):h,y=await de(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=se(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==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==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}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=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=w.filter((t=>t[2].slice(0,ne(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==s?{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 Ne(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof be(t).ShadowRoot)}function we(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||Ne(t)&&t.host||me(t);return Ne(o)?o.host:o}function Ue(t){const o=ke(t);return Ee(o)?t.ownerDocument?t.ownerDocument.body:t.body:Oe(o)&&we(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||[],we(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,s=Xo(e)!==n||Xo(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ke(t){return ve(t)?t:t.contextElement}function Ae(t){const o=Ke(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,s=(n?Xo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Be=Jo(0);function De(t){const o=be(t);return $e()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Be}function ze(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ke(t);let a=Jo(1);o&&(r?ve(r)&&(a=Ae(r)):a=Ae(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==be(t))&&o}(n,e,r)?De(n):Jo(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=be(n),o=r&&ve(r)?be(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Ae(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;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=be(e).frameElement}}return fe({width:p,height:f,x:l,y:c})}function Ze(t){return ze(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,s=0,l=0;if(i){n=i.width,a=i.height;const t=$e();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=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+Ze(t);const s=-e.scrollTop;return"rtl"===Ie(r).direction&&(a+=Qo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(me(t));else if(ve(o))r=function(t,o){const e=ze(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Oe(t)?Ae(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=De(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 Pe(t,o,e){const r=Oe(o),i=me(o),n="fixed"===e,a=ze(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Jo(0);if(r||!r&&!n)if(("body"!==ye(o)||we(i))&&(s=Re(o)),r){const t=ze(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Ze(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function He(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=He(t,o);for(;r&&Se(r)&&"static"===Ie(r).position;)r=He(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},s=Jo(1);const l=Jo(0);if((i||!i&&"fixed"!==r)&&(("body"!==ye(e)||we(n))&&(a=Re(e)),Oe(e))){const t=ze(e);s=Ae(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement: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)||we(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),a=[...n,r],s=a[0],l=a.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,s,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:Pe(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:Ae,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,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=he(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:g}=s[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=he(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class 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`
609
609
  <div part="container"
610
610
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
611
611
  @mouseenter=${this.onHover}
@@ -1050,14 +1050,14 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1050
1050
  `,Nr=e.css`
1051
1051
  `,wr=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Sr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=wr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Sr.build(t):null!==(o=Sr.API)&&void 0!==o?o:Sr.API=Sr.build()}static await(t){return new Promise((o=>{let e=Sr.get(t);if(e)o(e);else{const r=wr.subscribe((()=>{e=Sr.get(t),e&&(r(),o(e))}))}}))}}var Cr;const $r=Symbol("clearAfterUnitTest");class Er{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Cr]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=wr.getState().uiLocale,wr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=wr.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 s=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:{},s).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)))))}}Cr=$r,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Er((async(t,o)=>(await Sr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Er((async(t,o)=>(await Sr.await()).getCustomMessageContext(t,o))));const Ir=window.FluidTopicsI18nService,Rr=window.FluidTopicsCustomI18nService;var kr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ur extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Sr.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
1052
1052
  <slot></slot>
1053
- `}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ir.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Ur.elementDefinitions={},Ur.styles=Nr,kr([r.property()],Ur.prototype,"baseUrl",void 0),kr([r.property()],Ur.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Ur.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Ur.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Ur.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Ur.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Ur.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ur.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Ur.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Ur.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Ur.prototype,"session",void 0),kr([r.property({type:Object})],Ur.prototype,"apiProvider",void 0);class Lr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Sr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Wr=new o.CacheRegistry;class Kr{async listMyBookmarks(){return Wr.get("bookmarks",(async()=>(await Sr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Wr.clear("bookmarks")}}const Ar=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Br=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.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(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Lr,o=await t.listMySearches();Ar.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ar.actions.bookmarks(o)}}};o.customElement("ft-app-context")(Ur);var zr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Zr=Symbol("i18nProperties"),Dr=Symbol("i18nUnsubs");function Fr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Rr:Ir}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[Zr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Zr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Zr]&&new Set([...this[Zr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Dr].has(t)||this[Dr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Dr].forEach((t=>t())),this[Dr].clear()}}return o=Dr,zr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Tr extends(Fr(o.FtLitElement)){}class Pr extends(Fr(o.FtLitElementRedux)){}var Hr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(wr)}render(){return this.key&&this.context?e.html`
1053
+ `}update(t){super.update(t),t.has("baseUrl")&&(wr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&wr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&wr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&wr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&wr.actions.noCustom(this.noCustom),t.has("editorMode")&&wr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&wr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&wr.actions.session(this.session),t.has("availableUiLocales")&&wr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ir.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Ur.elementDefinitions={},Ur.styles=Nr,kr([r.property()],Ur.prototype,"baseUrl",void 0),kr([r.property()],Ur.prototype,"apiIntegrationIdentifier",void 0),kr([r.property()],Ur.prototype,"uiLocale",void 0),kr([o.jsonProperty(null)],Ur.prototype,"availableUiLocales",void 0),kr([o.jsonProperty(null)],Ur.prototype,"metadataConfiguration",void 0),kr([r.property({type:Boolean})],Ur.prototype,"editorMode",void 0),kr([r.property({type:Boolean})],Ur.prototype,"noCustom",void 0),kr([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ur.prototype,"noCustomComponent",void 0),kr([r.property({type:Boolean})],Ur.prototype,"withManualResources",void 0),kr([o.jsonProperty([])],Ur.prototype,"messageContexts",void 0),kr([o.jsonProperty(void 0)],Ur.prototype,"session",void 0),kr([r.property({type:Object})],Ur.prototype,"apiProvider",void 0);class Lr{async listMySearches(){var t;return(null===(t=wr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Sr.await()).listMySearches(wr.getState().session.profile.userId):[]}}const Wr=new o.CacheRegistry;class Kr{async listMyBookmarks(){return Wr.get("bookmarks",(async()=>(await Sr.await()).listMyBookmarks(wr.getState().session.profile.userId)))}clearCache(){Wr.clear("bookmarks")}}const Ar=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Br=new class{constructor(){this.currentSession=wr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Kr,wr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=wr.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(){Ar.actions.savedSearches(void 0)}clearMyBookmarks(){Ar.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Lr,o=await t.listMySearches();Ar.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ar.actions.bookmarks(o)}}};o.customElement("ft-app-context")(Ur);var Dr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const zr=Symbol("i18nProperties"),Zr=Symbol("i18nUnsubs");function Fr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Rr:Ir}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[zr])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[zr])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[zr]&&new Set([...this[zr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Zr].has(t)||this[Zr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Zr].forEach((t=>t())),this[Zr].clear()}}return o=Zr,Dr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Tr extends(Fr(o.FtLitElement)){}class Pr extends(Fr(o.FtLitElementRedux)){}var Hr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends Pr{constructor(){super(),this.editorMode=!1,this.addStore(wr)}render(){return this.key&&this.context?e.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),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Mr.elementDefinitions={},Mr.styles=Or,Hr([o.redux()],Mr.prototype,"editorMode",void 0),Hr([r.property()],Mr.prototype,"context",void 0),Hr([r.property()],Mr.prototype,"key",void 0),Hr([o.jsonProperty([])],Mr.prototype,"args",void 0),Hr([r.property()],Mr.prototype,"defaultMessage",void 0);class jr{static build(t){return new jr(t)}static fromGwt(t){return new jr(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)=>Ir.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Mr);const Gr=e.css`
1058
- `,_r={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 qr,Yr,Vr,Qr,Xr,Jr,ti,oi,ei,ri,ii,ni,ai,si,li,ci,pi,fi;!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 s(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 l(t){this.map={},t instanceof l?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 h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){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=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(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}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.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 l(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 l(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 l(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(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 s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,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 s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=l,t.Request=g,t.Response=b),o.Headers=l,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"}(qr||(qr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Yr||(Yr={})),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"}(Vr||(Vr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Qr||(Qr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Xr||(Xr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Jr||(Jr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ti||(ti={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(oi||(oi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ei||(ei={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ri||(ri={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ii||(ii={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ni||(ni={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ai||(ai={})),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"}(li||(li={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ci||(ci={})),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"}(pi||(pi={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(fi||(fi={})),pi.PERSONAL_BOOK_SHARE_USER,pi.PERSONAL_BOOK_USER,pi.HTML_EXPORT_USER,pi.PERSONAL_BOOK_USER,pi.PDF_EXPORT_USER,pi.PERSONAL_BOOK_USER,pi.KHUB_ADMIN,pi.CONTENT_PUBLISHER,pi.ADMIN,pi.KHUB_ADMIN,pi.USERS_ADMIN,pi.PORTAL_ADMIN,pi.DEVELOPER,pi.BETA_USER,pi.DEBUG_USER;class hi{static async build(){return new hi(await Sr.await())}constructor(t){this.api=t,this.cache=new o.CacheRegistry,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 di extends Event{constructor(){super(di.eventName)}}di.eventName="search-context-clear-all-filters";class ui{static build(t){return new ui((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:_r}))(t.trim()||"context"),hi.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return o.waitFor((()=>this.service))}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(ii.TITLE_ONLY),this.store.actions.setRequestScope(ci.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ii.EVERYWHERE),this.store.actions.setRequestScope(ci.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===ii.TITLE_ONLY&&t.request.scope===ci.DOCUMENTS)(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new di)}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()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),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 gi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const bi=Symbol("registerInterval");class mi 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[bi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[bi]):this.dispatchEvent(new yi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=bi,gi([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var xi,vi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oi 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 wi extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class Si extends o.FtLitElementRedux{get stateManager(){return null==this._stateManager&&(this._stateManager=ui.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.filters=[],this.sort=[],this.addStore(wr)}render(){return e.html`
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:""})}}Mr.elementDefinitions={},Mr.styles=Or,Hr([o.redux()],Mr.prototype,"editorMode",void 0),Hr([r.property()],Mr.prototype,"context",void 0),Hr([r.property()],Mr.prototype,"key",void 0),Hr([o.jsonProperty([])],Mr.prototype,"args",void 0),Hr([r.property()],Mr.prototype,"defaultMessage",void 0);class jr{static build(t){return new jr(t)}static fromGwt(t){return new jr(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)=>Ir.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Mr);const Gr=e.css`
1058
+ `,_r={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 qr,Yr,Vr,Qr,Xr,Jr,ti,oi,ei,ri,ii,ni,ai,si,li,ci,pi,fi;!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 s(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 l(t){this.map={},t instanceof l?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 h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){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=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(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}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.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 l(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 l(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 l(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(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 s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,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 s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=l,t.Request=g,t.Response=b),o.Headers=l,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"}(qr||(qr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Yr||(Yr={})),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"}(Vr||(Vr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Qr||(Qr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Xr||(Xr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Jr||(Jr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ti||(ti={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(oi||(oi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ei||(ei={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ri||(ri={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ii||(ii={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ni||(ni={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ai||(ai={})),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"}(li||(li={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ci||(ci={})),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"}(pi||(pi={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(fi||(fi={})),pi.PERSONAL_BOOK_SHARE_USER,pi.PERSONAL_BOOK_USER,pi.HTML_EXPORT_USER,pi.PERSONAL_BOOK_USER,pi.PDF_EXPORT_USER,pi.PERSONAL_BOOK_USER,pi.KHUB_ADMIN,pi.CONTENT_PUBLISHER,pi.ADMIN,pi.KHUB_ADMIN,pi.USERS_ADMIN,pi.PORTAL_ADMIN,pi.DEVELOPER,pi.BETA_USER,pi.DEBUG_USER;class hi{static async build(){return new hi(await Sr.await())}constructor(t){this.api=t,this.cache=new o.CacheRegistry,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 di extends Event{constructor(){super(di.eventName)}}di.eventName="search-context-clear-all-filters";class ui{static build(t){return new ui((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:_r}))(t.trim()||"context"),hi.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return o.waitFor((()=>this.service))}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(ii.TITLE_ONLY),this.store.actions.setRequestScope(ci.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ii.EVERYWHERE),this.store.actions.setRequestScope(ci.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return(t=>t.request.virtualField===ii.TITLE_ONLY&&t.request.scope===ci.DOCUMENTS)(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new di)}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}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),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 gi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const bi=Symbol("registerInterval");class mi 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[bi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[bi]):this.dispatchEvent(new yi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=bi,gi([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var xi,vi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oi 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 wi extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class Si extends o.FtLitElementRedux{get stateManager(){return null==this._stateManager&&(this._stateManager=ui.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(wr)}render(){return e.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)}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 wi(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 Oi(t))}reloadSavedSearches(){Br.clearMySearches()}clear(){this.stateManager.clear()}}Si.elementDefinitions={},Si.styles=Gr,vi([r.property()],Si.prototype,"query",void 0),vi([r.property()],Si.prototype,"contentLocale",void 0),vi([r.property({type:Number})],Si.prototype,"pageSize",void 0),vi([r.property({type:Boolean})],Si.prototype,"searchInDocumentTitlesOnly",void 0),vi([r.property()],Si.prototype,"scope",void 0),vi([r.property({type:Boolean})],Si.prototype,"ignoreEmptyQuery",void 0),vi([o.jsonProperty([])],Si.prototype,"filters",void 0),vi([o.jsonProperty([])],Si.prototype,"sort",void 0),vi([o.redux({store:"search"})],Si.prototype,"request",void 0),vi([o.redux({store:"search"})],Si.prototype,"paging",void 0),vi([o.redux({store:"search",selector:t=>t.spellcheck})],Si.prototype,"autocorrect",void 0),vi([o.redux({store:wr.name})],Si.prototype,"session",void 0),o.customElement("ft-search-context")(Si),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(xi||(xi={}));var Ci=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $i extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ei=Symbol("registerInterval");class Ii 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[Ei]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ei]):this.dispatchEvent(new $i)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ei,Ci([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Ri=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)}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 wi(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 Oi(t))}reloadSavedSearches(){Br.clearMySearches()}clear(){this.stateManager.clear()}}Si.elementDefinitions={},Si.styles=Gr,vi([r.property()],Si.prototype,"query",void 0),vi([r.property()],Si.prototype,"contentLocale",void 0),vi([r.property({type:Number})],Si.prototype,"pageSize",void 0),vi([r.property({type:Boolean})],Si.prototype,"searchInDocumentTitlesOnly",void 0),vi([r.property()],Si.prototype,"scope",void 0),vi([r.property({type:Boolean})],Si.prototype,"ignoreEmptyQuery",void 0),vi([r.property({type:Boolean})],Si.prototype,"openExternalDocumentInNewTab",void 0),vi([o.jsonProperty([])],Si.prototype,"filters",void 0),vi([o.jsonProperty([])],Si.prototype,"sort",void 0),vi([o.redux({store:"search"})],Si.prototype,"request",void 0),vi([o.redux({store:"search"})],Si.prototype,"paging",void 0),vi([o.redux({store:"search",selector:t=>t.spellcheck})],Si.prototype,"autocorrect",void 0),vi([o.redux({store:wr.name})],Si.prototype,"session",void 0),o.customElement("ft-search-context")(Si),function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(xi||(xi={}));var Ci=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $i extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ei=Symbol("registerInterval");class Ii 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[Ei]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ei]):this.dispatchEvent(new $i)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ei,Ci([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Ri=e.css`
1061
1061
 
1062
1062
  `,ki=jr.build("searchResultsNumber"),Ui={results:"{0} results","results[\\=1]":"1 result"};var Li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wi extends(Fr(mi)){constructor(){super(),this.addI18nContext(ki,Ui)}render(){return null==this.paging?e.nothing:e.html`
1063
1063
  <ft-typography variant="body1">
@@ -1105,7 +1105,7 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1105
1105
  flex-grow: 1;
1106
1106
  flex-shrink: 1;
1107
1107
  }
1108
- `;var Bi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let Zi=class extends mi{render(){return e.html`
1108
+ `;var Bi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Di extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let zi=class extends mi{render(){return e.html`
1109
1109
  <div class="ft-search-input-suggestion ft-word-wrap"
1110
1110
  part="container"
1111
1111
  @keydown=${t=>this.onSuggestKeyDown(t)}>
@@ -1121,9 +1121,9 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
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 zi(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,s]=((null!==(e=tr.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Je.get(s))&&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`
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,s]=((null!==(e=tr.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Je.get(s))&&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
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()}};Zi.elementDefinitions={"ft-ripple":to,"ft-typography":jo,"ft-icon":rr},Zi.styles=[o.wordWrap,Ai],Bi([o.redux()],Zi.prototype,"suggestResults",void 0),Zi=Bi([r.customElement("ft-search-input-suggestion")],Zi);var Di=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fi extends(Fr(mi)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Ki)}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`
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()}};zi.elementDefinitions={"ft-ripple":to,"ft-typography":jo,"ft-icon":rr},zi.styles=[o.wordWrap,Ai],Bi([o.redux()],zi.prototype,"suggestResults",void 0),zi=Bi([r.customElement("ft-search-input-suggestion")],zi);var Zi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fi extends(Fr(mi)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Ki)}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`
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">
@@ -1160,7 +1160,7 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1160
1160
  ></ft-button>
1161
1161
  </div>
1162
1162
  </div>
1163
- `}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation()}}onSearchBarKeyUp(t){var o,e;if("Backspace"===t.key&&t.stopPropagation(),"Enter"===t.key)null===(o=this.stateManager)||void 0===o||o.setQuery(this.input.value),this.forceCloseSuggestion=!0;else null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t.detail),this.forceCloseSuggestion=!0}}Fi.elementDefinitions={"ft-search-input-suggestion":Zi,"ft-button":lr},Fi.styles=[Wt,dr],Di([o.redux()],Fi.prototype,"request",void 0),Di([o.redux()],Fi.prototype,"liveQuery",void 0),Di([o.redux()],Fi.prototype,"suggestResults",void 0),Di([r.state()],Fi.prototype,"forceCloseSuggestion",void 0),Di([r.query(".ft-search-input--input")],Fi.prototype,"input",void 0),Di([r.query("ft-search-input-suggestion")],Fi.prototype,"suggestion",void 0),o.customElement("ft-search-input")(Fi);const Ti=e.css`
1163
+ `}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation()}}onSearchBarKeyUp(t){var o,e;if("Backspace"===t.key&&t.stopPropagation(),"Enter"===t.key)null===(o=this.stateManager)||void 0===o||o.setQuery(this.input.value),this.forceCloseSuggestion=!0;else null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t.detail),this.forceCloseSuggestion=!0}}Fi.elementDefinitions={"ft-search-input-suggestion":zi,"ft-button":lr},Fi.styles=[Wt,dr],Zi([o.redux()],Fi.prototype,"request",void 0),Zi([o.redux()],Fi.prototype,"liveQuery",void 0),Zi([o.redux()],Fi.prototype,"suggestResults",void 0),Zi([r.state()],Fi.prototype,"forceCloseSuggestion",void 0),Zi([r.query(".ft-search-input--input")],Fi.prototype,"input",void 0),Zi([r.query("ft-search-input-suggestion")],Fi.prototype,"suggestion",void 0),o.customElement("ft-search-input")(Fi);const Ti=e.css`
1164
1164
  [part="no-results-message"] {
1165
1165
  text-align: center;
1166
1166
  padding: 12px;
@@ -1172,11 +1172,16 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1172
1172
  }
1173
1173
  `;class Hi{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,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 Mi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Gi extends o.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Hi((t=>this.onResultSelected(t)))}render(){return e.html`
1174
1174
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1175
- `}onResultSelected(t){this.result=t,this.dispatchEvent(new ji(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()}}Gi.elementDefinitions={},Gi.styles=Pi,Mi([r.property({attribute:!1})],Gi.prototype,"cluster",void 0),Mi([r.state()],Gi.prototype,"result",void 0),Mi([r.property()],Gi.prototype,"index",void 0),o.customElement("ft-search-result-context")(Gi);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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Yi=Symbol("registerInterval");class Vi 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[Yi]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Yi]):this.dispatchEvent(new qi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=Yi,_i([r.property({attribute:!1})],e.prototype,"cluster",void 0),_i([r.property({attribute:!1})],e.prototype,"result",void 0),_i([r.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(mi)){}function Qi(t){var o,e,r,i,n,a,s,l,c,p;if("EXTERNAL"===(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))return null!==(c=null!==(s=null===(a=t.map)||void 0===a?void 0:a.originUrl)&&void 0!==s?s:null===(l=t.topic)||void 0===l?void 0:l.originUrl)&&void 0!==c?c:null===(p=t.document)||void 0===p?void 0:p.originUrl;switch(t.type){case li.MAP:return t.map.readerUrl;case li.DOCUMENT:return t.document.viewerUrl;case li.TOPIC:return t.topic.readerUrl}return""}class Xi extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Ji extends Vi{render(){return this.result?e.html`
1176
- <a href="${this.result?Qi(this.result):""}" @click=${this.onResultClick}>
1175
+ `}onResultSelected(t){this.result=t,this.dispatchEvent(new ji(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()}}Gi.elementDefinitions={},Gi.styles=Pi,Mi([r.property({attribute:!1})],Gi.prototype,"cluster",void 0),Mi([r.state()],Gi.prototype,"result",void 0),Mi([r.property()],Gi.prototype,"index",void 0),o.customElement("ft-search-result-context")(Gi);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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Yi=Symbol("registerInterval");class Vi 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[Yi]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Yi]):this.dispatchEvent(new qi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=Yi,_i([r.property({attribute:!1})],e.prototype,"cluster",void 0),_i([r.property({attribute:!1})],e.prototype,"result",void 0),_i([r.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(mi)){}
1176
+ /**
1177
+ * @license
1178
+ * Copyright 2018 Google LLC
1179
+ * SPDX-License-Identifier: BSD-3-Clause
1180
+ */function Qi(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)===ai.EXTERNAL}function Xi(t){var o,e,r,i,n;if(Qi(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 li.MAP:return t.map.readerUrl;case li.DOCUMENT:return t.document.viewerUrl;case li.TOPIC:return t.topic.readerUrl}return""}function Ji(t,o){return(t=>t??wo)(o&&Qi(t)?"blank":void 0)}class tn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class on extends Vi{render(){var t;return this.result?e.html`
1181
+ <a href="${this.result?Xi(this.result):""}" @click=${this.onResultClick} target="${Ji(this.result,null===(t=this.stateManager)||void 0===t?void 0:t.openExternalDocumentInNewTab)}">
1177
1182
  <ft-typography variant="title" part="text">${n.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
1178
1183
  </a>
1179
- `:e.nothing}onResultClick(){this.dispatchEvent(new Xi(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""}}Ji.elementDefinitions={"ft-typography":jo},Ji.styles=br,o.customElement("ft-search-result-title")(Ji);class tn extends Vi{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
1184
+ `:e.nothing}onResultClick(){this.dispatchEvent(new tn(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":jo},on.styles=br,o.customElement("ft-search-result-title")(on);class en extends Vi{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
1180
1185
  <ft-typography variant="body1" part="text">${n.unsafeHTML(t)}</ft-typography>
1181
1186
  `:e.html`
1182
1187
  <style>
@@ -1184,7 +1189,7 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1184
1189
  display: none !important;
1185
1190
  }
1186
1191
  </style>
1187
- `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}tn.elementDefinitions={"ft-typography":jo},tn.styles=gr,o.customElement("ft-search-result-abstract")(tn);var on=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class en extends(Fr(mi)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
1192
+ `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}en.elementDefinitions={"ft-typography":jo},en.styles=gr,o.customElement("ft-search-result-abstract")(en);var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends(Fr(mi)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
1188
1193
  <ft-search-result-title></ft-search-result-title>
1189
1194
  <ft-search-result-abstract></ft-search-result-abstract>
1190
1195
  `,this.selectedResultByCluster={},this.addI18nContext(ki)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return e.html`
@@ -1194,7 +1199,7 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1194
1199
  @ft-search-result-cluster-change="${o=>this.onClusterChange(t.id,o.detail)}">
1195
1200
  ${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],o)}
1196
1201
  </ft-search-result-context>
1197
- `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}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;return 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:[]}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}}en.styles=Ti,on([r.property({type:String,attribute:"cluster-policy"})],en.prototype,"clusterPolicy",void 0),on([r.property({type:Boolean})],en.prototype,"displayNoResultsMessage",void 0),on([r.property({attribute:!1})],en.prototype,"renderResult",void 0),on([o.redux()],en.prototype,"results",void 0),o.customElement("ft-search-results")(en);var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn 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`
1202
+ `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}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;return 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:[]}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}}nn.styles=Ti,rn([r.property({type:String,attribute:"cluster-policy"})],nn.prototype,"clusterPolicy",void 0),rn([r.property({type:Boolean})],nn.prototype,"displayNoResultsMessage",void 0),rn([r.property({attribute:!1})],nn.prototype,"renderResult",void 0),rn([o.redux()],nn.prototype,"results",void 0),o.customElement("ft-search-results")(nn);var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class 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`
1198
1203
  <div id="container" part="container" class=${i.classMap(t)}>
1199
1204
  ${this.clickable?e.html`
1200
1205
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -1212,14 +1217,14 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1212
1217
  </ft-typography>
1213
1218
  </div>
1214
1219
  </div>
1215
- `}}nn.elementDefinitions={"ft-ripple":to,"ft-typography":jo},nn.styles=b,rn([r.property()],nn.prototype,"title",void 0),rn([r.property({type:Boolean})],nn.prototype,"clickable",void 0),rn([r.property({type:Boolean})],nn.prototype,"selected",void 0),rn([r.property({type:Boolean})],nn.prototype,"noHeader",void 0),o.customElement("ft-card")(nn);const an=e.css`
1216
- `,sn=jr.fromGwt("designedActionBlockAriaLabels");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,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends(Fr(mi)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(sn)}render(){return this.isLastPage?e.nothing:e.html`
1220
+ `}}sn.elementDefinitions={"ft-ripple":to,"ft-typography":jo},sn.styles=b,an([r.property()],sn.prototype,"title",void 0),an([r.property({type:Boolean})],sn.prototype,"clickable",void 0),an([r.property({type:Boolean})],sn.prototype,"selected",void 0),an([r.property({type:Boolean})],sn.prototype,"noHeader",void 0),o.customElement("ft-card")(sn);const ln=e.css`
1221
+ `,cn=jr.fromGwt("designedActionBlockAriaLabels");var pn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends(Fr(mi)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(cn)}render(){return this.isLastPage?e.nothing:e.html`
1217
1222
  <ft-button @click="${this.loadMore}">
1218
- ${sn.messages.searchPageLoadMore()}
1223
+ ${cn.messages.searchPageLoadMore()}
1219
1224
  </ft-button>
1220
- `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}cn.elementDefinitions={"ft-button":lr},cn.styles=an,ln([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}})],cn.prototype,"currentPage",void 0),ln([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}})],cn.prototype,"isLastPage",void 0),o.customElement("ft-search-load-more-button")(cn);var pn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends(Fr(Ii)){constructor(){super(...arguments),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.uniqueId="search-in-document-"+(""+Math.round(999e3*Math.random())).padStart(6,"0")}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,o){var r;return e.html`
1225
+ `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}fn.elementDefinitions={"ft-button":lr},fn.styles=ln,pn([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}})],fn.prototype,"currentPage",void 0),pn([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}})],fn.prototype,"isLastPage",void 0),o.customElement("ft-search-load-more-button")(fn);var hn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dn extends(Fr(Ii)){constructor(){super(...arguments),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.uniqueId="search-in-document-"+(""+Math.round(999e3*Math.random())).padStart(6,"0")}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,o){var r;return e.html`
1221
1226
  <style> ${vr}</style>
1222
- <a href="${Qi(t)}" @click="${()=>this.onLinkClick(t,o)} }">
1227
+ <a href="${Xi(t)}" @click="${()=>this.onLinkClick(t,o)} }">
1223
1228
  <ft-card clickable noheader>
1224
1229
  <div class="result-container">
1225
1230
  ${this.hideResultTitle?e.nothing:e.html`
@@ -1255,4 +1260,4 @@ const Zo=Symbol.for(""),Do=t=>{if(t?.r===Zo)return t?._$litStatic$},Fo=t=>({_$li
1255
1260
  </slot>
1256
1261
  </div>
1257
1262
  </ft-search-context>
1258
- `: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 Xi(t,o))}}fn.elementDefinitions={"ft-button":lr,"ft-typography":jo,"ft-search-context":Si,"ft-search-input":Fi,"ft-search-results-number":Wi,"ft-search-results":en,"ft-search-load-more-button":cn},fn.styles=xr,pn([o.redux()],fn.prototype,"map",void 0),pn([o.redux()],fn.prototype,"searchInDocumentQuery",void 0),pn([r.query("ft-search-context")],fn.prototype,"searchContext",void 0),pn([r.query("ft-search-results")],fn.prototype,"searchResults",void 0),pn([r.property({type:Boolean})],fn.prototype,"hideResultTitle",void 0),pn([r.property({type:Boolean})],fn.prototype,"hideResultBreadcrumb",void 0),pn([r.property({type:Boolean})],fn.prototype,"hideResultAbstract",void 0),pn([r.property({type:Boolean})],fn.prototype,"hideResultsNumber",void 0),o.customElement("ft-reader-search-in-document")(fn),t.FtReaderSearchInDocument=fn,t.FtReaderSearchInDocumentCssVariables=mr,t.resultStyles=vr,t.styles=xr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1263
+ `: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 tn(t,o))}}dn.elementDefinitions={"ft-button":lr,"ft-typography":jo,"ft-search-context":Si,"ft-search-input":Fi,"ft-search-results-number":Wi,"ft-search-results":nn,"ft-search-load-more-button":fn},dn.styles=xr,hn([o.redux()],dn.prototype,"map",void 0),hn([o.redux()],dn.prototype,"searchInDocumentQuery",void 0),hn([r.query("ft-search-context")],dn.prototype,"searchContext",void 0),hn([r.query("ft-search-results")],dn.prototype,"searchResults",void 0),hn([r.property({type:Boolean})],dn.prototype,"hideResultTitle",void 0),hn([r.property({type:Boolean})],dn.prototype,"hideResultBreadcrumb",void 0),hn([r.property({type:Boolean})],dn.prototype,"hideResultAbstract",void 0),hn([r.property({type:Boolean})],dn.prototype,"hideResultsNumber",void 0),o.customElement("ft-reader-search-in-document")(dn),t.FtReaderSearchInDocument=dn,t.FtReaderSearchInDocumentCssVariables=mr,t.resultStyles=vr,t.styles=xr}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);