@fluid-topics/ft-search-period-filter 1.1.70 → 1.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-period-filter.light.js +389 -371
- package/build/ft-search-period-filter.min.js +581 -510
- package/package.json +8 -8
|
@@ -1,121 +1,119 @@
|
|
|
1
|
-
!function(t,o,e,i,r,n,a){const l=t=>"string"==typeof t?e.unsafeCSS(t):t;class s{static create(t,o,i,r){const n=t=>l(null!=t?t:r),a=e.css`var(${l(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${l(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${l(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${l(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):l(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${l(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${l(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const c={colorWhite:s.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:s.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:s.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:s.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:s.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:s.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:s.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:s.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:s.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:s.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:s.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:s.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:s.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:s.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:s.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:s.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:s.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:s.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:s.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:s.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:s.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:s.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:s.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:s.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:s.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:s.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:s.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:s.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:s.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:s.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:s.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:s.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:s.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:s.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:s.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:s.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:s.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:s.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:s.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:s.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:s.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:s.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:s.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:s.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:s.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:s.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:s.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:s.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:s.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:s.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:s.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:s.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:s.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:s.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:s.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:s.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:s.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:s.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:s.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:s.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:s.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:s.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:s.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:s.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:s.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:s.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:s.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:s.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:s.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:s.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:s.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:s.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:s.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:s.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:s.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:s.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:s.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:s.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:s.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:s.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:s.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:s.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:s.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:s.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:s.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:s.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:s.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:s.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:s.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:s.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:s.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:s.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:s.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:s.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:s.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:s.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:s.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:s.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:s.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:s.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:s.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:s.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:s.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:s.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:s.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:s.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:s.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:s.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:s.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:s.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:s.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:s.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:s.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:s.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:s.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:s.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:s.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:s.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:s.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:s.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:s.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:s.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:s.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:s.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:s.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:s.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:s.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:s.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:s.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:s.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:s.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:s.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:s.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:s.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:s.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:s.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:s.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:s.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:s.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:s.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:s.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:s.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:s.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:s.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:s.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:s.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:s.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:s.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:s.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:s.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:s.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:s.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:s.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:s.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:s.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:s.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:s.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:s.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:s.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:s.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:s.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:s.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:s.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:s.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:s.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:s.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:s.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:s.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:s.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:s.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:s.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:s.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:s.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:s.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:s.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:s.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:s.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:s.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:s.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:s.create("--ft-icon-size-6","","SIZE","48px"),opacity0:s.create("--ft-opacity-0","","NUMBER","0"),opacity8:s.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:s.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:s.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:s.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:s.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:s.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:s.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:s.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:s.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:s.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:s.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:s.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:s.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:s.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)")},f={display:{fontFamily:s.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:s.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:s.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:s.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:s.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:s.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:s.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:s.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:s.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:s.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:s.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:s.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:s.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:s.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:s.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:s.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:s.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:s.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:s.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:s.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:s.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:s.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:s.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:s.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:s.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:s.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:s.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:s.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:s.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:s.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:s.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:s.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:s.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:s.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:s.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:s.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:s.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:s.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:s.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:s.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:s.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:s.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:s.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:s.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:s.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:s.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:s.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:s.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:s.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:s.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:s.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:s.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:s.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:s.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:s.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:s.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:s.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},p={backgroundActionPrimary:s.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:s.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:s.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:s.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:s.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:s.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:s.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:s.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:s.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:s.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:s.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:s.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:s.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:s.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:s.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:s.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:s.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:s.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:s.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",c.colorGray200),contentGlobalSubtle:s.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:s.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:s.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:s.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:s.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:s.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:s.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:s.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:s.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:s.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:s.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:s.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:s.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:s.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:s.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)},d={largeHeight:s.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:s.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:s.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:s.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:s.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:s.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:s.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:s.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:s.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:s.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:s.extend("--ft-button-small-horizontal-padding","",c.spacing3),smallGap:s.extend("--ft-button-small-gap","",c.spacing2),smallBorderRadius:s.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:s.extend("--ft-button-small-icon-size","",c.iconSize2),smallBorderWidth:s.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:s.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:s.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:s.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:s.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:s.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:s.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:s.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:s.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:s.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:s.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:s.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:s.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:s.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:s.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:s.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:s.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:s.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:s.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:s.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:s.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:s.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:s.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:s.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:s.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:s.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:s.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:s.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:s.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:s.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:s.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:s.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:s.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:s.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:s.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:s.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:s.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:s.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)};s.extend("--ft-banner-icon-size","",c.iconSize5),s.create("--ft-banner-border-width","","SIZE","1px"),s.extend("--ft-banner-horizontal-padding","",c.spacing6),s.extend("--ft-banner-vertical-padding","",c.spacing6),s.extend("--ft-banner-horizontal-side-gap","",c.spacing6),s.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),s.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),s.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),s.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-banner-info-color","",p.contentInfoPrimary),s.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),s.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),s.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),s.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle),s.extend("--ft-page-header-horizontal-padding","",c.spacing12),s.extend("--ft-page-header-horizontal-gap","",c.spacing4),s.extend("--ft-page-header-vertical-gap","",c.spacing2),s.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),s.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),s.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),s.extend("--ft-page-header-background-color","",c.colorWhite),s.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),s.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),s.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary),s.create("--ft-modal-small-container-width","","SIZE","600px"),s.create("--ft-modal-large-container-width","","SIZE","900px"),s.extend("--ft-modal-overlay-background-color","",c.colorGray700),s.extend("--ft-modal-overlay-opacity","",c.opacity40),s.extend("--ft-modal-shadow","",c.shadowElevation03),s.extend("--ft-modal-body-background-color","",c.colorWhite),s.extend("--ft-modal-body-color","",p.contentGlobalPrimary),s.extend("--ft-modal-body-horizontal-padding","",c.spacing6),s.extend("--ft-modal-body-vertical-padding","",c.spacing6),s.extend("--ft-modal-body-vertical-gap","",c.spacing6),s.extend("--ft-modal-container-margin","",c.spacing3),s.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),s.extend("--ft-modal-header-color","",p.contentGlobalPrimary),s.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),s.extend("--ft-modal-header-vertical-padding","",c.spacing1),s.extend("--ft-modal-header-right-padding","",c.spacing1),s.extend("--ft-modal-header-left-padding","",c.spacing6),s.extend("--ft-modal-header-gap","",c.spacing2),s.create("--ft-modal-header-border-bottom","","SIZE","1px"),s.extend("--ft-modal-border-radius","",c.borderRadiusM),s.extend("--ft-drawer-overlay-opacity","",c.opacity40),s.extend("--ft-drawer-shadow","",c.shadowElevation03),s.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),s.extend("--ft-drawer-body-vertical-padding","",c.spacing6),s.extend("--ft-drawer-body-gap","",c.spacing6),s.extend("--ft-drawer-body-background-color","",c.colorWhite),s.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),s.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),s.create("--ft-drawer-header-height","","SIZE","50px"),s.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),s.create("--ft-drawer-header-border-width","","SIZE","1px"),s.extend("--ft-drawer-header-gap","",c.spacing3),s.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),s.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),s.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),s.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),s.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),s.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),s.create("--ft-drawer-container-width","","SIZE","66%"),s.create("--ft-drawer-container-min-width","","SIZE","500px"),s.create("--ft-drawer-container-max-width","","SIZE","1000px"),s.create("--ft-drawer-container-height","","SIZE","100%"),s.extend("--ft-drawer-overlay-background-color","",c.colorGray700),s.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),s.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),s.extend("--ft-text-input-field-vertical-gap","",c.spacing05),s.extend("--ft-text-input-field-icon-size","",c.iconSize3),s.create("--ft-text-input-field-height","","SIZE","50px"),s.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),s.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),s.extend("--ft-text-input-helper-icon-size","",c.iconSize2),s.extend("--ft-text-input-border-radius","",c.borderRadiusM),s.extend("--ft-text-input-background-color","",c.colorWhite),s.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),s.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),s.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-text-input-default-border-width","","SIZE","1px"),s.create("--ft-text-input-error-border-width","","SIZE","2px"),s.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),s.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),s.create("--ft-text-input-warning-border-width","","SIZE","2px"),s.create("--ft-text-input-focus-outline-width","","SIZE","2px"),s.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),s.extend("--ft-text-input-disabled-component-opacity","",c.opacity40),s.extend("--ft-text-area-background-color","",c.colorWhite),s.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),s.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),s.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-text-area-default-border-width","","SIZE","1px"),s.create("--ft-text-area-error-border-width","","SIZE","2px"),s.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),s.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),s.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-text-area-focus-outline-width","","SIZE","2px"),s.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),s.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),s.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),s.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),s.extend("--ft-text-area-field-vertical-gap","",c.spacing05),s.create("--ft-text-area-field-min-height","","SIZE","64px"),s.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),s.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),s.extend("--ft-text-area-helper-icon-size","",c.iconSize2),s.extend("--ft-text-area-border-radius","",c.borderRadiusM),s.create("--ft-floating-menu-height","","SIZE","50px"),s.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),s.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),s.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),s.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),s.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-floating-menu-gap","",c.spacing3),s.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),s.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),s.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),s.extend("--ft-floating-menu-icon-size","",c.iconSize3),s.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),s.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),s.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),s.create("--ft-combobox-single-select-field-height","","SIZE","50px"),s.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),s.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),s.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),s.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),s.extend("--ft-combobox-single-select-background-color","",c.colorWhite),s.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),s.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),s.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),s.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),s.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),s.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),s.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),s.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),s.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),s.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),s.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40),s.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),s.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),s.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),s.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),s.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),s.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),s.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),s.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),s.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),s.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),s.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),s.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),s.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),s.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),s.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),s.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),s.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),s.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),s.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),s.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),s.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),s.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),s.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),s.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM),s.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-popover-horizontal-padding","",c.spacing6),s.extend("--ft-popover-vertical-padding","",c.spacing6),s.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),s.extend("--ft-popover-icon-size","",c.iconSize2),s.extend("--ft-popover-title-color","",p.contentGlobalPrimary),s.extend("--ft-popover-body-color","",p.contentGlobalSecondary),s.extend("--ft-popover-link-color","",p.contentActionPrimary),s.extend("--ft-popover-gap","",c.spacing3),s.extend("--ft-popover-border-radius","",c.borderRadiusM),s.extend("--ft-popover-shadow","",c.shadowElevation02),s.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),s.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),s.extend("--ft-tabs-label-horizontal-padding","",c.spacing4),s.extend("--ft-tabs-label-vertical-padding","",c.spacing3),s.extend("--ft-tabs-label-gap","",c.spacing1),s.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-off-active-state-layer-opacity","",c.opacity16),s.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),s.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity16),s.extend("--ft-tabs-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-tabs-on-color","",p.contentActionPrimary),s.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-tabs-icon-horizontal-padding","",c.spacing1),s.extend("--ft-tabs-icon-vertical-padding","",c.spacing4),s.create("--ft-tabs-focus-outline-width","","SIZE","2px"),s.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),s.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),s.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),s.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),s.extend("--ft-collapsible-horizontal-padding","",c.spacing4),s.extend("--ft-collapsible-vertical-padding","",c.spacing3),s.extend("--ft-collapsible-color","",p.contentGlobalPrimary),s.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),s.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),s.extend("--ft-collapsible-icon-size","",c.iconSize3),s.extend("--ft-switch-group-horizontal-padding","",c.spacing1),s.extend("--ft-switch-group-vertical-padding","",c.spacing1),s.extend("--ft-switch-group-gap","",c.spacing1),s.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),s.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),s.create("--ft-switch-group-border-radius","","SIZE","6px"),s.extend("--ft-switch-label-horizontal-padding","",c.spacing2),s.extend("--ft-switch-label-vertical-padding","",c.spacing1),s.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),s.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-switch-off-color","",p.contentGlobalSubtle),s.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),s.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),s.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-switch-on-color","",p.contentActionPrimary),s.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),s.extend("--ft-switch-icon-vertical-padding","",c.spacing1),s.create("--ft-switch-focus-outline-width","","SIZE","2px"),s.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-switch-option-border-radius","",c.borderRadiusS),s.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),s.extend("--ft-chart-1-base","for line charts",c.colorBrand0),s.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),s.extend("--ft-chart-2-base","for line charts",c.colorYellow100),s.extend("--ft-chart-3-light","",c.colorUltramarine40),s.extend("--ft-chart-3-base","",c.colorUltramarine70),s.extend("--ft-chart-4-light","",c.colorCyan50),s.extend("--ft-chart-4-base","",c.colorCyan100),s.extend("--ft-chart-5-light","",c.colorRed40),s.extend("--ft-chart-5-base","",c.colorRed60),s.extend("--ft-chart-6-light","",c.colorGreen40),s.extend("--ft-chart-6-base","",c.colorGreen70),s.extend("--ft-chart-7-light","",c.colorOrange70),s.extend("--ft-chart-7-base","",c.colorOrange100),s.extend("--ft-chart-8-light","",c.colorAvocado70),s.extend("--ft-chart-8-base","",c.colorAvocado200),s.extend("--ft-chart-9-light","",c.colorBrown50),s.extend("--ft-chart-9-base","",c.colorBrown200),s.extend("--ft-chart-10-light","",c.colorGray50),s.extend("--ft-chart-10-base","",c.colorGray80),s.extend("--ft-chart-monochrome-10","",c.colorBrand10),s.extend("--ft-chart-monochrome-20","",c.colorBrand20),s.extend("--ft-chart-monochrome-30","",c.colorBrand40),s.extend("--ft-chart-monochrome-40","",c.colorBrand60),s.extend("--ft-chart-monochrome-50","",c.colorBrand0),s.extend("--ft-chart-monochrome-60","",c.colorBrand200),s.extend("--ft-chip-large-horizontal-padding","",c.spacing4),s.extend("--ft-chip-large-vertical-padding","",c.spacing2),s.extend("--ft-chip-large-gap","",c.spacing1),s.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-large-border-radius","",c.borderRadiusPill),s.create("--ft-chip-large-border-width","","SIZE","1px"),s.extend("--ft-chip-large-icon-size","",c.iconSize3),s.extend("--ft-chip-medium-horizontal-padding","",c.spacing3),s.extend("--ft-chip-medium-vertical-padding","",c.spacing1),s.extend("--ft-chip-medium-gap","",c.spacing1),s.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-medium-border-radius","",c.borderRadiusPill),s.create("--ft-chip-medium-border-width","","SIZE","1px"),s.extend("--ft-chip-medium-icon-size","",c.iconSize2),s.extend("--ft-chip-small-horizontal-padding","",c.spacing2),s.extend("--ft-chip-small-vertical-padding","",c.spacing05),s.extend("--ft-chip-small-gap","",c.spacing1),s.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),s.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),s.extend("--ft-chip-small-border-radius","",c.borderRadiusPill),s.create("--ft-chip-small-border-width","","SIZE","1px"),s.extend("--ft-chip-small-icon-size","",c.iconSize1),s.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),s.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),s.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),s.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),s.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-chip-info-color","",p.contentInfoPrimary),s.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),s.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-chip-success-color","",p.contentSuccessPrimary),s.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-chip-warning-color","",p.contentWarningPrimary),s.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-chip-error-color","",p.contentErrorPrimary),s.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-chip-error-border-color","",p.borderErrorSubtle),s.extend("--ft-border-info-border-color","",p.borderInfoSubtle),s.create("--ft-notice-border-width","","SIZE","1px"),s.extend("--ft-notice-horizontal-padding","",c.spacing2),s.extend("--ft-notice-vertical-padding","",c.spacing1),s.extend("--ft-notice-border-radius","",c.borderRadiusS),s.extend("--ft-notice-gap","",c.spacing2),s.extend("--ft-notice-icon-size","",c.iconSize3),s.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),s.extend("--ft-notice-info-color","",p.contentInfoPrimary),s.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-notice-warning-color","",p.contentWarningPrimary),s.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),s.extend("--ft-notice-error-color","",p.contentErrorPrimary),s.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-notice-success-color","",p.contentSuccessPrimary),s.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-checkbox-color","",p.contentGlobalPrimary),s.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),s.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),s.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),s.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),s.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),s.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),s.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),s.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),s.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),s.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),s.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),s.extend("--ft-checkbox-gap","",c.spacing3),s.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),s.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),s.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),s.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),s.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),s.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),s.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),s.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),s.extend("--ft-toggle-color","",p.contentGlobalPrimary),s.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),s.extend("--ft-toggle-gap","",c.spacing3),s.extend("--ft-radio-color","",p.contentGlobalPrimary),s.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),s.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),s.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),s.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),s.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),s.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),s.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),s.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),s.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),s.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),s.create("--ft-radio-focus-outline-offset","","SIZE","3px"),s.create("--ft-radio-focus-outline-width","","SIZE","2px"),s.extend("--ft-radio-gap","",c.spacing3),s.extend("--ft-notification-icon-size","",c.iconSize4),s.extend("--ft-notification-horizontal-padding","",c.spacing4),s.extend("--ft-notification-vertical-padding","",c.spacing4),s.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),s.extend("--ft-notification-info-color","",p.contentInfoPrimary),s.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),s.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),s.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),s.extend("--ft-notification-success-color","",p.contentSuccessPrimary),s.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),s.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),s.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),s.extend("--ft-notification-warning-color","",p.contentWarningPrimary),s.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),s.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),s.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),s.extend("--ft-notification-error-color","",p.contentErrorPrimary),s.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),s.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),s.extend("--ft-notification-border-radius","",c.borderRadiusPill),s.create("--ft-notification-border-width","","SIZE","1px"),s.extend("--ft-notification-leading-gap","",c.spacing2),s.extend("--ft-notification-trailing-gap","",c.spacing8),s.extend("--ft-tooltip-horizontal-padding","",c.spacing2),s.extend("--ft-tooltip-vertical-padding","",c.spacing2),s.extend("--ft-tooltip-border-radius","",c.borderRadiusS),s.extend("--ft-tooltip-color","",p.contentGlobalOnColor),s.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),s.extend("--ft-tooltip-background-opacity","",c.opacity80),s.extend("--ft-tooltip-shadow","",c.shadowElevation03),s.create("--ft-tooltip-max-width","","SIZE","256px"),s.extend("--ft-tooltip-gap","",c.spacing05);const h=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),u=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),g={fontFamily:u,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")},y=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",h),b=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",g.fontSize,"20px"),m=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",g.fontWeight,"normal"),x=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",g.letterSpacing,"0.15px"),v=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",g.lineHeight,"1.2"),O=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",g.textTransform,"inherit"),w=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",h),S=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",g.fontSize,"14px"),N=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",g.fontWeight,"normal"),$=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",g.letterSpacing,"0.105px"),C=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",g.lineHeight,"1.7"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",g.textTransform,"inherit"),I=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",u),k=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",g.fontSize,"16px"),R=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",g.fontWeight,"600"),U=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",g.letterSpacing,"0.144px"),L=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",g.lineHeight,"1.5"),W=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",g.textTransform,"inherit"),z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",u),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",g.fontSize,"14px"),Z=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",g.fontWeight,"normal"),K=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",g.letterSpacing,"0.098px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",g.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",g.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",u),T=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",g.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",g.fontWeight,"normal"),P=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",g.letterSpacing,"0.496px"),M=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",g.lineHeight,"1.5"),_=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",g.textTransform,"inherit"),j={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",g.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",g.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",g.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",g.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",g.textTransform,"inherit")},G=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",u),V=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",g.fontSize,"12px"),Y=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",g.fontWeight,"normal"),q=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",g.letterSpacing,"0.396px"),X=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",g.lineHeight,"1.33"),Q=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",g.textTransform,"inherit"),J=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",u),tt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",g.fontSize,"10px"),ot=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",g.fontWeight,"normal"),et=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",g.letterSpacing,"0.33px"),it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",g.lineHeight,"1.6"),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",g.textTransform,"inherit"),nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",u),at=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",g.fontSize,"10px"),lt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",g.fontWeight,"normal"),st=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",g.letterSpacing,"1.5px"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",g.lineHeight,"1.6"),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",g.textTransform,"uppercase"),pt={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",u),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",g.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",g.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",g.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",g.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",g.textTransform,"uppercase")},dt=e.css`
|
|
1
|
+
"use strict";(()=>{var cs=Object.create;var Ur=Object.defineProperty;var ps=Object.getOwnPropertyDescriptor;var ds=Object.getOwnPropertyNames;var fs=Object.getPrototypeOf,us=Object.prototype.hasOwnProperty;var de=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var hs=(o,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of ds(e))!us.call(o,n)&&n!==r&&Ur(o,n,{get:()=>e[n],enumerable:!(i=ps(e,n))||i.enumerable});return o};var u=(o,e,r)=>(r=o!=null?cs(fs(o)):{},hs(e||!o||!o.__esModule?Ur(r,"default",{value:o,enumerable:!0}):r,o));var O=de((qs,Fr)=>{Fr.exports=ftGlobals.wcUtils});var R=de((Ys,zr)=>{zr.exports=ftGlobals.lit});var j=de((bd,Ai)=>{Ai.exports=ftGlobals.litDecorators});var Zi=de(($d,Ki)=>{Ki.exports=ftGlobals.litRepeat});var De=de((Gd,pn)=>{pn.exports=ftGlobals.litClassMap});var Hn=de((Pf,Wn)=>{Wn.exports=ftGlobals.litUnsafeHTML});var Ha=de(Wa=>{(function(o){var e=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function f(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var m={next:function(){var C=d.shift();return{done:C===void 0,value:C}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,C){this.append(C,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=p(d),m=f(m);var C=this.map[d];this.map[d]=C?C+", "+m:m},b.prototype.delete=function(d){delete this.map[p(d)]},b.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},b.prototype.set=function(d,m){this.map[p(d)]=f(m)},b.prototype.forEach=function(d,m){for(var C in this.map)this.map.hasOwnProperty(C)&&d.call(m,this.map[C],C,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,C){d.push(C)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,C){d.push([C,m])}),h(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function v(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function w(d){return new Promise(function(m,C){d.onload=function(){m(d.result)},d.onerror=function(){C(d.error)}})}function A(d){var m=new FileReader,C=w(m);return m.readAsArrayBuffer(d),C}function L(d){var m=new FileReader,C=w(m);return m.readAsText(d),C}function W(d){for(var m=new Uint8Array(d),C=new Array(m.length),tt=0;tt<m.length;tt++)C[tt]=String.fromCharCode(m[tt]);return C.join("")}function H(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function F(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=H(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=H(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=v(this);if(d)return d;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?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(A)}),this.text=function(){var d=v(this);if(d)return d;if(this._bodyBlob)return L(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(W(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var G=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function nt(d){var m=d.toUpperCase();return G.indexOf(m)>-1?m:d}function lt(d,m){m=m||{};var C=m.body;if(d instanceof lt){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!C&&d._bodyInit!=null&&(C=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=nt(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&C)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(C)}lt.prototype.clone=function(){return new lt(this,{body:this._bodyInit})};function J(d){var m=new FormData;return d.trim().split("&").forEach(function(C){if(C){var tt=C.split("="),at=tt.shift().replace(/\+/g," "),_=tt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(at),decodeURIComponent(_))}}),m}function go(d){var m=new b,C=d.replace(/\r?\n[\t ]+/g," ");return C.split(/\r?\n/).forEach(function(tt){var at=tt.split(":"),_=at.shift().trim();if(_){var bo=at.join(":").trim();m.append(_,bo)}}),m}F.call(lt.prototype);function St(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}F.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},St.error=function(){var d=new St(null,{status:0,statusText:""});return d.type="error",d};var Dr=[301,302,303,307,308];St.redirect=function(d,m){if(Dr.indexOf(m)===-1)throw new RangeError("Invalid status code");return new St(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,C){this.message=m,this.name=C;var tt=Error(m);this.stack=tt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function we(d,m){return new Promise(function(C,tt){var at=new lt(d,m);if(at.signal&&at.signal.aborted)return tt(new r.DOMException("Aborted","AbortError"));var _=new XMLHttpRequest;function bo(){_.abort()}_.onload=function(){var qe={status:_.status,statusText:_.statusText,headers:go(_.getAllResponseHeaders()||"")};qe.url="responseURL"in _?_.responseURL:qe.headers.get("X-Request-URL");var Jo="response"in _?_.response:_.responseText;C(new St(Jo,qe))},_.onerror=function(){tt(new TypeError("Network request failed"))},_.ontimeout=function(){tt(new TypeError("Network request failed"))},_.onabort=function(){tt(new r.DOMException("Aborted","AbortError"))},_.open(at.method,at.url,!0),at.credentials==="include"?_.withCredentials=!0:at.credentials==="omit"&&(_.withCredentials=!1),"responseType"in _&&i.blob&&(_.responseType="blob"),at.headers.forEach(function(qe,Jo){_.setRequestHeader(Jo,qe)}),at.signal&&(at.signal.addEventListener("abort",bo),_.onreadystatechange=function(){_.readyState===4&&at.signal.removeEventListener("abort",bo)}),_.send(typeof at._bodyInit>"u"?null:at._bodyInit)})}return we.polyfill=!0,o.fetch||(o.fetch=we,o.Headers=b,o.Request=lt,o.Response=St),r.Headers=b,r.Request=lt,r.Response=St,r.fetch=we,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Wa)});var ls=u(O());var Ft=u(R());var wa=u(R()),Ee=u(O());var Nt=u(R()),g=u(O());var Kt=u(R(),1),oe=o=>typeof o=="string"?(0,Kt.unsafeCSS)(o):o,t=class{static create(e,r,i,n){let a=p=>oe(p??n),l=Kt.css`var(${oe(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>Kt.css`var(${oe(e)}, ${a(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>n,l}static extend(e,r,i,n){let a=p=>i.get(p??n),l=Kt.css`var(${oe(e)}, ${a(n)})`;return l.name=e,l.description=r,l.category=i.category,l.fallbackVariable=i,l.defaultValue=n,l.defaultCssValue=a,l.get=p=>Kt.css`var(${oe(e)}, ${a(p)})`,l.breadcrumb=()=>[i.name,...i.breadcrumb()],l.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),l}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):oe(a??e.lastResortDefaultValue()),n=Kt.css`var(${oe(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Kt.css`var(${oe(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:t.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:t.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:t.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:t.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:t.create("--ft-icon-size-6","","SIZE","48px"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},Wr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Hr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Mr={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gr={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Vr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Kr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},jr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},qr={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ms={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Yr={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Qr={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Jr={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ti={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ei={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},oi={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ri={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ii={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ai={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},si={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},li={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ci={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},pi={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},di={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},xo={display:Wr,"title-1":Hr,"title-2":Mr,"title-3":Gr,"body-1-regular":Vr,"body-1-medium":Kr,"body-1-semibold":Zr,"body-2-regular":jr,"body-2-medium":qr,"body-2-medium-underline":ms,"body-2-semibold":Yr,"label-1-medium":Xr,"label-1-semibold":Qr,"label-1-bold":Jr,"label-2-medium":ti,"label-2-semibold":ei,"label-2-bold":oi,"caption-1-medium":ri,"caption-1-semibold":ii,"caption-1-bold":ni,"caption-2-medium":ai,"caption-2-semibold":si,"caption-2-bold":li,"caption-3-medium":ci,"caption-3-semibold":pi,"caption-3-bold":di};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
2
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var x={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:t.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var pl={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly)};var ml={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentElementColor:t.extend("--ft-breadcrumb-current-element-color","",c.contentGlobalPrimary),iconColor:t.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var vl={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var Al={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Tl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var $l={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var zl={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Vl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var Yl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var ec={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var ac={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:t.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02)};var dc={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),labelHorizontalPadding:t.extend("--ft-tabs-label-horizontal-padding","",s.spacing4),labelVerticalPadding:t.extend("--ft-tabs-label-vertical-padding","",s.spacing3),labelGap:t.extend("--ft-tabs-label-gap","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-tabs-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-tabs-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-tabs-icon-vertical-padding","",s.spacing4),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var yc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Sc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Ac={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var Tc={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalPrimary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalPrimary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var _c={infoBorderColor:t.extend("--ft-border-info-border-color","",c.borderInfoSubtle)};var Fc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var Gc={color:t.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",s.spacing3)};var qc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var tp={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var np={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var pp={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var vo=u(R());function fi(o){let e=xo[o];return vo.css`
|
|
3
|
+
.ft-typography--${(0,vo.unsafeCSS)(o)} {
|
|
4
|
+
font-family: ${e.fontFamily};
|
|
5
|
+
font-size: ${e.fontSize};
|
|
6
|
+
font-weight: ${e.fontWeight};
|
|
7
|
+
letter-spacing: ${e.letterSpacing};
|
|
8
|
+
line-height: ${e.lineHeight};
|
|
9
|
+
text-transform: ${e.textCase};
|
|
10
|
+
}
|
|
11
|
+
`}var ui=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),Zt=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),S={fontFamily:Zt,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Re={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ui),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},Ne={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ui),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},Le={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},Te={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},Ie={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},Ot={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},ke={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},Pe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},_e={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},Wt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Zt),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},hi=Nt.css`
|
|
2
12
|
.ft-typography--title {
|
|
3
|
-
font-family: ${
|
|
4
|
-
font-size: ${
|
|
5
|
-
font-weight: ${
|
|
6
|
-
letter-spacing: ${
|
|
7
|
-
line-height: ${
|
|
8
|
-
text-transform: ${
|
|
9
|
-
}
|
|
10
|
-
`,
|
|
13
|
+
font-family: ${Re.fontFamily};
|
|
14
|
+
font-size: ${Re.fontSize};
|
|
15
|
+
font-weight: ${Re.fontWeight};
|
|
16
|
+
letter-spacing: ${Re.letterSpacing};
|
|
17
|
+
line-height: ${Re.lineHeight};
|
|
18
|
+
text-transform: ${Re.textTransform};
|
|
19
|
+
}
|
|
20
|
+
`,mi=Nt.css`
|
|
11
21
|
.ft-typography--title-dense {
|
|
12
|
-
font-family: ${
|
|
13
|
-
font-size: ${
|
|
14
|
-
font-weight: ${
|
|
15
|
-
letter-spacing: ${
|
|
16
|
-
line-height: ${
|
|
17
|
-
text-transform: ${
|
|
18
|
-
}
|
|
19
|
-
`,
|
|
22
|
+
font-family: ${Ne.fontFamily};
|
|
23
|
+
font-size: ${Ne.fontSize};
|
|
24
|
+
font-weight: ${Ne.fontWeight};
|
|
25
|
+
letter-spacing: ${Ne.letterSpacing};
|
|
26
|
+
line-height: ${Ne.lineHeight};
|
|
27
|
+
text-transform: ${Ne.textTransform};
|
|
28
|
+
}
|
|
29
|
+
`,yi=Nt.css`
|
|
20
30
|
.ft-typography--subtitle1 {
|
|
21
|
-
font-family: ${
|
|
22
|
-
font-size: ${
|
|
23
|
-
font-weight: ${
|
|
24
|
-
letter-spacing: ${
|
|
25
|
-
line-height: ${
|
|
26
|
-
text-transform: ${
|
|
27
|
-
}
|
|
28
|
-
`,
|
|
31
|
+
font-family: ${Le.fontFamily};
|
|
32
|
+
font-size: ${Le.fontSize};
|
|
33
|
+
font-weight: ${Le.fontWeight};
|
|
34
|
+
letter-spacing: ${Le.letterSpacing};
|
|
35
|
+
line-height: ${Le.lineHeight};
|
|
36
|
+
text-transform: ${Le.textTransform};
|
|
37
|
+
}
|
|
38
|
+
`,gi=Nt.css`
|
|
29
39
|
.ft-typography--subtitle2 {
|
|
30
|
-
font-family: ${
|
|
31
|
-
font-size: ${
|
|
32
|
-
font-weight: ${
|
|
33
|
-
letter-spacing: ${
|
|
34
|
-
line-height: ${
|
|
35
|
-
text-transform: ${
|
|
40
|
+
font-family: ${Te.fontFamily};
|
|
41
|
+
font-size: ${Te.fontSize};
|
|
42
|
+
font-weight: ${Te.fontWeight};
|
|
43
|
+
letter-spacing: ${Te.letterSpacing};
|
|
44
|
+
line-height: ${Te.lineHeight};
|
|
45
|
+
text-transform: ${Te.textTransform};
|
|
36
46
|
}
|
|
37
47
|
|
|
38
|
-
`,
|
|
48
|
+
`,bi=Nt.css`
|
|
39
49
|
.ft-typography--body1 {
|
|
40
|
-
font-family: ${
|
|
41
|
-
font-size: ${
|
|
42
|
-
font-weight: ${
|
|
43
|
-
letter-spacing: ${
|
|
44
|
-
line-height: ${
|
|
45
|
-
text-transform: ${
|
|
46
|
-
}
|
|
47
|
-
`,
|
|
50
|
+
font-family: ${Ie.fontFamily};
|
|
51
|
+
font-size: ${Ie.fontSize};
|
|
52
|
+
font-weight: ${Ie.fontWeight};
|
|
53
|
+
letter-spacing: ${Ie.letterSpacing};
|
|
54
|
+
line-height: ${Ie.lineHeight};
|
|
55
|
+
text-transform: ${Ie.textTransform};
|
|
56
|
+
}
|
|
57
|
+
`,xi=Nt.css`
|
|
48
58
|
.ft-typography--body2 {
|
|
49
|
-
font-family: ${
|
|
50
|
-
font-size: ${
|
|
51
|
-
font-weight: ${
|
|
52
|
-
letter-spacing: ${
|
|
53
|
-
line-height: ${
|
|
54
|
-
text-transform: ${
|
|
55
|
-
}
|
|
56
|
-
`,
|
|
59
|
+
font-family: ${Ot.fontFamily};
|
|
60
|
+
font-size: ${Ot.fontSize};
|
|
61
|
+
font-weight: ${Ot.fontWeight};
|
|
62
|
+
letter-spacing: ${Ot.letterSpacing};
|
|
63
|
+
line-height: ${Ot.lineHeight};
|
|
64
|
+
text-transform: ${Ot.textTransform};
|
|
65
|
+
}
|
|
66
|
+
`,So=Nt.css`
|
|
57
67
|
.ft-typography--caption {
|
|
58
|
-
font-family: ${
|
|
59
|
-
font-size: ${
|
|
60
|
-
font-weight: ${
|
|
61
|
-
letter-spacing: ${
|
|
62
|
-
line-height: ${
|
|
63
|
-
text-transform: ${
|
|
64
|
-
}
|
|
65
|
-
`,
|
|
68
|
+
font-family: ${ke.fontFamily};
|
|
69
|
+
font-size: ${ke.fontSize};
|
|
70
|
+
font-weight: ${ke.fontWeight};
|
|
71
|
+
letter-spacing: ${ke.letterSpacing};
|
|
72
|
+
line-height: ${ke.lineHeight};
|
|
73
|
+
text-transform: ${ke.textTransform};
|
|
74
|
+
}
|
|
75
|
+
`,vi=Nt.css`
|
|
66
76
|
.ft-typography--breadcrumb {
|
|
67
|
-
font-family: ${
|
|
68
|
-
font-size: ${
|
|
69
|
-
font-weight: ${
|
|
70
|
-
letter-spacing: ${
|
|
71
|
-
line-height: ${
|
|
72
|
-
text-transform: ${
|
|
73
|
-
}
|
|
74
|
-
`,
|
|
77
|
+
font-family: ${Pe.fontFamily};
|
|
78
|
+
font-size: ${Pe.fontSize};
|
|
79
|
+
font-weight: ${Pe.fontWeight};
|
|
80
|
+
letter-spacing: ${Pe.letterSpacing};
|
|
81
|
+
line-height: ${Pe.lineHeight};
|
|
82
|
+
text-transform: ${Pe.textTransform};
|
|
83
|
+
}
|
|
84
|
+
`,Si=Nt.css`
|
|
75
85
|
.ft-typography--overline {
|
|
76
|
-
font-family: ${
|
|
77
|
-
font-size: ${
|
|
78
|
-
font-weight: ${
|
|
79
|
-
letter-spacing: ${
|
|
80
|
-
line-height: ${
|
|
81
|
-
text-transform: ${
|
|
82
|
-
}
|
|
83
|
-
`,
|
|
86
|
+
font-family: ${_e.fontFamily};
|
|
87
|
+
font-size: ${_e.fontSize};
|
|
88
|
+
font-weight: ${_e.fontWeight};
|
|
89
|
+
letter-spacing: ${_e.letterSpacing};
|
|
90
|
+
line-height: ${_e.lineHeight};
|
|
91
|
+
text-transform: ${_e.textTransform};
|
|
92
|
+
}
|
|
93
|
+
`,Oi=Nt.css`
|
|
84
94
|
.ft-typography--button {
|
|
85
|
-
font-family: ${
|
|
86
|
-
font-size: ${
|
|
87
|
-
font-weight: ${
|
|
88
|
-
letter-spacing: ${
|
|
89
|
-
line-height: ${
|
|
90
|
-
text-transform: ${
|
|
91
|
-
}
|
|
92
|
-
`,
|
|
95
|
+
font-family: ${Wt.fontFamily};
|
|
96
|
+
font-size: ${Wt.fontSize};
|
|
97
|
+
font-weight: ${Wt.fontWeight};
|
|
98
|
+
letter-spacing: ${Wt.letterSpacing};
|
|
99
|
+
line-height: ${Wt.lineHeight};
|
|
100
|
+
text-transform: ${Wt.textTransform};
|
|
101
|
+
}
|
|
102
|
+
`,Ci=Nt.css`
|
|
93
103
|
.ft-typography {
|
|
94
104
|
vertical-align: inherit;
|
|
95
105
|
}
|
|
96
|
-
`,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
letter-spacing: ${o.letterSpacing};
|
|
102
|
-
line-height: ${o.lineHeight};
|
|
103
|
-
text-transform: ${o.textCase};
|
|
104
|
-
}
|
|
105
|
-
`}(t)))],Nt=globalThis,$t=Nt.trustedTypes,Ct=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,Et="$lit$",It=`lit$${(Math.random()+"").slice(9)}$`,kt="?"+It,Rt=`<${kt}>`,Ut=document,Lt=()=>Ut.createComment(""),Wt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,zt=Array.isArray,At="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Dt=/>/g,Bt=RegExp(`>|${At}(?:([^\\s"'>=/]+)(${At}*=${At}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,Tt=/"/g,Ht=/^(?:script|style|textarea|title)$/i,Pt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Mt=Symbol.for("lit-noChange"),_t=Symbol.for("lit-nothing"),jt=new WeakMap,Gt=Ut.createTreeWalker(Ut,129);function Vt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ct?Ct.createHTML(o):o}const Yt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Zt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Zt?"!--"===s[1]?a=Kt:void 0!==s[1]?a=Dt:void 0!==s[2]?(Ht.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=Bt):void 0!==s[3]&&(a=Bt):a===Bt?">"===s[0]?(a=r??Zt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Bt:'"'===s[3]?Tt:Ft):a===Tt||a===Ft?a=Bt:a===Kt||a===Dt?a=Zt:(a=Bt,r=void 0);const p=a===Bt&&t[o+1].startsWith("/>")?" ":"";n+=a===Zt?e+Rt:c>=0?(i.push(l),e.slice(0,c)+Et+e.slice(c)+It+p):e+It+(-2===c?o:p)}return[Vt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class qt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=Yt(t,o);if(this.el=qt.createElement(s,e),Gt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Gt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Et)){const o=c[n++],e=i.getAttribute(t).split(It),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?oo:"?"===a[1]?eo:"@"===a[1]?io:to}),i.removeAttribute(t)}else t.startsWith(It)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(Ht.test(i.tagName)){const t=i.textContent.split(It),o=t.length-1;if(o>0){i.textContent=$t?$t.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Lt()),Gt.nextNode(),l.push({type:2,index:++r});i.append(t[o],Lt())}}}else if(8===i.nodeType)if(i.data===kt)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(It,t+1));)l.push({type:7,index:r}),t+=It.length-1}r++}}static createElement(t,o){const e=Ut.createElement("template");return e.innerHTML=t,e}}function Xt(t,o,e=t,i){if(o===Mt)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Wt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Xt(t,r._$AS(t,o.values),r,i)),o}class Qt{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,i=(t?.creationScope??Ut).importNode(o,!0);Gt.currentNode=i;let r=Gt.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Jt(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new ro(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=Gt.nextNode(),n++)}return Gt.currentNode=Ut,i}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 Jt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=_t,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.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=Xt(this,t,o),Wt(t)?t===_t||null==t||""===t?(this._$AH!==_t&&this._$AR(),this._$AH=_t):t!==this._$AH&&t!==Mt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>zt(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!==_t&&Wt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ut.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=qt.createElement(Vt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Qt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=jt.get(t.strings);return void 0===o&&jt.set(t.strings,o=new qt(t)),o}T(t){zt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Jt(this.k(Lt()),this.k(Lt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$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 to{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=_t,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=_t}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Xt(this,t,o,0),n=!Wt(t)||t!==this._$AH&&t!==Mt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Xt(this,i[e+a],o,a),l===Mt&&(l=this._$AH[a]),n||=!Wt(l)||l!==this._$AH[a],l===_t?t=_t:t!==_t&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===_t?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class oo extends to{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===_t?void 0:t}}class eo extends to{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==_t)}}class io extends to{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Xt(this,t,o,0)??_t)===Mt)return;const e=this._$AH,i=t===_t&&e!==_t||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==_t&&(e===_t||i);i&&this.element.removeEventListener(this.name,this,e),r&&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 ro{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){Xt(this,t)}}const no=Nt.litHtmlPolyfillSupport;no?.(qt,Jt),(Nt.litHtmlVersions??=[]).push("3.1.0");
|
|
106
|
-
/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2020 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/
|
|
111
|
-
const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$litStatic$:t,r:ao}),co=new Map,fo=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=lo(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=co.get(t))&&(a.raw=a,co.set(t,o=a)),e=l}return t(o,...e)})(Pt);var po;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(po||(po={}));var ho=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class uo extends o.FtLitElement{constructor(){super(...arguments),this.variant=po.body1}render(){return this.element?fo`
|
|
112
|
-
<${so(this.element)}
|
|
106
|
+
`,Ei=[Object.keys(xo).map(o=>fi(o))];var Ar=u(O());var Oe=u(R()),$=u(j()),It=u(O());var Vi=u(O());var ar=globalThis,Oo=ar.trustedTypes,wi=Oo?Oo.createPolicy("lit-html",{createHTML:o=>o}):void 0,ki="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Pi="?"+re,ys=`<${Pi}>`,he=document,Co=()=>he.createComment(""),Xe=o=>o===null||typeof o!="object"&&typeof o!="function",_i=Array.isArray,gs=o=>_i(o)||typeof o?.[Symbol.iterator]=="function",tr=`[
|
|
107
|
+
\f\r]`,Ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ri=/-->/g,Ni=/>/g,fe=RegExp(`>|${tr}(?:([^\\s"'>=/]+)(${tr}*=${tr}*(?:[^
|
|
108
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Li=/'/g,Ti=/"/g,$i=/^(?:script|style|textarea|title)$/i,Bi=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),Di=Bi(1),Ui=Bi(2),Qe=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),Ii=new WeakMap,ue=he.createTreeWalker(he,129);function Fi(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return wi!==void 0?wi.createHTML(e):e}var bs=(o,e)=>{let r=o.length-1,i=[],n,a=e===2?"<svg>":"",l=Ye;for(let p=0;p<r;p++){let f=o[p],h,b,v=-1,w=0;for(;w<f.length&&(l.lastIndex=w,b=l.exec(f),b!==null);)w=l.lastIndex,l===Ye?b[1]==="!--"?l=Ri:b[1]!==void 0?l=Ni:b[2]!==void 0?($i.test(b[2])&&(n=RegExp("</"+b[2],"g")),l=fe):b[3]!==void 0&&(l=fe):l===fe?b[0]===">"?(l=n??Ye,v=-1):b[1]===void 0?v=-2:(v=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?fe:b[3]==='"'?Ti:Li):l===Ti||l===Li?l=fe:l===Ri||l===Ni?l=Ye:(l=fe,n=void 0);let A=l===fe&&o[p+1].startsWith("/>")?" ":"";a+=l===Ye?f+ys:v>=0?(i.push(h),f.slice(0,v)+ki+f.slice(v)+re+A):f+re+(v===-2?p:A)}return[Fi(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),i]},Je=class o{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,l=0,p=e.length-1,f=this.parts,[h,b]=bs(e,r);if(this.el=o.createElement(h,i),ue.currentNode=this.el.content,r===2){let v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=ue.nextNode())!==null&&f.length<p;){if(n.nodeType===1){if(n.hasAttributes())for(let v of n.getAttributeNames())if(v.endsWith(ki)){let w=b[l++],A=n.getAttribute(v).split(re),L=/([.?@])?(.*)/.exec(w);f.push({type:1,index:a,name:L[2],strings:A,ctor:L[1]==="."?or:L[1]==="?"?rr:L[1]==="@"?ir:Be}),n.removeAttribute(v)}else v.startsWith(re)&&(f.push({type:6,index:a}),n.removeAttribute(v));if($i.test(n.tagName)){let v=n.textContent.split(re),w=v.length-1;if(w>0){n.textContent=Oo?Oo.emptyScript:"";for(let A=0;A<w;A++)n.append(v[A],Co()),ue.nextNode(),f.push({type:2,index:++a});n.append(v[w],Co())}}}else if(n.nodeType===8)if(n.data===Pi)f.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(re,v+1))!==-1;)f.push({type:7,index:a}),v+=re.length-1}a++}}static createElement(e,r){let i=he.createElement("template");return i.innerHTML=e,i}};function $e(o,e,r=o,i){if(e===Qe)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Xe(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=$e(o,n._$AS(o,e.values),n,i)),e}var er=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??he).importNode(r,!0);ue.currentNode=n;let a=ue.nextNode(),l=0,p=0,f=i[0];for(;f!==void 0;){if(l===f.index){let h;f.type===2?h=new Eo(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new nr(a,this,e)),this._$AV.push(h),f=i[++p]}l!==f?.index&&(a=ue.nextNode(),l++)}return ue.currentNode=he,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Eo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$e(this,e,r),Xe(e)?e===et||e==null||e===""?(this._$AH!==et&&this._$AR(),this._$AH=et):e!==this._$AH&&e!==Qe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==et&&Xe(this._$AH)?this._$AA.nextSibling.data=e:this.$(he.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Je.createElement(Fi(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new er(n,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(e){let r=Ii.get(e.strings);return r===void 0&&Ii.set(e.strings,r=new Je(e)),r}T(e){_i(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new o(this.k(Co()),this.k(Co()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=et,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=et}_$AI(e,r=this,i,n){let a=this.strings,l=!1;if(a===void 0)e=$e(this,e,r,0),l=!Xe(e)||e!==this._$AH&&e!==Qe,l&&(this._$AH=e);else{let p=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=$e(this,p[i+f],r,f),h===Qe&&(h=this._$AH[f]),l||=!Xe(h)||h!==this._$AH[f],h===et?e=et:e!==et&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}l&&!n&&this.O(e)}O(e){e===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},or=class extends Be{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===et?void 0:e}},rr=class extends Be{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==et)}},ir=class extends Be{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=$e(this,e,r,0)??et)===Qe)return;let i=this._$AH,n=e===et&&i!==et||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==et&&(i===et||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},nr=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){$e(this,e)}};var xs=ar.litHtmlPolyfillSupport;xs?.(Je,Eo),(ar.litHtmlVersions??=[]).push("3.1.0");var Wi=Symbol.for(""),vs=o=>{if(o?.r===Wi)return o?._$litStatic$},sr=o=>({_$litStatic$:o,r:Wi});var zi=new Map,Hi=o=>(e,...r)=>{let i=r.length,n,a,l=[],p=[],f,h=0,b=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=vs(a))!==void 0);)f+=n+e[++h],b=!0;h!==i&&p.push(a),l.push(f),h++}if(h===i&&l.push(e[i]),b){let v=l.join("$$lit$$");(e=zi.get(v))===void 0&&(l.raw=l,zi.set(v,e=l)),r=p}return o(e,...r)},lr=Hi(Di),Sd=Hi(Ui);var cr=u(j()),Gi=u(O());var me;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(me||(me={}));var Mi=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},V=class extends Gi.FtLitElement{constructor(){super(...arguments),this.variant=me.body1}render(){return this.element?lr`
|
|
109
|
+
<${sr(this.element)}
|
|
110
|
+
part="text"
|
|
113
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
114
112
|
<slot></slot>
|
|
115
|
-
</${
|
|
116
|
-
`:
|
|
117
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
118
|
-
`}}
|
|
113
|
+
</${sr(this.element)}>
|
|
114
|
+
`:lr`
|
|
115
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
+
`}};V.styles=[hi,mi,yi,gi,bi,xi,So,vi,Si,Oi,Ci,...Ei];Mi([(0,cr.property)()],V.prototype,"element",void 0);Mi([(0,cr.property)()],V.prototype,"variant",void 0);(0,Vi.customElement)("ft-typography")(V);var wt=u(R()),ot=u(j()),ga=u(Zi()),Bo=u(O());var Sr=u(O());var co=u(j()),Yn=u(O());var ln=u(R()),E=u(O());var Ji=u(R()),q=u(O()),ji=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),T={color:ji,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",ji),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},qi=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),Yi={color:qi,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",qi)},Xi=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),Qi={color:Xi,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xi)},tn=Ji.css`
|
|
119
117
|
:host {
|
|
120
118
|
display: contents;
|
|
121
119
|
}
|
|
@@ -128,7 +126,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
128
126
|
|
|
129
127
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
130
128
|
overflow: hidden;
|
|
131
|
-
border-radius: ${
|
|
129
|
+
border-radius: ${T.borderRadius};
|
|
132
130
|
}
|
|
133
131
|
|
|
134
132
|
.ft-ripple .ft-ripple--background,
|
|
@@ -162,27 +160,27 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
162
160
|
}
|
|
163
161
|
|
|
164
162
|
.ft-ripple .ft-ripple--background {
|
|
165
|
-
background-color: ${
|
|
163
|
+
background-color: ${T.backgroundColor};
|
|
166
164
|
}
|
|
167
165
|
|
|
168
166
|
.ft-ripple .ft-ripple--effect {
|
|
169
|
-
background-color: ${
|
|
167
|
+
background-color: ${T.color};
|
|
170
168
|
}
|
|
171
169
|
|
|
172
170
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
173
|
-
background-color: ${
|
|
171
|
+
background-color: ${Qi.backgroundColor};
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
177
|
-
background-color: ${
|
|
175
|
+
background-color: ${Qi.color};
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
181
|
-
background-color: ${
|
|
179
|
+
background-color: ${Yi.backgroundColor};
|
|
182
180
|
}
|
|
183
181
|
|
|
184
182
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
185
|
-
background-color: ${
|
|
183
|
+
background-color: ${Yi.color};
|
|
186
184
|
}
|
|
187
185
|
|
|
188
186
|
.ft-ripple .ft-ripple--background {
|
|
@@ -212,22 +210,22 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
212
210
|
}
|
|
213
211
|
|
|
214
212
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
215
|
-
opacity: ${
|
|
213
|
+
opacity: ${T.opacityContentOnSurfaceHover};
|
|
216
214
|
}
|
|
217
215
|
|
|
218
216
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
219
|
-
opacity: ${
|
|
217
|
+
opacity: ${T.opacityContentOnSurfaceSelected};
|
|
220
218
|
}
|
|
221
219
|
|
|
222
220
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
223
|
-
opacity: ${
|
|
221
|
+
opacity: ${T.opacityContentOnSurfaceFocused};
|
|
224
222
|
}
|
|
225
223
|
|
|
226
224
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
227
|
-
opacity: ${
|
|
225
|
+
opacity: ${T.opacityContentOnSurfacePressed};
|
|
228
226
|
transform: translate(-50%, -50%) scale(1);
|
|
229
227
|
}
|
|
230
|
-
|
|
228
|
+
`;var en=u(R()),to=u(O()),ut={color:to.FtCssVariableFactory.extend("--ft-loader-color","",to.designSystemVariables.colorPrimary),size:to.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},on=en.css`
|
|
231
229
|
:host {
|
|
232
230
|
line-height: 0;
|
|
233
231
|
}
|
|
@@ -236,8 +234,8 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
236
234
|
display: inline-block;
|
|
237
235
|
position: relative;
|
|
238
236
|
|
|
239
|
-
width: ${
|
|
240
|
-
height: ${
|
|
237
|
+
width: ${ut.size};
|
|
238
|
+
height: ${ut.size};
|
|
241
239
|
}
|
|
242
240
|
|
|
243
241
|
.ft-loader div {
|
|
@@ -246,7 +244,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
246
244
|
width: 25%;
|
|
247
245
|
height: 25%;
|
|
248
246
|
border-radius: 50%;
|
|
249
|
-
background: ${
|
|
247
|
+
background: ${ut.color};
|
|
250
248
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
251
249
|
}
|
|
252
250
|
|
|
@@ -293,10 +291,10 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
293
291
|
transform: translate(0, 0);
|
|
294
292
|
}
|
|
295
293
|
100% {
|
|
296
|
-
transform: translate(calc(0.35 * ${
|
|
294
|
+
transform: translate(calc(0.35 * ${ut.size}), 0);
|
|
297
295
|
}
|
|
298
296
|
}
|
|
299
|
-
|
|
297
|
+
`;var rn=u(R()),jt=u(O()),ht={size:jt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:jt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:jt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:jt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",jt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:jt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nn=rn.css`
|
|
300
298
|
:host, i.ft-icon {
|
|
301
299
|
display: inline-flex;
|
|
302
300
|
align-items: center;
|
|
@@ -305,14 +303,14 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
305
303
|
}
|
|
306
304
|
|
|
307
305
|
:host {
|
|
308
|
-
width: ${
|
|
309
|
-
height: ${
|
|
306
|
+
width: ${ht.size};
|
|
307
|
+
height: ${ht.size};
|
|
310
308
|
}
|
|
311
309
|
|
|
312
310
|
i.ft-icon {
|
|
313
311
|
width: 100%;
|
|
314
312
|
height: 100%;
|
|
315
|
-
font-size: ${
|
|
313
|
+
font-size: ${ht.size};
|
|
316
314
|
line-height: 1;
|
|
317
315
|
font-weight: normal;
|
|
318
316
|
text-transform: none;
|
|
@@ -323,28 +321,28 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
323
321
|
text-rendering: auto;
|
|
324
322
|
-webkit-font-smoothing: antialiased;
|
|
325
323
|
-moz-osx-font-smoothing: grayscale;
|
|
326
|
-
vertical-align: ${
|
|
324
|
+
vertical-align: ${ht.verticalAlign};
|
|
327
325
|
}
|
|
328
326
|
|
|
329
327
|
i.ft-icon.ft-icon--fluid-topics {
|
|
330
|
-
font-family: ${
|
|
328
|
+
font-family: ${ht.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
331
329
|
|
|
332
330
|
/* Ugly fix because font is broken */
|
|
333
|
-
font-size: calc(0.75 * ${
|
|
334
|
-
line-height: ${
|
|
331
|
+
font-size: calc(0.75 * ${ht.size});
|
|
332
|
+
line-height: ${ht.size};
|
|
335
333
|
position: relative;
|
|
336
334
|
top: -4%;
|
|
337
335
|
justify-content: center;
|
|
338
336
|
}
|
|
339
337
|
|
|
340
338
|
.ft-icon--file-format {
|
|
341
|
-
font-family: ${
|
|
339
|
+
font-family: ${ht.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
342
340
|
}
|
|
343
341
|
|
|
344
342
|
.ft-icon--material {
|
|
345
|
-
font-family: ${
|
|
343
|
+
font-family: ${ht.materialFontFamily}, "Material Icons", sans-serif;
|
|
346
344
|
}
|
|
347
|
-
|
|
345
|
+
`;var an=E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorPrimary),B={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorSurface),borderRadius:E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusL),color:an,fontSize:E.FtCssVariableFactory.extend("--ft-button-font-size","",Wt.fontSize),iconSize:E.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:E.FtCssVariableFactory.extend("--ft-button-ripple-color","",an),verticalPadding:E.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:E.FtCssVariableFactory.external(E.designSystemVariables.colorOpacityDisabled,"Design system")},sn=E.FtCssVariableFactory.extend("--ft-button-primary-color","",E.FtCssVariableFactory.extend("--ft-button-color","",E.designSystemVariables.colorOnPrimary)),pr={backgroundColor:E.FtCssVariableFactory.extend("--ft-button-primary-background-color","",E.FtCssVariableFactory.extend("--ft-button-background-color","",E.designSystemVariables.colorPrimary)),color:sn,rippleColor:E.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",sn)},Ht={borderRadius:E.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",E.FtCssVariableFactory.extend("--ft-button-border-radius","",E.designSystemVariables.borderRadiusM)),verticalPadding:E.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:E.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:E.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},cn=[ln.css`
|
|
348
346
|
:host {
|
|
349
347
|
display: inline-block;
|
|
350
348
|
max-width: 100%;
|
|
@@ -355,7 +353,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
355
353
|
box-shadow: 0px 0px 0px transparent;
|
|
356
354
|
border: 0px solid transparent;
|
|
357
355
|
text-shadow: 0px 0px 0px transparent;
|
|
358
|
-
font-size: ${
|
|
356
|
+
font-size: ${B.fontSize};
|
|
359
357
|
}
|
|
360
358
|
|
|
361
359
|
button:hover {
|
|
@@ -384,31 +382,31 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
384
382
|
border: none;
|
|
385
383
|
pointer-events: auto;
|
|
386
384
|
|
|
387
|
-
--ft-button-internal-line-height: max(calc(${
|
|
388
|
-
--ft-button-internal-color: ${
|
|
389
|
-
${
|
|
390
|
-
${
|
|
385
|
+
--ft-button-internal-line-height: max(calc(${B.fontSize} + 2px), ${B.iconSize});
|
|
386
|
+
--ft-button-internal-color: ${B.color};
|
|
387
|
+
${(0,E.setVariable)(ht.size,B.iconSize)};
|
|
388
|
+
${(0,E.setVariable)(T.color,B.rippleColor)};
|
|
391
389
|
|
|
392
|
-
border-radius: ${
|
|
393
|
-
padding: ${
|
|
394
|
-
background-color: ${
|
|
390
|
+
border-radius: ${B.borderRadius};
|
|
391
|
+
padding: ${B.verticalPadding} ${B.horizontalPadding};
|
|
392
|
+
background-color: ${B.backgroundColor};
|
|
395
393
|
color: var(--ft-button-internal-color);
|
|
396
394
|
-webkit-mask-image: radial-gradient(white, black);
|
|
397
395
|
}
|
|
398
396
|
|
|
399
397
|
.ft-button.ft-button--outlined {
|
|
400
398
|
border: 1px solid var(--ft-button-internal-color);
|
|
401
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${B.verticalPadding} - 1px) calc(${B.horizontalPadding} - 1px);
|
|
402
400
|
}
|
|
403
401
|
|
|
404
402
|
.ft-button.ft-button--dense {
|
|
405
|
-
padding: ${
|
|
406
|
-
border-radius: ${
|
|
407
|
-
gap: ${
|
|
403
|
+
padding: ${Ht.verticalPadding} ${Ht.horizontalPadding};
|
|
404
|
+
border-radius: ${Ht.borderRadius};
|
|
405
|
+
gap: ${Ht.iconPadding};
|
|
408
406
|
}
|
|
409
407
|
|
|
410
408
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
411
|
-
padding: calc(${
|
|
409
|
+
padding: calc(${Ht.verticalPadding} - 1px) calc(${Ht.horizontalPadding} - 1px);
|
|
412
410
|
}
|
|
413
411
|
|
|
414
412
|
.ft-button:not([disabled]):hover {
|
|
@@ -416,22 +414,22 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
416
414
|
}
|
|
417
415
|
|
|
418
416
|
.ft-button--round {
|
|
419
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
417
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${B.verticalPadding});
|
|
420
418
|
}
|
|
421
419
|
|
|
422
420
|
.ft-button--round.ft-button--dense {
|
|
423
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
421
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ht.verticalPadding});
|
|
424
422
|
}
|
|
425
423
|
|
|
426
424
|
.ft-button[disabled] {
|
|
427
425
|
filter: grayscale(1);
|
|
428
|
-
opacity: ${
|
|
426
|
+
opacity: ${B.opacityDisabled};
|
|
429
427
|
}
|
|
430
428
|
|
|
431
429
|
.ft-button.ft-button--primary {
|
|
432
|
-
background-color: ${
|
|
433
|
-
--ft-button-internal-color: ${
|
|
434
|
-
${
|
|
430
|
+
background-color: ${pr.backgroundColor};
|
|
431
|
+
--ft-button-internal-color: ${pr.color};
|
|
432
|
+
${(0,E.setVariable)(T.color,pr.rippleColor)};
|
|
435
433
|
}
|
|
436
434
|
|
|
437
435
|
.ft-button:focus {
|
|
@@ -444,55 +442,54 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
444
442
|
white-space: nowrap;
|
|
445
443
|
text-overflow: ellipsis;
|
|
446
444
|
display: block;
|
|
447
|
-
margin: 0 ${
|
|
448
|
-
${
|
|
449
|
-
${
|
|
445
|
+
margin: 0 ${B.iconPadding};
|
|
446
|
+
${(0,E.setVariable)(Wt.fontSize,"1em")};
|
|
447
|
+
${(0,E.setVariable)(Wt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
450
448
|
}
|
|
451
449
|
|
|
452
450
|
.ft-button--dense .ft-button--label {
|
|
453
|
-
margin: 0 ${
|
|
451
|
+
margin: 0 ${Ht.iconPadding};
|
|
454
452
|
}
|
|
455
453
|
|
|
456
454
|
.ft-button--label[hidden] {
|
|
457
455
|
display: none;
|
|
458
456
|
}
|
|
459
457
|
|
|
460
|
-
|
|
458
|
+
[part="icon"] {
|
|
461
459
|
flex-shrink: 0;
|
|
462
460
|
position: relative;
|
|
463
461
|
}
|
|
464
462
|
|
|
465
|
-
.ft-button--label[hidden] +
|
|
466
|
-
margin: 0 calc(${
|
|
467
|
-
padding: 0 ${
|
|
463
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
464
|
+
margin: 0 calc(${B.horizontalPadding} * -1);
|
|
465
|
+
padding: 0 ${B.verticalPadding};
|
|
468
466
|
}
|
|
469
467
|
|
|
470
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
471
|
-
margin: 0 calc(${
|
|
472
|
-
padding: 0 ${
|
|
468
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
469
|
+
margin: 0 calc(${Ht.horizontalPadding} * -1);
|
|
470
|
+
padding: 0 ${Ht.verticalPadding};
|
|
473
471
|
}
|
|
474
472
|
|
|
475
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
476
|
-
|
|
477
|
-
order: -1;
|
|
473
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
474
|
+
order: 2;
|
|
478
475
|
}
|
|
479
476
|
|
|
480
477
|
ft-loader {
|
|
481
|
-
${
|
|
482
|
-
${
|
|
478
|
+
${(0,E.setVariable)(ut.size,B.iconSize)};
|
|
479
|
+
${(0,E.setVariable)(ut.color,"var(--ft-button-internal-color)")};
|
|
483
480
|
}
|
|
484
|
-
`,
|
|
481
|
+
`,E.noTextSelect];var Me=u(O());var un=u(O());var dn=u(R()),st=u(j()),fn=u(De()),eo=u(O());var mt=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},P=class extends eo.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new eo.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new eo.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),l=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return dn.html`
|
|
485
482
|
<style>
|
|
486
483
|
.ft-ripple .ft-ripple--effect {
|
|
487
484
|
left: ${this.originX}px;
|
|
488
485
|
top: ${this.originY}px;
|
|
489
486
|
}
|
|
490
487
|
</style>
|
|
491
|
-
<div class="${
|
|
488
|
+
<div class="${(0,fn.classMap)(e)}">
|
|
492
489
|
<div class="ft-ripple--background"></div>
|
|
493
490
|
<div class="ft-ripple--effect"></div>
|
|
494
491
|
</div>
|
|
495
|
-
`}contentAvailableCallback(
|
|
492
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>f=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",i,l),e.addEventListener("touchstart",n,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",a,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",i,l),e.removeEventListener("touchstart",n,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",a,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};P.elementDefinitions={};P.styles=tn;mt([(0,st.property)({type:Boolean})],P.prototype,"primary",void 0);mt([(0,st.property)({type:Boolean})],P.prototype,"secondary",void 0);mt([(0,st.property)({type:Boolean})],P.prototype,"unbounded",void 0);mt([(0,st.property)({type:Boolean})],P.prototype,"activated",void 0);mt([(0,st.property)({type:Boolean})],P.prototype,"selected",void 0);mt([(0,st.property)({type:Boolean})],P.prototype,"disabled",void 0);mt([(0,st.state)()],P.prototype,"hovered",void 0);mt([(0,st.state)()],P.prototype,"focused",void 0);mt([(0,st.state)()],P.prototype,"pressed",void 0);mt([(0,st.state)()],P.prototype,"rippling",void 0);mt([(0,st.state)()],P.prototype,"originX",void 0);mt([(0,st.state)()],P.prototype,"originY",void 0);mt([(0,st.query)(".ft-ripple")],P.prototype,"ripple",void 0);mt([(0,st.query)(".ft-ripple--effect")],P.prototype,"rippleEffect",void 0);(0,un.customElement)("ft-ripple")(P);var zn=u(O());var Fn=u(R()),X=u(j()),so=u(O());var hn=u(R()),qt=u(O()),Ue={distance:qt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:qt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:qt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:qt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:qt.FtCssVariableFactory.external(qt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:qt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},mn=hn.css`
|
|
496
493
|
.ft-tooltip--container {
|
|
497
494
|
display: block;
|
|
498
495
|
}
|
|
@@ -507,21 +504,21 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
507
504
|
box-sizing: border-box;
|
|
508
505
|
overflow: hidden;
|
|
509
506
|
width: max-content;
|
|
510
|
-
max-width: ${
|
|
507
|
+
max-width: ${Ue.maxWidth};
|
|
511
508
|
text-align: center;
|
|
512
|
-
padding: ${
|
|
513
|
-
z-index: ${
|
|
509
|
+
padding: ${Ue.distance};
|
|
510
|
+
z-index: ${Ue.zIndex};
|
|
514
511
|
}
|
|
515
512
|
|
|
516
513
|
.ft-tooltip--content {
|
|
517
514
|
padding: 4px 8px;
|
|
518
|
-
border-radius: ${
|
|
519
|
-
background-color: ${
|
|
520
|
-
color: ${
|
|
515
|
+
border-radius: ${Ue.borderRadiusS};
|
|
516
|
+
background-color: ${Ue.backgroundColor};
|
|
517
|
+
color: ${Ue.color};
|
|
521
518
|
position: relative;
|
|
522
519
|
word-break: break-word;
|
|
523
520
|
}
|
|
524
|
-
`,jo=["start","end"],Go=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+jo[0],o+"-"+jo[1])),[]),Vo=Math.min,Yo=Math.max,qo=Math.round,Xo=t=>({x:t,y:t}),Qo={left:"right",right:"left",bottom:"top",top:"bottom"},Jo={start:"end",end:"start"};function te(t,o,e){return Yo(t,Vo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function re(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return re(ae(t))}function se(t){return t.replace(/left|right|bottom|top/g,(t=>Qo[t]))}function ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function fe(t,o,e){let{reference:i,floating:r}=t;const n=ae(o),a=le(o),l=ne(a),s=ee(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(ie(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function pe(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=oe(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function de(t,o,e){return(t?[...e.filter((o=>ie(o)===t)),...e.filter((o=>ie(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Jo[t]))}(e)!==e)))}const he=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Go,autoAlignment:h=!0,...u}=oe(t,o),g=void 0!==p||d===Go?de(p||null,h,d):d,y=await pe(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 i=ie(t),r=le(t),n=ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=se(a)),[a,se(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ee(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=ie(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=S.filter((t=>t[2].slice(0,ie(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ue(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ye(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function we(t){return["table","td","th"].includes(ue(t))}function Se(t){const o=Ne(),e=Ce(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 Ne(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $e(t){return["html","body","#document"].includes(ue(t))}function Ce(t){return ge(t).getComputedStyle(t)}function Ee(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ie(t){if("html"===ue(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ye(t);return ve(o)?o.host:o}function ke(t){const o=Ie(t);return $e(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:ke(o)}function Re(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ke(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ge(r);return n?o.concat(a,a.visualViewport||[],Oe(r)?r:[],a.frameElement&&e?Re(a.frameElement):[]):o.concat(r,Re(r,[],e))}function Ue(t){const o=Ce(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=xe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=qo(e)!==n||qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Le(t){return me(t)?t:t.contextElement}function We(t){const o=Le(t);if(!xe(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ue(o);let a=(n?qo(e.width):e.width)/i,l=(n?qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ze=Xo(0);function Ae(t){const o=ge(t);return Ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ze}function Ze(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Le(t);let a=Xo(1);o&&(i?me(i)&&(a=We(i)):a=We(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,i)?Ae(n):Xo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=ge(n),o=i&&me(i)?ge(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=We(e),o=e.getBoundingClientRect(),i=Ce(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=ge(e).frameElement}}return ce({width:f,height:p,x:s,y:c})}function Ke(t){return Ze(ye(t)).left+Ee(t).scrollLeft}function De(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ge(t),i=ye(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ne();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=ye(t),e=Ee(t),i=t.ownerDocument.body,r=Yo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Yo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Ke(t);const l=-e.scrollTop;return"rtl"===Ce(i).direction&&(a+=Yo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ye(t));else if(me(o))i=function(t,o){const e=Ze(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=xe(t)?We(t):Xo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ae(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ce(i)}function Be(t,o){const e=Ie(t);return!(e===o||!me(e)||$e(e))&&("fixed"===Ce(e).position||Be(e,o))}function Fe(t,o,e){const i=xe(o),r=ye(o),n="fixed"===e,a=Ze(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ue(o)||Oe(r))&&(l=Ee(o)),i){const t=Ze(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=Ke(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Te(t,o){return xe(t)&&"fixed"!==Ce(t).position?o?o(t):t.offsetParent:null}function He(t,o){const e=ge(t);if(!xe(t))return e;let i=Te(t,o);for(;i&&we(i)&&"static"===Ce(i).position;)i=Te(i,o);return i&&("html"===ue(i)||"body"===ue(i)&&"static"===Ce(i).position&&!Se(i))?e:i||function(t){let o=Ie(t);for(;xe(o)&&!$e(o);){if(Se(o))return o;o=Ie(o)}return null}(t)||e}const Pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=xe(e),n=ye(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ue(e)||Oe(n))&&(a=Ee(e)),xe(e))){const t=Ze(e);l=We(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:ye,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Re(t,[],!1).filter((t=>me(t)&&"body"!==ue(t))),r=null;const n="fixed"===Ce(t).position;let a=n?Ie(t):t;for(;me(a)&&!$e(a);){const o=Ce(a),e=Se(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Oe(a)&&!e&&Be(t,a))?i=i.filter((t=>t!==a)):r=o,a=Ie(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=De(o,e,r);return t.top=Yo(i.top,t.top),t.right=Vo(i.right,t.right),t.bottom=Vo(i.bottom,t.bottom),t.left=Yo(i.left,t.left),t}),De(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:He,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||He,n=this.getDimensions;return{reference:Fe(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ue(t)},getScale:We,isElement:me,isRTL:function(t){return"rtl"===Ce(t).direction}},Me=(t,o,e)=>{const i=new Map,r={platform:Pe,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=fe(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=fe(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function _e(t){return function(t){for(let o=t;o;o=je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=je(t);o;o=je(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 je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ge,Ve,Ye,qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(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`
|
|
521
|
+
`;var gn=["top","right","bottom","left"],yn=["start","end"],fr=gn.reduce((o,e)=>o.concat(e,e+"-"+yn[0],e+"-"+yn[1]),[]),oo=Math.min,ie=Math.max,ro=Math.round;var Yt=o=>({x:o,y:o}),Ss={left:"right",right:"left",bottom:"top",top:"bottom"},Os={start:"end",end:"start"};function ur(o,e,r){return ie(o,oo(e,r))}function Ao(o,e){return typeof o=="function"?o(e):o}function Fe(o){return o.split("-")[0]}function ne(o){return o.split("-")[1]}function hr(o){return o==="x"?"y":"x"}function mr(o){return o==="y"?"height":"width"}function wo(o){return["top","bottom"].includes(Fe(o))?"y":"x"}function yr(o){return hr(wo(o))}function bn(o,e,r){r===void 0&&(r=!1);let i=ne(o),n=yr(o),a=mr(n),l=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=dr(l)),[l,dr(l)]}function xn(o){return o.replace(/start|end/g,e=>Os[e])}function dr(o){return o.replace(/left|right|bottom|top/g,e=>Ss[e])}function Cs(o){return{top:0,right:0,bottom:0,left:0,...o}}function vn(o){return typeof o!="number"?Cs(o):{top:o,right:o,bottom:o,left:o}}function ye(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Sn(o,e,r){let{reference:i,floating:n}=o,a=wo(e),l=yr(e),p=mr(l),f=Fe(e),h=a==="y",b=i.x+i.width/2-n.width/2,v=i.y+i.height/2-n.height/2,w=i[p]/2-n[p]/2,A;switch(f){case"top":A={x:b,y:i.y-n.height};break;case"bottom":A={x:b,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:v};break;case"left":A={x:i.x-n.width,y:v};break;default:A={x:i.x,y:i.y}}switch(ne(e)){case"start":A[l]-=w*(r&&h?-1:1);break;case"end":A[l]+=w*(r&&h?-1:1);break}return A}var On=async(o,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:l}=r,p=a.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(e)),h=await l.getElementRects({reference:o,floating:e,strategy:n}),{x:b,y:v}=Sn(h,i,f),w=i,A={},L=0;for(let W=0;W<p.length;W++){let{name:H,fn:F}=p[W],{x:G,y:nt,data:lt,reset:J}=await F({x:b,y:v,initialPlacement:i,placement:w,strategy:n,middlewareData:A,rects:h,platform:l,elements:{reference:o,floating:e}});if(b=G??b,v=nt??v,A={...A,[H]:{...A[H],...lt}},J&&L<=50){L++,typeof J=="object"&&(J.placement&&(w=J.placement),J.rects&&(h=J.rects===!0?await l.getElementRects({reference:o,floating:e,strategy:n}):J.rects),{x:b,y:v}=Sn(h,w,f)),W=-1;continue}}return{x:b,y:v,placement:w,strategy:n,middlewareData:A}};async function gr(o,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:l,elements:p,strategy:f}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:v="floating",altBoundary:w=!1,padding:A=0}=Ao(e,o),L=vn(A),H=p[w?v==="floating"?"reference":"floating":v],F=ye(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(H)))==null||r?H:H.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(p.floating)),boundary:h,rootBoundary:b,strategy:f})),G=v==="floating"?{...l.floating,x:i,y:n}:l.reference,nt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),lt=await(a.isElement==null?void 0:a.isElement(nt))?await(a.getScale==null?void 0:a.getScale(nt))||{x:1,y:1}:{x:1,y:1},J=ye(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:nt,strategy:f}):G);return{top:(F.top-J.top+L.top)/lt.y,bottom:(J.bottom-F.bottom+L.bottom)/lt.y,left:(F.left-J.left+L.left)/lt.x,right:(J.right-F.right+L.right)/lt.x}}function Es(o,e,r){return(o?[...r.filter(n=>ne(n)===o),...r.filter(n=>ne(n)!==o)]:r.filter(n=>Fe(n)===n)).filter(n=>o?ne(n)===o||(e?xn(n)!==n:!1):!0)}var br=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,i,n;let{rects:a,middlewareData:l,placement:p,platform:f,elements:h}=e,{crossAxis:b=!1,alignment:v,allowedPlacements:w=fr,autoAlignment:A=!0,...L}=Ao(o,e),W=v!==void 0||w===fr?Es(v||null,A,w):w,H=await gr(e,L),F=((r=l.autoPlacement)==null?void 0:r.index)||0,G=W[F];if(G==null)return{};let nt=bn(G,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(p!==G)return{reset:{placement:W[0]}};let lt=[H[Fe(G)],H[nt[0]],H[nt[1]]],J=[...((i=l.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:lt}],go=W[F+1];if(go)return{data:{index:F+1,overflows:J},reset:{placement:go}};let St=J.map(d=>{let m=ne(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((C,tt)=>C+tt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),we=((n=St.filter(d=>d[2].slice(0,ne(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||St[0][0];return we!==p?{data:{index:F+1,overflows:J},reset:{placement:we}}:{}}}};var xr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:p={fn:H=>{let{x:F,y:G}=H;return{x:F,y:G}}},...f}=Ao(o,e),h={x:r,y:i},b=await gr(e,f),v=wo(Fe(n)),w=hr(v),A=h[w],L=h[v];if(a){let H=w==="y"?"top":"left",F=w==="y"?"bottom":"right",G=A+b[H],nt=A-b[F];A=ur(G,A,nt)}if(l){let H=v==="y"?"top":"left",F=v==="y"?"bottom":"right",G=L+b[H],nt=L-b[F];L=ur(G,L,nt)}let W=p.fn({...e,[w]:A,[v]:L});return{...W,data:{x:W.x-r,y:W.y-i}}}}};function Xt(o){return En(o)?(o.nodeName||"").toLowerCase():"#document"}function yt(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function Qt(o){var e;return(e=(En(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function En(o){return o instanceof Node||o instanceof yt(o).Node}function Mt(o){return o instanceof Element||o instanceof yt(o).Element}function Pt(o){return o instanceof HTMLElement||o instanceof yt(o).HTMLElement}function Cn(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof yt(o).ShadowRoot}function ze(o){let{overflow:e,overflowX:r,overflowY:i,display:n}=Ct(o);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function An(o){return["table","td","th"].includes(Xt(o))}function No(o){let e=Lo(),r=Ct(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function wn(o){let e=ge(o);for(;Pt(e)&&!io(e);){if(No(e))return e;e=ge(e)}return null}function Lo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function io(o){return["html","body","#document"].includes(Xt(o))}function Ct(o){return yt(o).getComputedStyle(o)}function no(o){return Mt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ge(o){if(Xt(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Cn(o)&&o.host||Qt(o);return Cn(e)?e.host:e}function Rn(o){let e=ge(o);return io(e)?o.ownerDocument?o.ownerDocument.body:o.body:Pt(e)&&ze(e)?e:Rn(e)}function Ro(o,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Rn(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),l=yt(n);return a?e.concat(l,l.visualViewport||[],ze(n)?n:[],l.frameElement&&r?Ro(l.frameElement):[]):e.concat(n,Ro(n,[],r))}function Tn(o){let e=Ct(o),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Pt(o),a=n?o.offsetWidth:r,l=n?o.offsetHeight:i,p=ro(r)!==a||ro(i)!==l;return p&&(r=a,i=l),{width:r,height:i,$:p}}function In(o){return Mt(o)?o:o.contextElement}function We(o){let e=In(o);if(!Pt(e))return Yt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Tn(e),l=(a?ro(r.width):r.width)/i,p=(a?ro(r.height):r.height)/n;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var As=Yt(0);function kn(o){let e=yt(o);return!Lo()||!e.visualViewport?As:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ws(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==yt(o)?!1:e}function ao(o,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=In(o),l=Yt(1);e&&(i?Mt(i)&&(l=We(i)):l=We(o));let p=ws(a,r,i)?kn(a):Yt(0),f=(n.left+p.x)/l.x,h=(n.top+p.y)/l.y,b=n.width/l.x,v=n.height/l.y;if(a){let w=yt(a),A=i&&Mt(i)?yt(i):i,L=w.frameElement;for(;L&&i&&A!==w;){let W=We(L),H=L.getBoundingClientRect(),F=Ct(L),G=H.left+(L.clientLeft+parseFloat(F.paddingLeft))*W.x,nt=H.top+(L.clientTop+parseFloat(F.paddingTop))*W.y;f*=W.x,h*=W.y,b*=W.x,v*=W.y,f+=G,h+=nt,L=yt(L).frameElement}}return ye({width:b,height:v,x:f,y:h})}function Rs(o){let{rect:e,offsetParent:r,strategy:i}=o,n=Pt(r),a=Qt(r);if(r===a)return e;let l={scrollLeft:0,scrollTop:0},p=Yt(1),f=Yt(0);if((n||!n&&i!=="fixed")&&((Xt(r)!=="body"||ze(a))&&(l=no(r)),Pt(r))){let h=ao(r);p=We(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*p.x,height:e.height*p.y,x:e.x*p.x-l.scrollLeft*p.x+f.x,y:e.y*p.y-l.scrollTop*p.y+f.y}}function Ns(o){return Array.from(o.getClientRects())}function Pn(o){return ao(Qt(o)).left+no(o).scrollLeft}function Ls(o){let e=Qt(o),r=no(o),i=o.ownerDocument.body,n=ie(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=ie(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),l=-r.scrollLeft+Pn(o),p=-r.scrollTop;return Ct(i).direction==="rtl"&&(l+=ie(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:l,y:p}}function Ts(o,e){let r=yt(o),i=Qt(o),n=r.visualViewport,a=i.clientWidth,l=i.clientHeight,p=0,f=0;if(n){a=n.width,l=n.height;let h=Lo();(!h||h&&e==="fixed")&&(p=n.offsetLeft,f=n.offsetTop)}return{width:a,height:l,x:p,y:f}}function Is(o,e){let r=ao(o,!0,e==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Pt(o)?We(o):Yt(1),l=o.clientWidth*a.x,p=o.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:l,height:p,x:f,y:h}}function Nn(o,e,r){let i;if(e==="viewport")i=Ts(o,r);else if(e==="document")i=Ls(Qt(o));else if(Mt(e))i=Is(e,r);else{let n=kn(o);i={...e,x:e.x-n.x,y:e.y-n.y}}return ye(i)}function _n(o,e){let r=ge(o);return r===e||!Mt(r)||io(r)?!1:Ct(r).position==="fixed"||_n(r,e)}function ks(o,e){let r=e.get(o);if(r)return r;let i=Ro(o,[],!1).filter(p=>Mt(p)&&Xt(p)!=="body"),n=null,a=Ct(o).position==="fixed",l=a?ge(o):o;for(;Mt(l)&&!io(l);){let p=Ct(l),f=No(l);!f&&p.position==="fixed"&&(n=null),(a?!f&&!n:!f&&p.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ze(l)&&!f&&_n(o,l))?i=i.filter(b=>b!==l):n=p,l=ge(l)}return e.set(o,i),i}function Ps(o){let{element:e,boundary:r,rootBoundary:i,strategy:n}=o,l=[...r==="clippingAncestors"?ks(e,this._c):[].concat(r),i],p=l[0],f=l.reduce((h,b)=>{let v=Nn(e,b,n);return h.top=ie(v.top,h.top),h.right=oo(v.right,h.right),h.bottom=oo(v.bottom,h.bottom),h.left=ie(v.left,h.left),h},Nn(e,p,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function _s(o){return Tn(o)}function $s(o,e,r){let i=Pt(e),n=Qt(e),a=r==="fixed",l=ao(o,!0,a,e),p={scrollLeft:0,scrollTop:0},f=Yt(0);if(i||!i&&!a)if((Xt(e)!=="body"||ze(n))&&(p=no(e)),i){let h=ao(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=Pn(n));return{x:l.left+p.scrollLeft-f.x,y:l.top+p.scrollTop-f.y,width:l.width,height:l.height}}function Ln(o,e){return!Pt(o)||Ct(o).position==="fixed"?null:e?e(o):o.offsetParent}function $n(o,e){let r=yt(o);if(!Pt(o))return r;let i=Ln(o,e);for(;i&&An(i)&&Ct(i).position==="static";)i=Ln(i,e);return i&&(Xt(i)==="html"||Xt(i)==="body"&&Ct(i).position==="static"&&!No(i))?r:i||wn(o)||r}var Bs=async function(o){let{reference:e,floating:r,strategy:i}=o,n=this.getOffsetParent||$n,a=this.getDimensions;return{reference:$s(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Ds(o){return Ct(o).direction==="rtl"}var To={convertOffsetParentRelativeRectToViewportRelativeRect:Rs,getDocumentElement:Qt,getClippingRect:Ps,getOffsetParent:$n,getElementRects:Bs,getClientRects:Ns,getDimensions:_s,getScale:We,isElement:Mt,isRTL:Ds};var Bn=(o,e,r)=>{let i=new Map,n={platform:To,...r},a={...n.platform,_c:i};return On(o,e,{...n,platform:a})};function Dn(o){return Us(o)}function vr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Us(o){for(let e=o;e;e=vr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=vr(o);e;e=vr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Un(o,e,r){return Bn(o,e,{platform:{...To,getOffsetParent:i=>To.getOffsetParent(i,Dn)},middleware:[xr({crossAxis:!0}),br({allowedPlacements:[r]})]})}var gt=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},M=class extends so.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 so.Debouncer,this.revealDebouncer=new so.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Fn.html`
|
|
525
522
|
<div part="container"
|
|
526
523
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
527
524
|
@mouseenter=${this.onHover}
|
|
@@ -539,42 +536,45 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
539
536
|
</div>
|
|
540
537
|
</div>
|
|
541
538
|
</div>
|
|
542
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Me(t,o,{platform:{...Pe,getOffsetParent:t=>Pe.getOffsetParent(t,_e)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=oe(i,t),c={x:o,y:e},f=await pe(t,s),p=ae(ee(r)),d=re(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=te(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=te(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),he({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Xe.elementDefinitions={"ft-typography":uo},Xe.styles=_o,qe([i.property()],Xe.prototype,"text",void 0),qe([i.property({type:Boolean})],Xe.prototype,"manual",void 0),qe([i.property({type:Boolean})],Xe.prototype,"inline",void 0),qe([i.property({type:Number})],Xe.prototype,"delay",void 0),qe([i.property()],Xe.prototype,"position",void 0),qe([i.queryAssignedNodes()],Xe.prototype,"slotNodes",void 0),qe([i.query(".ft-tooltip--container")],Xe.prototype,"container",void 0),qe([i.query(".ft-tooltip")],Xe.prototype,"tooltip",void 0),qe([i.query(".ft-tooltip--content")],Xe.prototype,"tooltipContent",void 0),qe([i.state()],Xe.prototype,"visible",void 0),qe([i.eventOptions({passive:!0})],Xe.prototype,"onTouch",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onHover",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onOut",null),qe([i.eventOptions({passive:!0})],Xe.prototype,"onClick",null),o.customElement("ft-tooltip")(Xe),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE="",t.OCTAGON_XMARK="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(Ge||(Ge={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ve||(Ve={})),new Map([...["abw"].map((t=>[t,Ve.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ve.AUDIO])),...["avi"].map((t=>[t,Ve.AVI])),...["chm","xhs"].map((t=>[t,Ve.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ve.CODE])),...["csv"].map((t=>[t,Ve.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ve.DITA])),...["epub"].map((t=>[t,Ve.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ve.EXCEL])),...["flac"].map((t=>[t,Ve.FLAC])),...["gif"].map((t=>[t,Ve.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ve.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ve.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ve.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ve.JPEG])),...["json"].map((t=>[t,Ve.JSON])),...["m4a","m4p"].map((t=>[t,Ve.M4A])),...["mov","qt"].map((t=>[t,Ve.MOV])),...["mp3"].map((t=>[t,Ve.MP3])),...["mp4","m4v"].map((t=>[t,Ve.MP4])),...["ogg","oga"].map((t=>[t,Ve.OGG])),...["pdf","ps"].map((t=>[t,Ve.PDF])),...["png"].map((t=>[t,Ve.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ve.POWERPOINT])),...["rar"].map((t=>[t,Ve.RAR])),...["stp"].map((t=>[t,Ve.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ve.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ve.VIDEO])),...["wav"].map((t=>[t,Ve.WAV])),...["wma"].map((t=>[t,Ve.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ve.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ve.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ve.YAML])),...["zip"].map((t=>[t,Ve.ZIP]))]),Ve.ABW,Ve.AUDIO,Ve.AVI,Ve.CHM,Ve.CODE,Ve.CSV,Ve.DITA,Ve.EPUB,Ve.EXCEL,Ve.FLAC,Ve.GIF,Ve.GZIP,Ve.HTML,Ve.IMAGE,Ve.JPEG,Ve.JSON,Ve.M4A,Ve.MOV,Ve.MP3,Ve.MP4,Ve.OGG,Ve.PDF,Ve.PNG,Ve.POWERPOINT,Ve.RAR,Ve.STP,Ve.TEXT,Ve.UNKNOWN,Ve.VIDEO,Ve.WAV,Ve.WMA,Ve.WORD,Ve.XML,Ve.YAML,Ve.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ye||(Ye={}));var Qe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,o=t!==Ye.material||!!this.value;return e.html`
|
|
543
|
-
<i class="ft-icon ft-icon--${
|
|
544
|
-
${
|
|
545
|
-
<slot ?hidden=${
|
|
539
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Un(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};M.elementDefinitions={"ft-typography":V};M.styles=mn;gt([(0,X.property)()],M.prototype,"text",void 0);gt([(0,X.property)({type:Boolean})],M.prototype,"manual",void 0);gt([(0,X.property)({type:Boolean})],M.prototype,"inline",void 0);gt([(0,X.property)({type:Number})],M.prototype,"delay",void 0);gt([(0,X.property)()],M.prototype,"position",void 0);gt([(0,X.queryAssignedNodes)()],M.prototype,"slotNodes",void 0);gt([(0,X.query)(".ft-tooltip--container")],M.prototype,"container",void 0);gt([(0,X.query)(".ft-tooltip")],M.prototype,"tooltip",void 0);gt([(0,X.query)(".ft-tooltip--content")],M.prototype,"tooltipContent",void 0);gt([(0,X.state)()],M.prototype,"visible",void 0);gt([(0,X.eventOptions)({passive:!0})],M.prototype,"onTouch",null);gt([(0,X.eventOptions)({passive:!0})],M.prototype,"onHover",null);gt([(0,X.eventOptions)({passive:!0})],M.prototype,"onOut",null);gt([(0,X.eventOptions)({passive:!0})],M.prototype,"onClick",null);(0,zn.customElement)("ft-tooltip")(M);var Vn=u(O());var lo=u(R()),be=u(j()),Mn=u(O()),Gn=u(Hn());var Io;(function(o){o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.STAR="",o.STAR_PLAIN="",o.DESKTOP="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.ARROW_RIGHT_TO_LINE="",o.THIN_ARROW_UP="",o.CONTEXTUAL="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_NORMALIZED="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.UNSTRUCTURED_DOC="",o.RESET="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.MY_COLLECTIONS="",o.OFFLINE_SETTINGS="",o.MY_LIBRARY="",o.RATE_PLAIN="",o.RATE="",o.FEEDBACK_PLAIN="",o.PAUSE="",o.PLAY="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.SHORTCUT_MENU="",o.PRINT="",o.DEFAULT_ROLES="",o.ACCOUNT_SETTINGS="",o.ONLINE="",o.OFFLINE="",o.UPLOAD="",o.BOOK_PLAIN="",o.SYNC="",o.SHARED_PBK="",o.COLLECTIONS="",o.SEARCH_IN_PUBLICATION="",o.BOOKS="",o.LOCKER="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SAVE="",o.MAILS_AND_NOTIFICATIONS="",o.DOT="",o.MINUS="",o.PLUS="",o.FILTERS="",o.STRIPE_ARROW_RIGHT="",o.STRIPE_ARROW_LEFT="",o.ATTACHMENTS="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.EXPORT="",o.MENU="",o.TAG="",o.TAG_PLAIN="",o.COPY_TO_CLIPBOARD="",o.COLUMNS="",o.ARTICLE="",o.CLOSE="",o.OCTAGON_XMARK="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.LOGOUT="",o.SIGN_IN="",o.THIN_ARROW="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.FACET_HAS_DESCENDANT="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.INFO="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.SHARE="󨃱",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.EXTLINK="",o.EXTLINK_LIGHT="",o.CALENDAR="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.TOPICS="",o.EYE="",o.EYE_SLASH="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN_THEME="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.HOME="",o.TRANSLATE="",o.USER="",o.ADMIN="",o.ANALYTICS="",o.ADMIN_KHUB="",o.ADMIN_USERS="",o.ADMIN_INTEGRATION="",o.ADMIN_PORTAL="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.PIP="",o.PIP_WIDE="",o.EXPAND_WIDE="",o.X_MARK="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CONSUMER="",o.HOURGLASS_HALF="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE=""})(Io||(Io={}));var y;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(y||(y={}));var _f=new Map([...["abw"].map(o=>[o,y.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var $f={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var ae;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ae||(ae={}));var ko=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends Mn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=lo.nothing}render(){let e=this.variant&&Object.values(ae).includes(this.variant)?this.variant:ae.fluid_topics,r=e!==ae.material||!!this.value;return lo.html`
|
|
540
|
+
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
541
|
+
${(0,Gn.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${r}></slot>
|
|
546
543
|
</i>
|
|
547
|
-
`}get textContent(){var
|
|
544
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case ae.file_format:this.resolvedIcon=(e=y[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case ae.material:this.resolvedIcon=this.value||lo.nothing;break;default:this.resolvedIcon=(r=Io[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};bt.elementDefinitions={};bt.styles=nn;ko([(0,be.property)()],bt.prototype,"variant",void 0);ko([(0,be.property)()],bt.prototype,"value",void 0);ko([(0,be.state)()],bt.prototype,"resolvedIcon",void 0);ko([(0,be.query)("slot")],bt.prototype,"slottedContent",void 0);(0,Vn.customElement)("ft-icon")(bt);var jn=u(O());var Kn=u(R()),Zn=u(O());var xe=class extends Zn.FtLitElement{render(){return Kn.html`
|
|
548
545
|
<div class="ft-loader">
|
|
549
546
|
<div></div>
|
|
550
547
|
<div></div>
|
|
551
548
|
<div></div>
|
|
552
549
|
<div></div>
|
|
553
550
|
</div>
|
|
554
|
-
`}}
|
|
551
|
+
`}};xe.styles=on;(0,jn.customElement)("ft-loader")(xe);var He=u(R()),qn=u(De()),ct=u(j()),Et=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Y=class extends(0,Me.toFtFormComponent)(Me.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(He.html`
|
|
555
552
|
<button part="button"
|
|
556
|
-
class="${
|
|
553
|
+
class="${(0,qn.classMap)(this.buttonClasses)}"
|
|
557
554
|
aria-label="${this.getLabel()}"
|
|
558
555
|
?disabled=${this.isDisabled()}>
|
|
559
556
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
560
557
|
<ft-typography part="label"
|
|
561
558
|
variant=${this.typographyVariant}
|
|
562
559
|
element="span"
|
|
563
|
-
class="ft-button--label ${
|
|
560
|
+
class="ft-button--label ${Me.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
564
561
|
?hidden=${!this.hasTextContent()}>
|
|
565
562
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
566
563
|
</ft-typography>
|
|
567
564
|
${this.resolveIcon()}
|
|
568
565
|
</button>
|
|
569
|
-
`)}addTooltipIfNeeded(
|
|
566
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?He.html`
|
|
570
567
|
<ft-tooltip part="tooltip"
|
|
571
568
|
text="${this.getLabel()}"
|
|
572
569
|
position="${this.tooltipPosition}">
|
|
573
|
-
${
|
|
570
|
+
${e}
|
|
574
571
|
</ft-tooltip>
|
|
575
|
-
`:
|
|
576
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
577
|
-
|
|
572
|
+
`:e}resolveIcon(){return this.loading?He.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?He.html`
|
|
574
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
+
`:He.html`
|
|
576
|
+
<slot part="icon" name="icon"></slot>
|
|
577
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Y.elementDefinitions={"ft-ripple":P,"ft-tooltip":M,"ft-typography":V,"ft-icon":bt,"ft-loader":xe};Et([(0,ct.property)({type:String,reflect:!0})],Y.prototype,"role",void 0);Et([(0,ct.property)()],Y.prototype,"type",void 0);Et([(0,ct.property)({type:Boolean})],Y.prototype,"disabled",void 0);Et([(0,ct.property)()],Y.prototype,"label",void 0);Et([(0,ct.property)()],Y.prototype,"icon",void 0);Et([(0,ct.property)()],Y.prototype,"iconVariant",void 0);Et([(0,ct.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);Et([(0,ct.property)({type:Boolean})],Y.prototype,"loading",void 0);Et([(0,ct.property)()],Y.prototype,"tooltipPosition",void 0);Et([(0,ct.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);Et([(0,ct.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);Et([(0,ct.query)(".ft-button")],Y.prototype,"button",void 0);Et([(0,ct.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var Po=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pt=class extends Y{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};pt.styles=[Yn.safariEllipsisFix,cn];Po([(0,co.property)({type:Boolean})],pt.prototype,"primary",void 0);Po([(0,co.property)({type:Boolean})],pt.prototype,"outlined",void 0);Po([(0,co.property)({type:Boolean})],pt.prototype,"dense",void 0);Po([(0,co.property)({type:Boolean})],pt.prototype,"round",void 0);var Ge=u(j());var Jn=u(O());var Xn=u(R()),I=u(O());var Qn=[Xn.css`
|
|
578
578
|
:host {
|
|
579
579
|
display: inline-block;
|
|
580
580
|
max-width: 100%;
|
|
@@ -624,7 +624,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
.ft-button:focus-visible {
|
|
627
|
-
outline-color: ${
|
|
627
|
+
outline-color: ${x.focusFocusRingColor};
|
|
628
628
|
outline-style: solid;
|
|
629
629
|
}
|
|
630
630
|
|
|
@@ -653,154 +653,154 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
653
653
|
/** Primary styles **/
|
|
654
654
|
|
|
655
655
|
.ft-button--primary {
|
|
656
|
-
${
|
|
656
|
+
${(0,I.setVariable)(ut.color,x.primaryIconColor)};
|
|
657
657
|
|
|
658
|
-
${
|
|
659
|
-
${
|
|
660
|
-
${
|
|
661
|
-
${
|
|
662
|
-
${
|
|
658
|
+
${(0,I.setVariable)(T.color,x.primaryStateLayerColor)};
|
|
659
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
|
|
660
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
|
|
661
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
|
|
662
|
+
${(0,I.setVariable)(T.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
|
|
663
663
|
|
|
664
|
-
background-color: ${
|
|
665
|
-
color: ${
|
|
664
|
+
background-color: ${x.primaryBackgroundColor};
|
|
665
|
+
color: ${x.primaryColor};
|
|
666
666
|
border-style: none;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
.ft-button--primary[disabled] {
|
|
670
|
-
opacity: ${
|
|
670
|
+
opacity: ${x.primaryDisabledComponentOpacity};
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
.ft-button--primary ft-icon {
|
|
674
|
-
color: ${
|
|
674
|
+
color: ${x.primaryIconColor};
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
/** Secondary styles **/
|
|
678
678
|
|
|
679
679
|
.ft-button--secondary {
|
|
680
|
-
${
|
|
680
|
+
${(0,I.setVariable)(ut.color,x.secondaryIconColor)};
|
|
681
681
|
|
|
682
|
-
${
|
|
683
|
-
${
|
|
684
|
-
${
|
|
685
|
-
${
|
|
686
|
-
${
|
|
682
|
+
${(0,I.setVariable)(T.color,x.secondaryStateLayerColor)};
|
|
683
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
|
|
684
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
|
|
685
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
|
|
686
|
+
${(0,I.setVariable)(T.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
|
|
687
687
|
|
|
688
|
-
background-color: ${
|
|
689
|
-
color: ${
|
|
690
|
-
border-color: ${
|
|
688
|
+
background-color: ${x.secondaryBackgroundColor};
|
|
689
|
+
color: ${x.secondaryColor};
|
|
690
|
+
border-color: ${x.secondaryBorderColor};
|
|
691
691
|
border-style: solid;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.ft-button--secondary[disabled] {
|
|
695
|
-
opacity: ${
|
|
695
|
+
opacity: ${x.secondaryDisabledComponentOpacity};
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary ft-icon {
|
|
699
|
-
color: ${
|
|
699
|
+
color: ${x.secondaryIconColor};
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
/** Tertiary styles **/
|
|
703
703
|
|
|
704
704
|
.ft-button--tertiary {
|
|
705
|
-
${
|
|
705
|
+
${(0,I.setVariable)(ut.color,x.tertiaryIconColor)};
|
|
706
706
|
|
|
707
|
-
${
|
|
708
|
-
${
|
|
709
|
-
${
|
|
710
|
-
${
|
|
711
|
-
${
|
|
707
|
+
${(0,I.setVariable)(T.color,x.tertiaryStateLayerColor)};
|
|
708
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
|
|
709
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
|
|
710
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
|
|
711
|
+
${(0,I.setVariable)(T.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
|
|
712
712
|
|
|
713
|
-
background-color: ${
|
|
714
|
-
color: ${
|
|
713
|
+
background-color: ${x.tertiaryBackgroundColor};
|
|
714
|
+
color: ${x.tertiaryColor};
|
|
715
715
|
border-style: none;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
.ft-button--tertiary[disabled] {
|
|
719
|
-
opacity: ${
|
|
719
|
+
opacity: ${x.tertiaryDisabledComponentOpacity};
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
.ft-button--tertiary ft-icon {
|
|
723
|
-
color: ${
|
|
723
|
+
color: ${x.tertiaryIconColor};
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/** Neutral styles **/
|
|
727
727
|
|
|
728
728
|
.ft-button--neutral {
|
|
729
|
-
${
|
|
729
|
+
${(0,I.setVariable)(ut.color,x.neutralIconColor)};
|
|
730
730
|
|
|
731
|
-
${
|
|
732
|
-
${
|
|
733
|
-
${
|
|
734
|
-
${
|
|
735
|
-
${
|
|
731
|
+
${(0,I.setVariable)(T.backgroundColor,x.neutralStateLayerColor)};
|
|
732
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
|
|
733
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
|
|
734
|
+
${(0,I.setVariable)(T.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
|
|
735
|
+
${(0,I.setVariable)(T.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
|
|
736
736
|
|
|
737
|
-
background-color: ${
|
|
738
|
-
color: ${
|
|
737
|
+
background-color: ${x.neutralBackgroundColor};
|
|
738
|
+
color: ${x.neutralColor};
|
|
739
739
|
border-style: none;
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
.ft-button--neutral[disabled] {
|
|
743
|
-
opacity: ${
|
|
743
|
+
opacity: ${x.neutralDisabledComponentOpacity};
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.ft-button--neutral ft-icon {
|
|
747
|
-
color: ${
|
|
747
|
+
color: ${x.neutralIconColor};
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
/** Large styles **/
|
|
751
751
|
|
|
752
752
|
.ft-button--large {
|
|
753
|
-
${
|
|
754
|
-
${
|
|
753
|
+
${(0,I.setVariable)(ht.size,x.largeIconSize)};
|
|
754
|
+
${(0,I.setVariable)(ut.size,x.largeIconSize)};
|
|
755
755
|
|
|
756
|
-
height: ${
|
|
757
|
-
padding: 0 ${
|
|
758
|
-
gap: ${
|
|
759
|
-
border-radius: ${
|
|
760
|
-
border-width: ${
|
|
756
|
+
height: ${x.largeHeight};
|
|
757
|
+
padding: 0 ${x.largeHorizontalPadding};
|
|
758
|
+
gap: ${x.largeGap};
|
|
759
|
+
border-radius: ${x.largeBorderRadius};
|
|
760
|
+
border-width: ${x.largeBorderWidth};
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
.ft-button--large:focus-visible {
|
|
764
|
-
outline-width: ${
|
|
765
|
-
outline-offset: ${
|
|
764
|
+
outline-width: ${x.largeFocusOutlineWidth};
|
|
765
|
+
outline-offset: ${x.largeFocusOutlineOffset};
|
|
766
766
|
}
|
|
767
767
|
|
|
768
768
|
.ft-button--large.ft-button--icon-only {
|
|
769
|
-
width: ${
|
|
769
|
+
width: ${x.largeIconOnlyWidth};
|
|
770
770
|
padding: unset;
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
/** Small styles **/
|
|
774
774
|
|
|
775
775
|
.ft-button--small {
|
|
776
|
-
${
|
|
777
|
-
${
|
|
776
|
+
${(0,I.setVariable)(ht.size,x.smallIconSize)};
|
|
777
|
+
${(0,I.setVariable)(ut.size,x.smallIconSize)};
|
|
778
778
|
|
|
779
|
-
height: ${
|
|
780
|
-
padding: 0 ${
|
|
781
|
-
gap: ${
|
|
782
|
-
border-radius: ${
|
|
783
|
-
border-width: ${
|
|
779
|
+
height: ${x.smallHeight};
|
|
780
|
+
padding: 0 ${x.smallHorizontalPadding};
|
|
781
|
+
gap: ${x.smallGap};
|
|
782
|
+
border-radius: ${x.smallBorderRadius};
|
|
783
|
+
border-width: ${x.smallBorderWidth};
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
.ft-button--small:focus-visible {
|
|
787
|
-
outline-width: ${
|
|
788
|
-
outline-offset: ${
|
|
787
|
+
outline-width: ${x.smallFocusOutlineWidth};
|
|
788
|
+
outline-offset: ${x.smallFocusOutlineOffset};
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
.ft-button--small.ft-button--icon-only {
|
|
792
|
-
width: ${
|
|
792
|
+
width: ${x.smallIconOnlyWidth};
|
|
793
793
|
padding: unset;
|
|
794
794
|
}
|
|
795
|
-
`,
|
|
795
|
+
`,I.noTextSelect];var po=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Gt=class extends Y{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?me.caption1medium:me.body2medium}};Gt.styles=[Jn.safariEllipsisFix,Qn];po([(0,Ge.property)({type:Boolean})],Gt.prototype,"primary",void 0);po([(0,Ge.property)({type:Boolean})],Gt.prototype,"secondary",void 0);po([(0,Ge.property)({type:Boolean})],Gt.prototype,"tertiary",void 0);po([(0,Ge.property)({type:Boolean})],Gt.prototype,"neutral",void 0);po([(0,Ge.property)({type:Boolean})],Gt.prototype,"small",void 0);(0,Sr.customElement)("ft-button")(pt);(0,Sr.customElement)("ftds-button")(Gt);var na=u(O());var oa=u(R()),se=u(j()),ra=u(O()),ia=u(De());var At=u(O()),ta=u(R());var Jt={textColor:At.FtCssVariableFactory.extend("--ft-checkbox-text-color","",At.designSystemVariables.colorOnSurfaceHigh),fontSize:At.FtCssVariableFactory.extend("--ft-checkbox-font-size","",S.fontSize),colorPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnPrimary,"Design system"),borderColor:At.FtCssVariableFactory.extend("--ft-checkbox-border-color","",At.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:At.FtCssVariableFactory.external(At.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ea=ta.css`
|
|
796
796
|
* {
|
|
797
797
|
box-sizing: border-box;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.ft-checkbox {
|
|
801
801
|
box-sizing: border-box;
|
|
802
|
-
color: ${
|
|
803
|
-
font-size: ${
|
|
802
|
+
color: ${Jt.textColor};
|
|
803
|
+
font-size: ${Jt.fontSize};
|
|
804
804
|
|
|
805
805
|
display: inline-flex;
|
|
806
806
|
align-items: center;
|
|
@@ -808,7 +808,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
.ft-checkbox--disabled {
|
|
811
|
-
color: ${
|
|
811
|
+
color: ${Jt.colorOnSurfaceDisabled};
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
input {
|
|
@@ -832,26 +832,26 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
832
832
|
|
|
833
833
|
.ft-checkbox--box {
|
|
834
834
|
display: flex;
|
|
835
|
-
border: 2px solid ${
|
|
835
|
+
border: 2px solid ${Jt.borderColor};
|
|
836
836
|
border-radius: 2px;
|
|
837
837
|
|
|
838
838
|
width: 18px;
|
|
839
839
|
height: 18px;
|
|
840
840
|
|
|
841
|
-
color: ${
|
|
841
|
+
color: ${Jt.colorOnPrimary};
|
|
842
842
|
}
|
|
843
843
|
|
|
844
844
|
|
|
845
845
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
846
846
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
847
|
-
border-color: ${
|
|
848
|
-
background-color: ${
|
|
847
|
+
border-color: ${Jt.colorPrimary};
|
|
848
|
+
background-color: ${Jt.colorPrimary};
|
|
849
849
|
}
|
|
850
850
|
|
|
851
851
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
852
|
-
border-color: ${
|
|
852
|
+
border-color: ${Jt.colorOnSurfaceDisabled};
|
|
853
853
|
background-color: transparent;
|
|
854
|
-
color: ${
|
|
854
|
+
color: ${Jt.colorOnSurfaceDisabled};
|
|
855
855
|
}
|
|
856
856
|
|
|
857
857
|
.ft-checkbox--checkmark {
|
|
@@ -870,8 +870,8 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
870
870
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
871
871
|
opacity: 1;
|
|
872
872
|
}
|
|
873
|
-
`;var
|
|
874
|
-
<label class="${
|
|
873
|
+
`;var Ve=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},xt=class extends ra.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return oa.html`
|
|
874
|
+
<label class="${(0,ia.classMap)(e)}" for="checkbox-input">
|
|
875
875
|
<div class="ft-checkbox--box-container">
|
|
876
876
|
<ft-ripple
|
|
877
877
|
?disabled=${this.disabled}
|
|
@@ -897,14 +897,14 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
897
897
|
<slot></slot>
|
|
898
898
|
</ft-typography>
|
|
899
899
|
</label>
|
|
900
|
-
`}onChange(
|
|
900
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};xt.elementDefinitions={"ft-ripple":P,"ft-typography":V};xt.styles=ea;Ve([(0,se.property)()],xt.prototype,"name",void 0);Ve([(0,se.property)({type:Boolean,reflect:!0})],xt.prototype,"checked",void 0);Ve([(0,se.property)({type:Boolean})],xt.prototype,"indeterminate",void 0);Ve([(0,se.property)({type:Boolean})],xt.prototype,"disabled",void 0);Ve([(0,se.query)(".ft-checkbox")],xt.prototype,"container",void 0);Ve([(0,se.query)("ft-ripple")],xt.prototype,"ripple",void 0);(0,na.customElement)("ft-checkbox")(xt);var Or=u(O());var la=u(R()),_t=u(j()),ca=u(O()),pa=u(De());var aa=u(R()),Lt=u(O()),ve={textColor:Lt.FtCssVariableFactory.extend("--ft-radio-text-color","",Lt.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Lt.FtCssVariableFactory.extend("--ft-radio-border-color","",Lt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},sa=aa.css`
|
|
901
901
|
* {
|
|
902
902
|
box-sizing: border-box;
|
|
903
903
|
}
|
|
904
904
|
|
|
905
905
|
.ft-radio {
|
|
906
906
|
box-sizing: border-box;
|
|
907
|
-
color: ${
|
|
907
|
+
color: ${ve.textColor};
|
|
908
908
|
|
|
909
909
|
display: inline-flex;
|
|
910
910
|
align-items: center;
|
|
@@ -912,7 +912,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
912
912
|
}
|
|
913
913
|
|
|
914
914
|
.ft-radio--disabled {
|
|
915
|
-
color: ${
|
|
915
|
+
color: ${ve.colorOnSurfaceDisabled};
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
input {
|
|
@@ -935,7 +935,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
.ft-radio--box {
|
|
938
|
-
border: 2px solid ${
|
|
938
|
+
border: 2px solid ${ve.borderColor};
|
|
939
939
|
border-radius: 50%;
|
|
940
940
|
|
|
941
941
|
display: flex;
|
|
@@ -948,7 +948,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
948
948
|
|
|
949
949
|
.ft-radio--box:after {
|
|
950
950
|
content: " ";
|
|
951
|
-
background-color: ${
|
|
951
|
+
background-color: ${ve.colorPrimary};
|
|
952
952
|
|
|
953
953
|
border-radius: 50%;
|
|
954
954
|
|
|
@@ -960,7 +960,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
960
960
|
}
|
|
961
961
|
|
|
962
962
|
.ft-radio--checked .ft-radio--box {
|
|
963
|
-
border-color: ${
|
|
963
|
+
border-color: ${ve.colorPrimary};
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
|
|
@@ -969,15 +969,15 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
969
969
|
}
|
|
970
970
|
|
|
971
971
|
.ft-radio--disabled .ft-radio--box {
|
|
972
|
-
border-color: ${
|
|
972
|
+
border-color: ${ve.colorOnSurfaceDisabled};
|
|
973
973
|
background-color: transparent;
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
.ft-radio--disabled .ft-radio--box:after {
|
|
977
|
-
background-color: ${
|
|
977
|
+
background-color: ${ve.colorOnSurfaceDisabled};
|
|
978
978
|
}
|
|
979
|
-
`;var
|
|
980
|
-
<div class="${
|
|
979
|
+
`;var te=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fo=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Q=class extends ca.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return la.html`
|
|
980
|
+
<div class="${(0,pa.classMap)(e)}">
|
|
981
981
|
<div class="ft-radio--box-container">
|
|
982
982
|
<ft-ripple
|
|
983
983
|
?disabled=${this.disabled}
|
|
@@ -995,22 +995,22 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
995
995
|
@change=${this.onChange}
|
|
996
996
|
>
|
|
997
997
|
</div>
|
|
998
|
-
<label for="radio-button" @click=${
|
|
998
|
+
<label for="radio-button" @click=${r=>r.stopPropagation()}>
|
|
999
999
|
<ft-typography variant="body2">
|
|
1000
1000
|
<slot></slot>
|
|
1001
1001
|
</ft-typography>
|
|
1002
1002
|
</label>
|
|
1003
1003
|
</div>
|
|
1004
|
-
`}update(
|
|
1004
|
+
`}update(e){super.update(e),e.has("checked")&&!e.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new fo(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){this.removeEventListener("focus",this.onFocus),super.disconnectedCallback()}onFocus(e){this.dispatchEvent(new fo(this.name,this.checked))}select(){this.checked=!0,this.dispatchEvent(new fo(this.value,this.checked))}};Q.elementDefinitions={"ft-ripple":P,"ft-typography":V};Q.styles=sa;te([(0,_t.property)()],Q.prototype,"value",void 0);te([(0,_t.property)()],Q.prototype,"name",void 0);te([(0,_t.property)({type:Boolean,reflect:!0})],Q.prototype,"checked",void 0);te([(0,_t.property)({type:Boolean})],Q.prototype,"disabled",void 0);te([(0,_t.property)({reflect:!0})],Q.prototype,"tabIndex",void 0);te([(0,_t.property)({reflect:!0,attribute:"role"})],Q.prototype,"role",void 0);te([(0,_t.query)(".ft-radio")],Q.prototype,"container",void 0);te([(0,_t.query)("ft-ripple")],Q.prototype,"ripple",void 0);te([(0,_t.query)("input")],Q.prototype,"input",void 0);var ua=u(O()),Ke=u(j()),ha=u(R());var da=u(R());var fa=da.css`
|
|
1005
1005
|
:host {
|
|
1006
1006
|
display: contents;
|
|
1007
1007
|
}
|
|
1008
|
-
`;var
|
|
1008
|
+
`;var _o=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Tt=class extends ua.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return ha.html`
|
|
1009
1009
|
<slot @slotchange=${this.onSlotChange}
|
|
1010
1010
|
@change=${this.onChange}
|
|
1011
1011
|
@keydown=${this.onKeyDown}
|
|
1012
1012
|
></slot>
|
|
1013
|
-
`}onSlotChange(){this.radioButtons.forEach(
|
|
1013
|
+
`}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons[0].setAttribute("tabindex","0")}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.focusCurrentValue()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.findFtRadio(e),n=this.radioButtons.indexOf(i)-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.radioButtons.indexOf(this.findFtRadio(e))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":{let i=this.radioButtons.indexOf(this.findFtRadio(e));this.radioButtons[i].select()}}r&&(e.stopPropagation(),e.preventDefault())}findFtRadio(e){return e.composedPath().find(r=>r.tagName==="FT-RADIO")}focusCurrentValue(){setTimeout(()=>{var e;return(e=this.radioButtons.find(r=>r.checked))===null||e===void 0?void 0:e.focus()},10)}};Tt.elementDefinitions={};Tt.styles=fa;_o([(0,Ke.property)()],Tt.prototype,"name",void 0);_o([(0,Ke.property)({reflect:!0,attribute:"role"})],Tt.prototype,"role",void 0);_o([(0,Ke.property)({reflect:!0,attribute:"aria-labelledby"})],Tt.prototype,"ariaLabelledBy",void 0);_o([(0,Ke.queryAssignedElements)()],Tt.prototype,"radioButtons",void 0);(0,Or.customElement)("ft-radio")(Q);(0,Or.customElement)("ft-radio-group")(Tt);var ma=u(R()),D=u(O());var $o={borderRadiusM:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusM,"Design system"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:D.FtCssVariableFactory.external(Ot.fontFamily,"Body2 typography"),fontSize:D.FtCssVariableFactory.external(Ot.fontSize,"Body2 typography"),fontWeight:D.FtCssVariableFactory.external(Ot.fontWeight,"Body2 typography"),letterSpacing:D.FtCssVariableFactory.external(Ot.letterSpacing,"Body2 typography"),lineHeight:D.FtCssVariableFactory.external(Ot.lineHeight,"Body2 typography"),textTransform:D.FtCssVariableFactory.external(Ot.textTransform,"Body2 typography")},ya=ma.css`
|
|
1014
1014
|
.ft-filter-level--container {
|
|
1015
1015
|
display: flex;
|
|
1016
1016
|
flex-direction: column;
|
|
@@ -1024,14 +1024,14 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1024
1024
|
flex-shrink: 0;
|
|
1025
1025
|
text-decoration: none;
|
|
1026
1026
|
position: relative;
|
|
1027
|
-
border-radius: ${
|
|
1027
|
+
border-radius: ${$o.borderRadiusM};
|
|
1028
1028
|
overflow: hidden;
|
|
1029
1029
|
display: flex;
|
|
1030
1030
|
align-items: center;
|
|
1031
1031
|
padding: 4px 4px;
|
|
1032
1032
|
gap: 4px;
|
|
1033
1033
|
cursor: pointer;
|
|
1034
|
-
color: ${
|
|
1034
|
+
color: ${$o.colorOnSurface};
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
.ft-filter-level--go-back:focus {
|
|
@@ -1060,7 +1060,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
ft-button {
|
|
1063
|
-
${
|
|
1063
|
+
${(0,D.setVariable)(B.color,$o.colorOnSurface)};
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
1066
|
ft-radio, ft-checkbox {
|
|
@@ -1074,14 +1074,15 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1074
1074
|
|
|
1075
1075
|
.ft-filter-level--no-values {
|
|
1076
1076
|
margin: 10px 0;
|
|
1077
|
-
color: ${
|
|
1077
|
+
color: ${$o.colorOnSurfaceMedium};
|
|
1078
1078
|
}
|
|
1079
|
-
`;var
|
|
1079
|
+
`;var dt=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},K=class extends Bo.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return wt.html`
|
|
1080
1080
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1081
|
-
${
|
|
1081
|
+
${this.parent==null?null:wt.html`
|
|
1082
1082
|
<div tabindex="0"
|
|
1083
1083
|
part="controls go-back"
|
|
1084
1084
|
class="ft-filter-level--go-back"
|
|
1085
|
+
aria-label="back to ${this.parent.label}"
|
|
1085
1086
|
?disabled=${this.disabled}
|
|
1086
1087
|
@keyup=${this.goBackOnKeyPress}
|
|
1087
1088
|
@click=${this.goBackOnClick}>
|
|
@@ -1090,25 +1091,26 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1090
1091
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1091
1092
|
</div>
|
|
1092
1093
|
`}
|
|
1093
|
-
${
|
|
1094
|
+
${this.options.length===0&&this.noValuesLabel?wt.html`
|
|
1094
1095
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1095
1096
|
${this.noValuesLabel}
|
|
1096
1097
|
</ft-typography>
|
|
1097
|
-
`:
|
|
1098
|
-
${
|
|
1099
|
-
<div class="ft-filter-level--option" part="options">
|
|
1100
|
-
${this.multivalued?this.buildMultiValuedOption(
|
|
1101
|
-
${this.preventNavigation||
|
|
1098
|
+
`:wt.nothing}
|
|
1099
|
+
${(0,ga.repeat)(r,i=>i.value,i=>{var n;return wt.html`
|
|
1100
|
+
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1101
|
+
${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
|
|
1102
|
+
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?wt.nothing:wt.html`
|
|
1102
1103
|
<ft-button icon="thin_arrow_right"
|
|
1103
1104
|
part="controls navigate-hierarchy"
|
|
1104
|
-
label="
|
|
1105
|
+
aria-label="expand node"
|
|
1106
|
+
label="${i.label}"
|
|
1105
1107
|
?disabled=${this.disabled}
|
|
1106
1108
|
tooltipPosition="left"
|
|
1107
|
-
@click=${()=>this.displayLevel(
|
|
1109
|
+
@click=${()=>this.displayLevel(i)}></ft-button>
|
|
1108
1110
|
`}
|
|
1109
1111
|
</div>
|
|
1110
|
-
`})
|
|
1111
|
-
${
|
|
1112
|
+
`})}
|
|
1113
|
+
${r.length<e.length?wt.html`
|
|
1112
1114
|
<ft-button
|
|
1113
1115
|
class="ft-filter-level--display-more"
|
|
1114
1116
|
icon="thin_arrow"
|
|
@@ -1117,31 +1119,31 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1117
1119
|
@click=${this.displayMore}>
|
|
1118
1120
|
${this.moreValuesButtonLabel}
|
|
1119
1121
|
</ft-button>
|
|
1120
|
-
`:
|
|
1122
|
+
`:wt.nothing}
|
|
1121
1123
|
</div>
|
|
1122
|
-
`}goBackOnKeyPress(
|
|
1124
|
+
`}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++,this.makeRadioKeyBoardNavigable()}onRadioChange(e){var r;e.stopPropagation();let i=e;(r=this.radios)===null||r===void 0||r.forEach(n=>{n.checked=n.name===i.detail.value,n.setAttribute("tabindex","0")})}buildMultiValuedOption(e){var r;return wt.html`
|
|
1123
1125
|
<ft-checkbox name="${this.filterId}"
|
|
1124
1126
|
part="multivalued-option"
|
|
1125
|
-
data-value="${
|
|
1127
|
+
data-value="${e.value}"
|
|
1126
1128
|
|
|
1127
|
-
.checked=${
|
|
1129
|
+
.checked=${e.selected}
|
|
1128
1130
|
.disabled=${this.disabled}
|
|
1129
|
-
.indeterminate=${
|
|
1130
|
-
@change=${
|
|
1131
|
-
${
|
|
1131
|
+
.indeterminate=${(0,Bo.flatDeep)((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
|
|
1132
|
+
@change=${i=>this.optionsChanged(i,e)}>
|
|
1133
|
+
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1132
1134
|
</ft-checkbox>
|
|
1133
|
-
`}buildMonoValuedOption(
|
|
1134
|
-
<ft-radio name="${this.filterId+Math.round(
|
|
1135
|
+
`}buildMonoValuedOption(e){return wt.html`
|
|
1136
|
+
<ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
|
|
1135
1137
|
part="monovalued-option"
|
|
1136
|
-
data-value="${
|
|
1137
|
-
.checked=${
|
|
1138
|
+
data-value="${e.value}"
|
|
1139
|
+
.checked=${e.selected}
|
|
1138
1140
|
.disabled=${this.disabled}
|
|
1139
|
-
@click=${
|
|
1140
|
-
@keyup=${
|
|
1141
|
-
@change=${
|
|
1142
|
-
${
|
|
1141
|
+
@click=${r=>this.optionsChanged(r,e)}
|
|
1142
|
+
@keyup=${r=>this.onRadioKeyUp(r,e)}
|
|
1143
|
+
@change=${r=>this.onRadioChange(r)}>
|
|
1144
|
+
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1143
1145
|
</ft-radio>
|
|
1144
|
-
`}onRadioKeyUp(
|
|
1146
|
+
`}onRadioKeyUp(e,r){r.selected&&e.key===" "&&this.optionsChanged(e,r)}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}connectedCallback(){super.connectedCallback(),this.makeRadioKeyBoardNavigable()}makeRadioKeyBoardNavigable(){this.multivalued||setTimeout(()=>{var e,r;this.radios=Array.from((e=this.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("ft-radio")),(r=this.radios)===null||r===void 0||r.forEach(i=>{var n,a;i.setAttribute("tabindex","0"),(a=(n=i.shadowRoot)===null||n===void 0?void 0:n.querySelector('input[type="radio"]'))===null||a===void 0||a.setAttribute("tabindex","-1")})},5)}};K.elementDefinitions={"ft-button":pt,"ft-ripple":P,"ft-typography":V,"ft-checkbox":xt,"ft-icon":bt,"ft-radio":Q};K.styles=ya;dt([(0,ot.property)({type:String})],K.prototype,"filterId",void 0);dt([(0,ot.property)({type:Object})],K.prototype,"parent",void 0);dt([(0,ot.property)({type:Array})],K.prototype,"options",void 0);dt([(0,ot.property)({type:Boolean})],K.prototype,"multivalued",void 0);dt([(0,ot.property)({type:Boolean})],K.prototype,"disabled",void 0);dt([(0,ot.property)({type:Boolean})],K.prototype,"hideSelectedOptions",void 0);dt([(0,ot.property)({type:Boolean})],K.prototype,"displayCount",void 0);dt([(0,ot.property)({type:Boolean})],K.prototype,"preventNavigation",void 0);dt([(0,ot.property)({type:String})],K.prototype,"filter",void 0);dt([(0,ot.property)({type:String})],K.prototype,"moreValuesButtonLabel",void 0);dt([(0,ot.property)({type:String})],K.prototype,"noValuesLabel",void 0);dt([(0,ot.property)({type:Number})],K.prototype,"displayedValuesLimit",void 0);dt([(0,ot.query)(".ft-filter-level--container")],K.prototype,"container",void 0);dt([(0,ot.state)()],K.prototype,"radios",void 0);dt([(0,ot.state)()],K.prototype,"displayedPages",void 0);var Oa=u(O());var va=u(R()),Rt=u(j()),Se=u(O());var Sa=u(De());var ba=u(R()),$t=u(O());var le={buttonsColor:$t.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",$t.designSystemVariables.colorPrimary),buttonsZIndex:$t.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:$t.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:$t.FtCssVariableFactory.external($t.designSystemVariables.colorSurface,"Design system")},xa=ba.css`
|
|
1145
1147
|
.ft-snap-scroll {
|
|
1146
1148
|
box-sizing: border-box;
|
|
1147
1149
|
position: relative;
|
|
@@ -1176,7 +1178,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1176
1178
|
flex-wrap: nowrap;
|
|
1177
1179
|
align-items: flex-start;
|
|
1178
1180
|
justify-content: flex-start;
|
|
1179
|
-
gap: ${
|
|
1181
|
+
gap: ${le.gap};
|
|
1180
1182
|
}
|
|
1181
1183
|
|
|
1182
1184
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1219,11 +1221,11 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1219
1221
|
.ft-snap-scroll--next {
|
|
1220
1222
|
position: absolute;
|
|
1221
1223
|
display: flex;
|
|
1222
|
-
z-index: ${
|
|
1224
|
+
z-index: ${le.buttonsZIndex};
|
|
1223
1225
|
opacity: 1;
|
|
1224
1226
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1225
|
-
${
|
|
1226
|
-
${
|
|
1227
|
+
${(0,$t.setVariable)(B.backgroundColor,"transparent")};
|
|
1228
|
+
${(0,$t.setVariable)(B.color,le.buttonsColor)};
|
|
1227
1229
|
}
|
|
1228
1230
|
|
|
1229
1231
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1236,45 +1238,45 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1236
1238
|
top: 0;
|
|
1237
1239
|
left: -1px;
|
|
1238
1240
|
bottom: 0;
|
|
1239
|
-
background: linear-gradient(to right, ${
|
|
1241
|
+
background: linear-gradient(to right, ${le.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1240
1242
|
}
|
|
1241
1243
|
|
|
1242
1244
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1243
1245
|
top: -1px;
|
|
1244
1246
|
left: 0;
|
|
1245
1247
|
right: 0;
|
|
1246
|
-
background: linear-gradient(to bottom, ${
|
|
1248
|
+
background: linear-gradient(to bottom, ${le.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1247
1249
|
}
|
|
1248
1250
|
|
|
1249
1251
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1250
1252
|
top: 0;
|
|
1251
1253
|
right: -1px;
|
|
1252
1254
|
bottom: 0;
|
|
1253
|
-
background: linear-gradient(to left, ${
|
|
1255
|
+
background: linear-gradient(to left, ${le.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1254
1256
|
}
|
|
1255
1257
|
|
|
1256
1258
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1257
1259
|
left: 0;
|
|
1258
1260
|
right: 0;
|
|
1259
1261
|
bottom: -1px;
|
|
1260
|
-
background: linear-gradient(to top, ${
|
|
1262
|
+
background: linear-gradient(to top, ${le.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1261
1263
|
}
|
|
1262
1264
|
|
|
1263
1265
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1264
1266
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1265
1267
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1266
1268
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1267
|
-
background-color: ${
|
|
1269
|
+
background-color: ${le.colorSurface};
|
|
1268
1270
|
}
|
|
1269
|
-
`;var
|
|
1270
|
-
<div part="container" class="${
|
|
1271
|
+
`;var Vt=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Cr=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},rt=class extends Se.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new Se.Debouncer(200),this.updateScrollDebouncer=new Se.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,Sa.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Se.isSafari}),r=this.controls&&this.withScroll;return va.html`
|
|
1272
|
+
<div part="container" class="${e}">
|
|
1271
1273
|
<ft-button
|
|
1272
1274
|
class="ft-snap-scroll--previous"
|
|
1273
1275
|
part="controls"
|
|
1274
1276
|
primary
|
|
1275
1277
|
icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
|
|
1276
|
-
?hidden=${!
|
|
1277
|
-
?disabled=${!
|
|
1278
|
+
?hidden=${!r||this.startReached}
|
|
1279
|
+
?disabled=${!r||this.startReached}
|
|
1278
1280
|
@click=${this.previous}
|
|
1279
1281
|
></ft-button>
|
|
1280
1282
|
<slot class="ft-snap-scroll--content"
|
|
@@ -1285,12 +1287,12 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1285
1287
|
part="controls"
|
|
1286
1288
|
primary
|
|
1287
1289
|
icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
|
|
1288
|
-
?hidden=${!
|
|
1289
|
-
?disabled=${!
|
|
1290
|
+
?hidden=${!r||this.endReached}
|
|
1291
|
+
?disabled=${!r||this.endReached}
|
|
1290
1292
|
@click=${this.next}
|
|
1291
1293
|
></ft-button>
|
|
1292
1294
|
</div>
|
|
1293
|
-
`}update(
|
|
1295
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new Cr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};rt.elementDefinitions={"ft-button":pt};rt.styles=xa;Vt([(0,Rt.property)({type:Boolean})],rt.prototype,"horizontal",void 0);Vt([(0,Rt.property)({type:Boolean})],rt.prototype,"hideScrollbar",void 0);Vt([(0,Rt.property)({type:Boolean})],rt.prototype,"controls",void 0);Vt([(0,Rt.property)({type:Boolean})],rt.prototype,"limitSize",void 0);Vt([(0,Rt.state)()],rt.prototype,"elements",void 0);Vt([(0,Rt.state)()],rt.prototype,"currentElement",void 0);Vt([(0,Rt.state)()],rt.prototype,"withScroll",void 0);Vt([(0,Rt.state)()],rt.prototype,"startReached",void 0);Vt([(0,Rt.state)()],rt.prototype,"endReached",void 0);Vt([(0,Rt.query)(".ft-snap-scroll--content")],rt.prototype,"contentSlot",void 0);(0,Oa.customElement)("ft-snap-scroll")(rt);var Ca=u(R()),z=u(O());var vt={colorOutline:z.FtCssVariableFactory.external(z.designSystemVariables.colorOutline,"Design system"),colorOnSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:z.FtCssVariableFactory.external(z.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:z.FtCssVariableFactory.external(z.designSystemVariables.colorPrimary,"Design system"),colorSurface:z.FtCssVariableFactory.external(z.designSystemVariables.colorSurface,"Design system"),transitionDuration:z.FtCssVariableFactory.external(z.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:z.FtCssVariableFactory.external(z.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:z.FtCssVariableFactory.extend("--ft-filter-label-color","",z.designSystemVariables.colorOnSurface),labelFontSize:z.FtCssVariableFactory.extend("--ft-filter-label-font-size","",S.fontSize,"16px")},Ea=[So,Ca.css`
|
|
1294
1296
|
:host {
|
|
1295
1297
|
display: flex;
|
|
1296
1298
|
max-height: 100%;
|
|
@@ -1317,7 +1319,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1317
1319
|
.ft-filter--header ft-button {
|
|
1318
1320
|
flex-shrink: 0;
|
|
1319
1321
|
margin-left: auto;
|
|
1320
|
-
${
|
|
1322
|
+
${(0,z.setVariable)(B.iconSize,"18px")};
|
|
1321
1323
|
}
|
|
1322
1324
|
.filter-label {
|
|
1323
1325
|
display: contents;
|
|
@@ -1328,10 +1330,10 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1328
1330
|
flex-shrink: 1;
|
|
1329
1331
|
flex-grow: 1;
|
|
1330
1332
|
word-break: break-word;
|
|
1331
|
-
color: ${
|
|
1332
|
-
font-size: ${
|
|
1333
|
-
${
|
|
1334
|
-
${
|
|
1333
|
+
color: ${vt.labelColor};
|
|
1334
|
+
font-size: ${vt.labelFontSize};
|
|
1335
|
+
${(0,z.setVariable)(S.lineHeight,"22px")};
|
|
1336
|
+
${(0,z.setVariable)(S.fontWeight,"bold")};
|
|
1335
1337
|
}
|
|
1336
1338
|
|
|
1337
1339
|
.ft-filter--filter {
|
|
@@ -1342,8 +1344,8 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1342
1344
|
padding: 0 10px;
|
|
1343
1345
|
overflow: hidden;
|
|
1344
1346
|
height: 32px;
|
|
1345
|
-
transition: height ${
|
|
1346
|
-
margin ${
|
|
1347
|
+
transition: height ${vt.transitionDuration} ${vt.transitionTimingFunction},
|
|
1348
|
+
margin ${vt.transitionDuration} ${vt.transitionTimingFunction};
|
|
1347
1349
|
transition-delay: 500ms;
|
|
1348
1350
|
}
|
|
1349
1351
|
|
|
@@ -1356,15 +1358,15 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1356
1358
|
display: block;
|
|
1357
1359
|
width: 100%;
|
|
1358
1360
|
border-radius: 4px;
|
|
1359
|
-
border: 1px solid ${
|
|
1361
|
+
border: 1px solid ${vt.colorOutline};
|
|
1360
1362
|
padding: 4px;
|
|
1361
|
-
background-color: ${
|
|
1362
|
-
color: ${
|
|
1363
|
-
outline-color: ${
|
|
1363
|
+
background-color: ${vt.colorSurface};
|
|
1364
|
+
color: ${vt.colorOnSurface};
|
|
1365
|
+
outline-color: ${vt.colorPrimary};
|
|
1364
1366
|
}
|
|
1365
1367
|
|
|
1366
1368
|
input::placeholder {
|
|
1367
|
-
color: ${
|
|
1369
|
+
color: ${vt.colorOnSurfaceMedium};
|
|
1368
1370
|
}
|
|
1369
1371
|
|
|
1370
1372
|
input:placeholder-shown {
|
|
@@ -1380,7 +1382,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1380
1382
|
}
|
|
1381
1383
|
|
|
1382
1384
|
.ft-filter--separator {
|
|
1383
|
-
border-top: 1px solid ${
|
|
1385
|
+
border-top: 1px solid ${vt.colorOutline};
|
|
1384
1386
|
margin: 4px 10px;
|
|
1385
1387
|
}
|
|
1386
1388
|
|
|
@@ -1405,10 +1407,10 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1405
1407
|
slot:not([name]) {
|
|
1406
1408
|
display: none;
|
|
1407
1409
|
}
|
|
1408
|
-
`];var
|
|
1410
|
+
`];var U=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Er=class extends CustomEvent{constructor(e){super("change",{detail:e})}},k=class extends It.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new It.Debouncer(300),this.changeDebouncer=new It.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,It.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,It.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Oe.html`
|
|
1409
1411
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1410
1412
|
part="container">
|
|
1411
|
-
${this.label
|
|
1413
|
+
${!this.label&&!e?null:Oe.html`
|
|
1412
1414
|
|
|
1413
1415
|
<div class="ft-filter--header" part="header">
|
|
1414
1416
|
<div class="filter-label" id="id-group-${this.id}">
|
|
@@ -1417,20 +1419,20 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1417
1419
|
</ft-typography>
|
|
1418
1420
|
<slot name="label"></slot>
|
|
1419
1421
|
</div>
|
|
1420
|
-
${
|
|
1422
|
+
${e&&!this.hideClearButton?Oe.html`
|
|
1421
1423
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1422
1424
|
${this.clearButtonLabel}
|
|
1423
1425
|
</ft-button>
|
|
1424
1426
|
`:null}
|
|
1425
1427
|
</div>
|
|
1426
|
-
|
|
1427
|
-
<div class="ft-filter--filter" ?hidden=${!
|
|
1428
|
+
`}
|
|
1429
|
+
<div class="ft-filter--filter" ?hidden=${!r}>
|
|
1428
1430
|
<input type="search"
|
|
1429
1431
|
part="input"
|
|
1430
1432
|
class="ft-typography--caption"
|
|
1431
|
-
?disabled=${!
|
|
1433
|
+
?disabled=${!r}
|
|
1432
1434
|
placeholder="${i}"
|
|
1433
|
-
size="${
|
|
1435
|
+
size="${r?i.length:0}"
|
|
1434
1436
|
@search=${this.onFilterChange}
|
|
1435
1437
|
@keyup=${this.onFilterChange}>
|
|
1436
1438
|
</div>
|
|
@@ -1441,15 +1443,15 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1441
1443
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1442
1444
|
@option-change=${this.optionsChanged}></slot>
|
|
1443
1445
|
</div>
|
|
1444
|
-
`}update(
|
|
1445
|
-
${this.raiseSelectedOptions&&
|
|
1446
|
+
`}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var p;(p=this.levelsContainer)===null||p===void 0||p.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Oe.html`
|
|
1447
|
+
${this.raiseSelectedOptions&&r.length>0?Oe.html`
|
|
1446
1448
|
<ft-filter-level
|
|
1447
1449
|
filterId="${this.id}"
|
|
1448
1450
|
?multivalued=${this.multivalued}
|
|
1449
1451
|
?disabled=${this.disabled}
|
|
1450
1452
|
?displayCount="${this.displayCount}"
|
|
1451
1453
|
preventNavigation
|
|
1452
|
-
.options=${
|
|
1454
|
+
.options=${r}
|
|
1453
1455
|
@change=${this.onChange}
|
|
1454
1456
|
part="values selected-values"
|
|
1455
1457
|
.exportpartsPrefixes=${["values","selected-values"]}
|
|
@@ -1458,22 +1460,22 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1458
1460
|
`:null}
|
|
1459
1461
|
<ft-snap-scroll horizontal hideScrollbar
|
|
1460
1462
|
class="ft-filter--levels"
|
|
1461
|
-
@current-element-change=${
|
|
1462
|
-
${this.renderLevel(
|
|
1463
|
-
${this.displayedLevels.map(
|
|
1463
|
+
@current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
|
|
1464
|
+
${this.renderLevel(n,this.options)}
|
|
1465
|
+
${this.displayedLevels.map(a=>e.find(l=>l.value===a)).map((a,l)=>{var p;let f=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":l===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(f,(p=a?.subOptions)!==null&&p!==void 0?p:[],a)})}
|
|
1464
1466
|
</ft-snap-scroll>
|
|
1465
|
-
`}renderLevel(
|
|
1467
|
+
`}renderLevel(e,r,i){return Oe.html`
|
|
1466
1468
|
<ft-filter-level
|
|
1467
|
-
class="${
|
|
1469
|
+
class="${e}"
|
|
1468
1470
|
filterId="${this.id}"
|
|
1469
1471
|
.filter="${this.filter}"
|
|
1470
1472
|
moreValuesButtonLabel="${this.moreValuesButtonLabel}"
|
|
1471
1473
|
?multivalued=${this.multivalued}
|
|
1472
|
-
?disabled=${this.disabled||"ft-filter--level-center"
|
|
1474
|
+
?disabled=${this.disabled||e!=="ft-filter--level-center"}
|
|
1473
1475
|
?hideSelectedOptions=${this.raiseSelectedOptions}
|
|
1474
1476
|
?displayCount="${this.displayCount}"
|
|
1475
1477
|
.parent=${i}
|
|
1476
|
-
.options=${
|
|
1478
|
+
.options=${r}
|
|
1477
1479
|
.displayedValuesLimit=${this.displayedValuesLimit}
|
|
1478
1480
|
@change=${this.onChange}
|
|
1479
1481
|
@go-back=${this.goBack}
|
|
@@ -1482,9 +1484,9 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1482
1484
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1483
1485
|
noValuesLabel="${this.noValuesLabel}"
|
|
1484
1486
|
></ft-filter-level>
|
|
1485
|
-
`}goBack(
|
|
1487
|
+
`}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var l;a!==i&&(a.selected=!1),(l=a.subOptions)===null||l===void 0||l.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,It.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Er(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};k.elementDefinitions={"ft-button":pt,"ft-filter-level":K,"ft-snap-scroll":rt,"ft-typography":V};k.styles=Ea;U([(0,$.property)({type:String})],k.prototype,"id",void 0);U([(0,$.property)({type:String})],k.prototype,"label",void 0);U([(0,$.property)({type:String})],k.prototype,"filterPlaceHolder",void 0);U([(0,$.property)({type:String})],k.prototype,"clearButtonLabel",void 0);U([(0,$.property)({type:String})],k.prototype,"moreValuesButtonLabel",void 0);U([(0,$.property)({type:String})],k.prototype,"noValuesLabel",void 0);U([(0,It.jsonProperty)([])],k.prototype,"options",void 0);U([(0,$.property)({type:Boolean})],k.prototype,"multivalued",void 0);U([(0,$.property)({type:Boolean})],k.prototype,"disabled",void 0);U([(0,$.property)({type:Boolean})],k.prototype,"raiseSelectedOptions",void 0);U([(0,$.property)({type:Boolean})],k.prototype,"displayCount",void 0);U([(0,$.property)({type:Number})],k.prototype,"displayedValuesLimit",void 0);U([(0,$.property)({type:Boolean})],k.prototype,"hideClearButton",void 0);U([(0,$.query)(".ft-filter--slot")],k.prototype,"slotElement",void 0);U([(0,$.query)(".ft-filter--container")],k.prototype,"container",void 0);U([(0,$.query)(".ft-filter--values")],k.prototype,"valuesContainer",void 0);U([(0,$.query)(".ft-filter--levels")],k.prototype,"levelsContainer",void 0);U([(0,$.state)()],k.prototype,"lastLevelHasHiddenvalues",void 0);U([(0,$.query)(".ft-filter--filter input")],k.prototype,"filterInput",void 0);U([(0,$.queryAll)(".ft-filter--levels ft-filter-level")],k.prototype,"levels",void 0);U([(0,$.state)()],k.prototype,"withScroll",void 0);U([(0,$.state)()],k.prototype,"filter",void 0);U([(0,$.state)()],k.prototype,"slideIn",void 0);U([(0,$.state)()],k.prototype,"slideOut",void 0);var Do=u(O()),Ce=u(j()),Aa=u(R()),Ze=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bt=class extends Do.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Aa.html`
|
|
1486
1488
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1487
|
-
`}updateSubOptionsFromSlot(
|
|
1489
|
+
`}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Bt.elementDefinitions={};Ze([(0,Ce.property)({type:String})],Bt.prototype,"label",void 0);Ze([(0,Ce.property)({type:Object,converter:o=>o})],Bt.prototype,"value",void 0);Ze([(0,Ce.property)({type:Boolean,reflect:!0})],Bt.prototype,"selected",void 0);Ze([(0,Ce.property)({type:Object})],Bt.prototype,"subOptions",void 0);Ze([(0,Do.jsonProperty)({})],Bt.prototype,"renderOption",void 0);Ze([(0,Ce.query)(".ft-filter-option--slot")],Bt.prototype,"slotElement",void 0);(0,Ar.customElement)("ft-filter")(k);(0,Ar.customElement)("ft-filter-option")(Bt);var Fs={headerColor:Ee.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",Ee.designSystemVariables.colorOnSurface)},Ra=wa.css`
|
|
1488
1490
|
[part="container"] {
|
|
1489
1491
|
flex-grow: 1;
|
|
1490
1492
|
display: flex;
|
|
@@ -1499,7 +1501,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1499
1501
|
overflow: auto;
|
|
1500
1502
|
display: flex;
|
|
1501
1503
|
flex-direction: column;
|
|
1502
|
-
${
|
|
1504
|
+
${(0,Ee.setVariable)(S.lineHeight,"22px")};
|
|
1503
1505
|
}
|
|
1504
1506
|
|
|
1505
1507
|
[part="header"] {
|
|
@@ -1509,7 +1511,7 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1509
1511
|
flex-shrink: 0;
|
|
1510
1512
|
padding: 0 10px;
|
|
1511
1513
|
margin-bottom: 8px;
|
|
1512
|
-
color: ${
|
|
1514
|
+
color: ${Fs.headerColor};
|
|
1513
1515
|
}
|
|
1514
1516
|
|
|
1515
1517
|
[part="label"] {
|
|
@@ -1517,29 +1519,45 @@ const ao=Symbol.for(""),lo=t=>{if(t?.r===ao)return t?._$litStatic$},so=t=>({_$li
|
|
|
1517
1519
|
flex-shrink: 1;
|
|
1518
1520
|
flex-grow: 1;
|
|
1519
1521
|
word-break: break-word;
|
|
1520
|
-
font-size: ${
|
|
1521
|
-
${
|
|
1522
|
+
font-size: ${vt.labelFontSize};
|
|
1523
|
+
${(0,Ee.setVariable)(S.fontWeight,"bold")};
|
|
1522
1524
|
}
|
|
1523
1525
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1526
|
+
`;var za=u(O());var Zo=u(R()),jo=u(j()),qo=u(O());var Na=u(R());var La=Na.css`
|
|
1527
|
+
`;var Vo=u(O());var Da=u(O());var $a=u(R()),kt=u(j()),Dt=u(O());var Ta=u(R());var Ia=Ta.css`
|
|
1528
|
+
`;var ka=u(O()),zs="ft-app-info",Ws={},N=ka.FtReduxStore.get({name:zs,reducers:Ws,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ce=u(O());var wr=u(O());var Ae=class o{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=N.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=o.get(e);if(i)r(i);else{let n=N.subscribe(()=>{i=o.get(e),i&&(n(),r(i))})}})}};var ee=class{constructor(e=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new wr.CacheRegistry,this.cache=e?n.commonCache:new wr.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ae.get()}get awaitApi(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ae.await()}clearCache(){this.cache.clearAll()}};var Pa,Hs=Symbol("clearAfterUnitTest"),Uo=class extends ee{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pa]=()=>{this.defaultMessages={},this.cache=new ce.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=N.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,ce.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...i){var n,a,l;e=e.toLowerCase(),this.fetchContext(e);let p=(a=(n=this.cache.getNow(e))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new ce.ParametrizedLabelResolver((l=this.defaultMessages[e])!==null&&l!==void 0?l:{},p).resolve(r,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,ce.delay)(0).then(()=>r()).catch(()=>null)))}};Pa=Hs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Uo{constructor(){super(async(o,e)=>(await this.awaitApi).getFluidTopicsMessageContext(o,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Uo{constructor(){super(async(o,e)=>(await this.awaitApi).getCustomMessageContext(o,e))}});var je=window.FluidTopicsI18nService,_a=window.FluidTopicsCustomI18nService;var ft=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends Dt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ae.get(),this.messageContexts=[],this.cache=new Dt.CacheRegistry,this.cleanSessionDebouncer=new Dt.Debouncer}render(){return $a.html`
|
|
1527
1529
|
<slot></slot>
|
|
1528
|
-
`}update(
|
|
1530
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&N.actions.noCustom(this.noCustom),e.has("editorMode")&&N.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&N.actions.session(this.session),e.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>je.addContext(r)),e.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};Z.elementDefinitions={};Z.styles=Ia;ft([(0,kt.property)()],Z.prototype,"baseUrl",void 0);ft([(0,kt.property)()],Z.prototype,"apiIntegrationIdentifier",void 0);ft([(0,kt.property)()],Z.prototype,"uiLocale",void 0);ft([(0,Dt.jsonProperty)(null)],Z.prototype,"availableUiLocales",void 0);ft([(0,Dt.jsonProperty)(null)],Z.prototype,"metadataConfiguration",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"editorMode",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"noCustom",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"openExternalDocumentInNewTab",void 0);ft([(0,kt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],Z.prototype,"noCustomComponent",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"withManualResources",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"navigatorOnline",void 0);ft([(0,kt.property)({type:Boolean})],Z.prototype,"forcedOffline",void 0);ft([(0,kt.property)({type:Object})],Z.prototype,"apiProvider",void 0);ft([(0,Dt.jsonProperty)([])],Z.prototype,"messageContexts",void 0);ft([(0,Dt.jsonProperty)(void 0)],Z.prototype,"session",void 0);var Ho=u(O());var Fo=class extends ee{async listMySearches(){let e=N.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var zo=class extends ee{async listMyBookmarks(){let e=N.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ms="ft-user-assets",Wo=Ho.FtReduxStore.get({name:Ms,initialState:{savedSearches:void 0,bookmarks:void 0}}),Rr=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new zo,this.savedSearchesService=new Fo,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=N.getState();(0,Ho.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Wo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Wo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Wo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Wo.actions.bookmarks(r)}}},bm=new Rr;var Nr=class{addCommand(e,r=!1){N.commands.add(e,r)}consumeCommand(e){return N.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Nr;var Ba=u(O()),Lr=class{highlightHtml(e,r){(0,Ba.highlightHtml)(e,r)}};window.FluidTopicsHighlightHtmlService=new Lr;(0,Da.customElement)("ft-app-context")(Z);var Fa=u(j()),Gs=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Tr=Symbol("i18nAttributes"),Mo=Symbol("i18nProperties"),uo=Symbol("i18nUnsubs");function Ko(o){var e;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?_a:je}i18n(n,a,...l){var p;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...l);let f=(p=n.args)!==null&&p!==void 0?p:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...f)}onI18nUpdate(n){var a,l;(a=this[Tr])===null||a===void 0||a.forEach((p,f)=>{var h;let b=this.getI18nAttributeValue(f);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(f,b,p)}),(l=this[Mo])===null||l===void 0||l.forEach((p,f)=>{p.context.toLowerCase()===n.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,l){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(n){var a,l;super.update(n),(a=this[Tr])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h?.context&&h.key&&(n.has(f)||p.argsProvider!=null)&&(n.has(f)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(f,h,p))}),(l=this[Mo])===null||l===void 0||l.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,l,p;super.connectedCallback(),new Set([...(a=(n=this[Mo])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(p=(l=this[Tr])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(f=>this.getI18nAttributeValue(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(n,a){n=n.toLowerCase(),this[uo].has(n)||this[uo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[uo].forEach(n=>n()),this[uo].clear()}}return e=uo,Gs([(0,Fa.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ua=class extends Ko(Vo.FtLitElement){},Go=class extends Ko(Vo.FtLitElementRedux){};var ho=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ut=class extends Go{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Zo.nothing:Zo.html`
|
|
1529
1531
|
<span class="ft-i18n">
|
|
1530
1532
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1531
1533
|
</span>
|
|
1532
|
-
`: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:""})}}Hr.elementDefinitions={},Hr.styles=tr,Tr([o.redux()],Hr.prototype,"editorMode",void 0),Tr([i.property()],Hr.prototype,"context",void 0),Tr([i.property()],Hr.prototype,"key",void 0),Tr([o.jsonProperty([])],Hr.prototype,"args",void 0),Tr([i.property()],Hr.prototype,"defaultMessage",void 0);class Pr{static build(t){return new Pr(t)}static fromGwt(t){return new Pr(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)=>sr.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Hr),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 i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(wr||(wr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Sr||(Sr={})),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"}(Nr||(Nr={})),function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"}($r||($r={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Cr||(Cr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Er||(Er={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Ir||(Ir={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(kr||(kr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Rr||(Rr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ur||(Ur={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Lr||(Lr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Wr||(Wr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(zr||(zr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ar||(Ar={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Zr||(Zr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Kr||(Kr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Dr||(Dr={})),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"}(Br||(Br={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Fr||(Fr={})),Br.PERSONAL_BOOK_SHARE_USER,Br.PERSONAL_BOOK_USER,Br.HTML_EXPORT_USER,Br.PERSONAL_BOOK_USER,Br.PDF_EXPORT_USER,Br.PERSONAL_BOOK_USER,Br.KHUB_ADMIN,Br.CONTENT_PUBLISHER,Br.ADMIN,Br.KHUB_ADMIN,Br.USERS_ADMIN,Br.PORTAL_ADMIN,Br.DEVELOPER,Br.BETA_USER,Br.DEBUG_USER;class Mr extends Event{constructor(){super(Mr.eventName)}}Mr.eventName="search-context-clear-all-filters";var _r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Gr=Symbol("registerInterval");class Vr 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[Gr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Gr]):this.dispatchEvent(new jr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Gr,_r([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Yr=Pr.build("designedSearchPeriodFilter"),qr={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends(xr(Vr)){constructor(){super(),this.addI18nContext(Yr,qr)}render(){var t,o,i,r;return e.html`<div part="container">
|
|
1534
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ut.elementDefinitions={};Ut.styles=La;ho([(0,qo.redux)()],Ut.prototype,"editorMode",void 0);ho([(0,jo.property)()],Ut.prototype,"context",void 0);ho([(0,jo.property)()],Ut.prototype,"key",void 0);ho([(0,qo.jsonProperty)([])],Ut.prototype,"args",void 0);ho([(0,jo.property)()],Ut.prototype,"defaultMessage",void 0);var Yo=class o{static build(e){return new o(e)}static fromGwt(e){return new o(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>je.resolveMessage(this.name,i,...n)})}};(0,za.customElement)("ft-i18n")(Ut);var is=u(O()),ns=u(j());var _r=u(O());var Vs=u(O());var uy=u(Ha(),1);var Ma;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(Ma||(Ma={}));var Ga;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ga||(Ga={}));var Va;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Va||(Va={}));var Ka;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Ka||(Ka={}));var Za;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Za||(Za={}));var ja;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(ja||(ja={}));var qa;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(qa||(qa={}));var Ya;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(Ya||(Ya={}));var Xo;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(Xo||(Xo={}));var Xa;(function(o){o.ASC="ASC",o.DESC="DESC"})(Xa||(Xa={}));var Qa;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(Qa||(Qa={}));var Ir;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Ir||(Ir={}));var Ja;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ja||(Ja={}));var ts;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(ts||(ts={}));var es;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(es||(es={}));var os;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(os||(os={}));var kr;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(kr||(kr={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var rs;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(rs||(rs={}));var cy={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var Pr=class o extends Event{constructor(){super(o.eventName)}};Pr.eventName="search-context-clear-all-filters";var Ks=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Br=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},$r=Symbol("registerInterval");function Zs(o){var e;class r extends o{constructor(){super(...arguments),this[e]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$r]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[$r]):this.dispatchEvent(new Br)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=$r,Ks([(0,ns.state)()],r.prototype,"stateManager",void 0),r}var Qo=class extends Zs(is.FtLitElementRedux){};var ss=u(O());var pe=Yo.build("designedSearchPeriodFilter"),as={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var yo=u(j());var mo=function(o,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,i);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(n<3?l(a):n>3?l(e,r,a):l(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zt=class extends Ko(Qo){constructor(){super(),this.addI18nContext(pe,as)}render(){var e,r,i,n;return Ft.html`<div part="container">
|
|
1533
1535
|
<div part="header">
|
|
1534
1536
|
<ft-typography variant="overline" part="label" id="label">
|
|
1535
|
-
${
|
|
1537
|
+
${pe.messages.label()}
|
|
1536
1538
|
</ft-typography>
|
|
1537
1539
|
</div>
|
|
1538
|
-
<ft-radio-group @change=${
|
|
1539
|
-
<ft-radio value="anyTime" ?checked=${
|
|
1540
|
-
${this.lessThanAWeek?
|
|
1541
|
-
${this.lessThanAMonth?
|
|
1542
|
-
${this.lessThanAQuarter?
|
|
1543
|
-
${this.lessThanAYear?
|
|
1540
|
+
<ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
|
|
1541
|
+
<ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${pe.messages.anyTime()}</ft-radio>
|
|
1542
|
+
${this.lessThanAWeek?Ft.html`<ft-radio ?checked=${((e=this.periodFilter)===null||e===void 0?void 0:e.periodType)=="LAST_WEEK"} value="LAST_WEEK">${pe.messages.LAST_WEEK()}</ft-radio>`:Ft.nothing}
|
|
1543
|
+
${this.lessThanAMonth?Ft.html`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${pe.messages.LAST_MONTH()}</ft-radio>`:Ft.nothing}
|
|
1544
|
+
${this.lessThanAQuarter?Ft.html`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${pe.messages.LAST_QUARTER()}</ft-radio>`:Ft.nothing}
|
|
1545
|
+
${this.lessThanAYear?Ft.html`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${pe.messages.LAST_YEAR()}</ft-radio>`:Ft.nothing}
|
|
1544
1546
|
</ft-radio-group>
|
|
1545
|
-
</div>`}setPeriodFilter(
|
|
1547
|
+
</div>`}setPeriodFilter(e){var r;let i=Xo[e.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};zt.elementDefinitions={"ft-radio-group":Tt,"ft-radio":Q,"ft-typography":V};zt.styles=Ra;mo([(0,yo.property)({type:Boolean})],zt.prototype,"lessThanAWeek",void 0);mo([(0,yo.property)({type:Boolean})],zt.prototype,"lessThanAMonth",void 0);mo([(0,yo.property)({type:Boolean})],zt.prototype,"lessThanAQuarter",void 0);mo([(0,yo.property)({type:Boolean})],zt.prototype,"lessThanAYear",void 0);mo([(0,ss.redux)({store:"search",selector:o=>o.request.periodFilter})],zt.prototype,"periodFilter",void 0);(0,ls.customElement)("ft-search-period-filter")(zt);})();
|
|
1548
|
+
/*! Bundled license information:
|
|
1549
|
+
|
|
1550
|
+
lit-html/lit-html.js:
|
|
1551
|
+
(**
|
|
1552
|
+
* @license
|
|
1553
|
+
* Copyright 2017 Google LLC
|
|
1554
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1555
|
+
*)
|
|
1556
|
+
|
|
1557
|
+
lit-html/static.js:
|
|
1558
|
+
(**
|
|
1559
|
+
* @license
|
|
1560
|
+
* Copyright 2020 Google LLC
|
|
1561
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1562
|
+
*)
|
|
1563
|
+
*/
|