@fluid-topics/ft-snap-scroll 1.1.22 → 1.1.23
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-snap-scroll.light.js +1 -1
- package/build/ft-snap-scroll.min.js +199 -198
- package/package.json +4 -4
|
@@ -82,16 +82,17 @@ const Ft=globalThis,Kt=Ft.trustedTypes,Zt=Kt?Kt.createPolicy("lit-html",{createH
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,r){const i=t=>xo(null!=t?t:r),n=mt`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>mt`var(${xo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=mt`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>mt`var(${xo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),r=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function vo(t,o){return xo(`${t.name}: ${o}`)}const So={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},Co={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};Oo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),Oo.extend("--ft-tabs-label-gap","",So.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-group-gap","",So.spacing1),Oo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),Oo.extend("--ft-chart-3-light","",So.colorUltramarine40),Oo.extend("--ft-chart-3-base","",So.colorUltramarine70),Oo.extend("--ft-chart-4-light","",So.colorCyan50),Oo.extend("--ft-chart-4-base","",So.colorCyan100),Oo.extend("--ft-chart-5-light","",So.colorRed40),Oo.extend("--ft-chart-5-base","",So.colorRed60),Oo.extend("--ft-chart-6-light","",So.colorGreen40),Oo.extend("--ft-chart-6-base","",So.colorGreen70),Oo.extend("--ft-chart-7-light","",So.colorOrange70),Oo.extend("--ft-chart-7-base","",So.colorOrange100),Oo.extend("--ft-chart-8-light","",So.colorAvocado70),Oo.extend("--ft-chart-8-base","",So.colorAvocado200),Oo.extend("--ft-chart-9-light","",So.colorBrown50),Oo.extend("--ft-chart-9-base","",So.colorBrown200),Oo.extend("--ft-chart-10-light","",So.colorGray50),Oo.extend("--ft-chart-10-base","",So.colorGray80),Oo.extend("--ft-chart-monochrome-10","",So.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",So.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",So.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",So.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",So.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",So.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",So.spacing2),Oo.extend("--ft-chip-large-gap","",So.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",So.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),Oo.extend("--ft-chip-medium-gap","",So.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",So.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",So.spacing05),Oo.extend("--ft-chip-small-gap","",So.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",So.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",So.spacing2),Oo.extend("--ft-notice-vertical-padding","",So.spacing1),Oo.extend("--ft-notice-border-radius","",So.borderRadiusS),Oo.extend("--ft-notice-gap","",So.spacing2),Oo.extend("--ft-notice-icon-size","",So.iconSize3),Oo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",So.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",So.spacing3),Oo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",So.spacing3),Oo.extend("--ft-notification-icon-size","",So.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",So.spacing4),Oo.extend("--ft-notification-vertical-padding","",So.spacing4),Oo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",So.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",So.spacing2),Oo.extend("--ft-notification-gap-trailing","",So.spacing8);const $o={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oo.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:Oo.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:Oo.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:Oo.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:Oo.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:Oo.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:Oo.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:Oo.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:Oo.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=window,Eo=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
85
|
+
class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,r){const i=t=>xo(null!=t?t:r),n=mt`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>mt`var(${xo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=mt`var(${xo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>mt`var(${xo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),r=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function vo(t,o){return xo(`${t.name}: ${o}`)}const So={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},Co={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};Oo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),Oo.extend("--ft-tabs-label-gap","",So.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-group-gap","",So.spacing1),Oo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),Oo.extend("--ft-chart-3-light","",So.colorUltramarine40),Oo.extend("--ft-chart-3-base","",So.colorUltramarine70),Oo.extend("--ft-chart-4-light","",So.colorCyan50),Oo.extend("--ft-chart-4-base","",So.colorCyan100),Oo.extend("--ft-chart-5-light","",So.colorRed40),Oo.extend("--ft-chart-5-base","",So.colorRed60),Oo.extend("--ft-chart-6-light","",So.colorGreen40),Oo.extend("--ft-chart-6-base","",So.colorGreen70),Oo.extend("--ft-chart-7-light","",So.colorOrange70),Oo.extend("--ft-chart-7-base","",So.colorOrange100),Oo.extend("--ft-chart-8-light","",So.colorAvocado70),Oo.extend("--ft-chart-8-base","",So.colorAvocado200),Oo.extend("--ft-chart-9-light","",So.colorBrown50),Oo.extend("--ft-chart-9-base","",So.colorBrown200),Oo.extend("--ft-chart-10-light","",So.colorGray50),Oo.extend("--ft-chart-10-base","",So.colorGray80),Oo.extend("--ft-chart-monochrome-10","",So.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",So.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",So.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",So.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",So.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",So.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",So.spacing2),Oo.extend("--ft-chip-large-gap","",So.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",So.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),Oo.extend("--ft-chip-medium-gap","",So.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",So.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",So.spacing05),Oo.extend("--ft-chip-small-gap","",So.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",So.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",So.spacing2),Oo.extend("--ft-notice-vertical-padding","",So.spacing1),Oo.extend("--ft-notice-border-radius","",So.borderRadiusS),Oo.extend("--ft-notice-gap","",So.spacing2),Oo.extend("--ft-notice-icon-size","",So.iconSize3),Oo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",So.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",So.spacing3),Oo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",So.spacing3),Oo.extend("--ft-notification-icon-size","",So.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",So.spacing4),Oo.extend("--ft-notification-vertical-padding","",So.spacing4),Oo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",So.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",So.spacing2),Oo.extend("--ft-notification-gap-trailing","",So.spacing8);const $o={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oo.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:Oo.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:Oo.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:Oo.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:Oo.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:Oo.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:Oo.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:Oo.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:Oo.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=["start","end"],Eo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ro[0],o+"-"+Ro[1])),[]),Uo=Math.min,ko=Math.max,Io=Math.round,Lo=t=>({x:t,y:t}),Wo={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Fo(t,o,e){return ko(t,Uo(o,e))}function Ko(t,o){return"function"==typeof t?t(o):t}function Zo(t){return t.split("-")[0]}function Bo(t){return t.split("-")[1]}function Ao(t){return"x"===t?"y":"x"}function Mo(t){return"y"===t?"height":"width"}function Do(t){return["top","bottom"].includes(Zo(t))?"y":"x"}function Po(t){return Ao(Do(t))}function Ho(t){return t.replace(/left|right|bottom|top/g,(t=>Wo[t]))}function To(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jo(t,o,e){let{reference:r,floating:i}=t;const n=Do(o),a=Po(o),s=Mo(a),l=Zo(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Bo(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function _o(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Ko(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=To(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=To(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Go(t,o,e){return(t?[...e.filter((o=>Bo(o)===t)),...e.filter((o=>Bo(o)!==t))]:e.filter((t=>Zo(t)===t))).filter((e=>!t||(Bo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Yo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Eo,autoAlignment:d=!0,...u}=Ko(t,o),y=void 0!==f||h===Eo?Go(f||null,d,h):h,g=await _o(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Bo(t),i=Po(t),n=Mo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Ho(a)),[a,Ho(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Zo(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const N=v.map((t=>{const o=Bo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,Bo(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Vo(t){return Xo(t)?(t.nodeName||"").toLowerCase():"#document"}function Jo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qo(t){var o;return null==(o=(Xo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Xo(t){return t instanceof Node||t instanceof Jo(t).Node}function Qo(t){return t instanceof Element||t instanceof Jo(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Jo(t).HTMLElement}function oe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jo(t).ShadowRoot)}function ee(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=se(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function re(t){return["table","td","th"].includes(Vo(t))}function ie(t){const o=ne(),e=se(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 ae(t){return["html","body","#document"].includes(Vo(t))}function se(t){return Jo(t).getComputedStyle(t)}function le(t){return Qo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(t){if("html"===Vo(t))return t;const o=t.assignedSlot||t.parentNode||oe(t)&&t.host||qo(t);return oe(o)?o.host:o}function pe(t){const o=ce(t);return ae(o)?t.ownerDocument?t.ownerDocument.body:t.body:te(o)&&ee(o)?o:pe(o)}function fe(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=pe(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Jo(i);return n?o.concat(a,a.visualViewport||[],ee(i)?i:[],a.frameElement&&e?fe(a.frameElement):[]):o.concat(i,fe(i,[],e))}function he(t){const o=se(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=te(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Io(e)!==n||Io(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function de(t){return Qo(t)?t:t.contextElement}function ue(t){const o=de(t);if(!te(o))return Lo(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=he(o);let a=(n?Io(e.width):e.width)/r,s=(n?Io(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ye=Lo(0);function ge(t){const o=Jo(t);return ne()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ye}function be(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=de(t);let a=Lo(1);o&&(r?Qo(r)&&(a=ue(r)):a=ue(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Jo(t))&&o}(n,e,r)?ge(n):Lo(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Jo(n),o=r&&Qo(r)?Jo(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ue(e),o=e.getBoundingClientRect(),r=se(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Jo(e).frameElement}}return To({width:p,height:f,x:l,y:c})}function me(t){return be(qo(t)).left+le(t).scrollLeft}function xe(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Jo(t),r=qo(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=ne();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=qo(t),e=le(t),r=t.ownerDocument.body,i=ko(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=ko(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+me(t);const s=-e.scrollTop;return"rtl"===se(r).direction&&(a+=ko(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(qo(t));else if(Qo(o))r=function(t,o){const e=be(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=te(t)?ue(t):Lo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ge(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return To(r)}function Oe(t,o){const e=ce(t);return!(e===o||!Qo(e)||ae(e))&&("fixed"===se(e).position||Oe(e,o))}function ve(t,o,e){const r=te(o),i=qo(o),n="fixed"===e,a=be(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lo(0);if(r||!r&&!n)if(("body"!==Vo(o)||ee(i))&&(s=le(o)),r){const t=be(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=me(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Se(t,o){return te(t)&&"fixed"!==se(t).position?o?o(t):t.offsetParent:null}function Ne(t,o){const e=Jo(t);if(!te(t))return e;let r=Se(t,o);for(;r&&re(r)&&"static"===se(r).position;)r=Se(r,o);return r&&("html"===Vo(r)||"body"===Vo(r)&&"static"===se(r).position&&!ie(r))?e:r||function(t){let o=ce(t);for(;te(o)&&!ae(o);){if(ie(o))return o;o=ce(o)}return null}(t)||e}const we={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=te(e),n=qo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lo(1);const l=Lo(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vo(e)||ee(n))&&(a=le(e)),te(e))){const t=be(e);s=ue(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:qo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fe(t,[],!1).filter((t=>Qo(t)&&"body"!==Vo(t))),i=null;const n="fixed"===se(t).position;let a=n?ce(t):t;for(;Qo(a)&&!ae(a);){const o=se(a),e=ie(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ee(a)&&!e&&Oe(t,a))?r=r.filter((t=>t!==a)):i=o,a=ce(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=xe(o,e,i);return t.top=ko(r.top,t.top),t.right=Uo(r.right,t.right),t.bottom=Uo(r.bottom,t.bottom),t.left=ko(r.left,t.left),t}),xe(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ne,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ne,n=this.getDimensions;return{reference:ve(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return he(t)},getScale:ue,isElement:Qo,isRTL:function(t){return"rtl"===se(t).direction}},Ce=(t,o,e)=>{const r=new Map,i={platform:we,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=jo(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=jo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function $e(t){return function(t){for(let o=t;o;o=Re(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Re(t);o;o=Re(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 Re(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2019 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/
|
|
90
|
+
*/
|
|
91
|
+
const Ee=window,Ue=Ee.ShadowRoot&&(void 0===Ee.ShadyCSS||Ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class ke extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ue?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ee.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ie,Le=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const We=Symbol("constructorPrototype"),ze=Symbol("constructorName"),Fe=Symbol("exportpartsDebouncer");class Ke extends ke{constructor(){super(),this[Ie]=new o(5),this[ze]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ze]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Fe].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ie=Fe,Le([C()],Ke.prototype,"exportpartsPrefix",void 0),Le([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],Ke.prototype,"exportpartsPrefixes",void 0),Le([C()],Ke.prototype,"customStylesheet",void 0);const Ze=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
91
92
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
93
|
+
background: ${Ze};
|
|
93
94
|
}
|
|
94
|
-
`;const
|
|
95
|
+
`;const Be=mt`
|
|
95
96
|
.ft-no-text-select {
|
|
96
97
|
-webkit-touch-callout: none;
|
|
97
98
|
-webkit-user-select: none;
|
|
@@ -112,7 +113,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
112
113
|
-webkit-hyphens: auto;
|
|
113
114
|
hyphens: auto
|
|
114
115
|
}
|
|
115
|
-
`;const
|
|
116
|
+
`;const Ae=mt`
|
|
116
117
|
.ft-safari-ellipsis-fix {
|
|
117
118
|
margin-right: 0;
|
|
118
119
|
|
|
@@ -123,7 +124,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
123
124
|
display: inline-block;
|
|
124
125
|
width: 0;
|
|
125
126
|
}
|
|
126
|
-
`;function
|
|
127
|
+
`;function Me(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var De,Pe,He;const Te=Symbol("internalReduxEventsUnsubscribers"),je=Symbol("internalStoresUnsubscribers"),_e=Symbol("internalStores");class Ge extends Ke{constructor(){super(...arguments),this[De]=new Map,this[Pe]=new Map,this[He]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[_e].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_e].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_e].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Me(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[_e].delete(o)}setupStore(t,o){this[_e].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_e].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[je].has(t.store):this[je].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[je].set(t,o.subscribe((()=>this.updateFromStores()))),Me(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Te].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[je].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Te].forEach((t=>t())),this[Te]=[]}unsubscribeFromStore(t){this[je].has(t)&&this[je].get(t)(),this[je].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}De=je,Pe=_e,He=Te,Ge.reduxProperties=new Map,Ge.reduxReactiveProperties=new Set,Ge.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ye=Symbol("elementInternals");var Ve,Je,qe;const Xe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qe=null===(Je=null===(Ve=window.safari)||void 0===Ve?void 0:Ve.pushNotification)||void 0===Je?void 0:Je.toString())&&void 0!==qe?qe:""),Qe=Oo.extend("--ft-ripple-color","",$o.colorContent),tr={color:Qe,backgroundColor:Oo.extend("--ft-ripple-background-color","",Qe),opacityContentOnSurfacePressed:Oo.external($o.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external($o.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external($o.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external($o.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},or=Oo.extend("--ft-ripple-color","",$o.colorPrimary),er=or,rr=Oo.extend("--ft-ripple-background-color","",or),ir=Oo.extend("--ft-ripple-color","",$o.colorSecondary),nr=ir,ar=Oo.extend("--ft-ripple-background-color","",ir),sr=mt`
|
|
127
128
|
:host {
|
|
128
129
|
display: contents;
|
|
129
130
|
}
|
|
@@ -136,7 +137,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
136
137
|
|
|
137
138
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
138
139
|
overflow: hidden;
|
|
139
|
-
border-radius: ${
|
|
140
|
+
border-radius: ${tr.borderRadius};
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
.ft-ripple .ft-ripple--background,
|
|
@@ -170,27 +171,27 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
.ft-ripple .ft-ripple--background {
|
|
173
|
-
background-color: ${
|
|
174
|
+
background-color: ${tr.backgroundColor};
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
.ft-ripple .ft-ripple--effect {
|
|
177
|
-
background-color: ${
|
|
178
|
+
background-color: ${tr.color};
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
181
|
-
background-color: ${
|
|
182
|
+
background-color: ${ar};
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
185
|
-
background-color: ${
|
|
186
|
+
background-color: ${nr};
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
189
|
-
background-color: ${
|
|
190
|
+
background-color: ${rr};
|
|
190
191
|
}
|
|
191
192
|
|
|
192
193
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
193
|
-
background-color: ${
|
|
194
|
+
background-color: ${er};
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
.ft-ripple .ft-ripple--background {
|
|
@@ -220,117 +221,117 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
223
|
-
opacity: ${
|
|
224
|
+
opacity: ${tr.opacityContentOnSurfaceHover};
|
|
224
225
|
}
|
|
225
226
|
|
|
226
227
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
227
|
-
opacity: ${
|
|
228
|
+
opacity: ${tr.opacityContentOnSurfaceSelected};
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
231
|
-
opacity: ${
|
|
232
|
+
opacity: ${tr.opacityContentOnSurfaceFocused};
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
235
|
-
opacity: ${
|
|
236
|
+
opacity: ${tr.opacityContentOnSurfacePressed};
|
|
236
237
|
transform: translate(-50%, -50%) scale(1);
|
|
237
238
|
}
|
|
238
|
-
`;const
|
|
239
|
+
`;const lr=Oo.extend("--ft-typography-font-family","",$o.titleFont),cr=Oo.extend("--ft-typography-font-family","",$o.contentFont),pr={fontFamily:cr,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fr=Oo.extend("--ft-typography-title-font-family","",lr),hr=Oo.extend("--ft-typography-title-font-size","",pr.fontSize,"20px"),dr=Oo.extend("--ft-typography-title-font-weight","",pr.fontWeight,"normal"),ur=Oo.extend("--ft-typography-title-letter-spacing","",pr.letterSpacing,"0.15px"),yr=Oo.extend("--ft-typography-title-line-height","",pr.lineHeight,"1.2"),gr=Oo.extend("--ft-typography-title-text-transform","",pr.textTransform,"inherit"),br=Oo.extend("--ft-typography-title-dense-font-family","",lr),mr=Oo.extend("--ft-typography-title-dense-font-size","",pr.fontSize,"14px"),xr=Oo.extend("--ft-typography-title-dense-font-weight","",pr.fontWeight,"normal"),Or=Oo.extend("--ft-typography-title-dense-letter-spacing","",pr.letterSpacing,"0.105px"),vr=Oo.extend("--ft-typography-title-dense-line-height","",pr.lineHeight,"1.7"),Sr=Oo.extend("--ft-typography-title-dense-text-transform","",pr.textTransform,"inherit"),Nr=Oo.extend("--ft-typography-subtitle1-font-family","",cr),wr=Oo.extend("--ft-typography-subtitle1-font-size","",pr.fontSize,"16px"),Cr=Oo.extend("--ft-typography-subtitle1-font-weight","",pr.fontWeight,"600"),$r=Oo.extend("--ft-typography-subtitle1-letter-spacing","",pr.letterSpacing,"0.144px"),Rr=Oo.extend("--ft-typography-subtitle1-line-height","",pr.lineHeight,"1.5"),Er=Oo.extend("--ft-typography-subtitle1-text-transform","",pr.textTransform,"inherit"),Ur=Oo.extend("--ft-typography-subtitle2-font-family","",cr),kr=Oo.extend("--ft-typography-subtitle2-font-size","",pr.fontSize,"14px"),Ir=Oo.extend("--ft-typography-subtitle2-font-weight","",pr.fontWeight,"normal"),Lr=Oo.extend("--ft-typography-subtitle2-letter-spacing","",pr.letterSpacing,"0.098px"),Wr=Oo.extend("--ft-typography-subtitle2-line-height","",pr.lineHeight,"1.7"),zr=Oo.extend("--ft-typography-subtitle2-text-transform","",pr.textTransform,"inherit"),Fr=Oo.extend("--ft-typography-body1-font-family","",cr),Kr=Oo.extend("--ft-typography-body1-font-size","",pr.fontSize,"16px"),Zr=Oo.extend("--ft-typography-body1-font-weight","",pr.fontWeight,"normal"),Br=Oo.extend("--ft-typography-body1-letter-spacing","",pr.letterSpacing,"0.496px"),Ar=Oo.extend("--ft-typography-body1-line-height","",pr.lineHeight,"1.5"),Mr=Oo.extend("--ft-typography-body1-text-transform","",pr.textTransform,"inherit"),Dr=Oo.extend("--ft-typography-body2-font-family","",cr),Pr=Oo.extend("--ft-typography-body2-font-size","",pr.fontSize,"14px"),Hr=Oo.extend("--ft-typography-body2-font-weight","",pr.fontWeight,"normal"),Tr=Oo.extend("--ft-typography-body2-letter-spacing","",pr.letterSpacing,"0.252px"),jr=Oo.extend("--ft-typography-body2-line-height","",pr.lineHeight,"1.4"),_r=Oo.extend("--ft-typography-body2-text-transform","",pr.textTransform,"inherit"),Gr=Oo.extend("--ft-typography-caption-font-family","",cr),Yr=Oo.extend("--ft-typography-caption-font-size","",pr.fontSize,"12px"),Vr=Oo.extend("--ft-typography-caption-font-weight","",pr.fontWeight,"normal"),Jr=Oo.extend("--ft-typography-caption-letter-spacing","",pr.letterSpacing,"0.396px"),qr=Oo.extend("--ft-typography-caption-line-height","",pr.lineHeight,"1.33"),Xr=Oo.extend("--ft-typography-caption-text-transform","",pr.textTransform,"inherit"),Qr=Oo.extend("--ft-typography-breadcrumb-font-family","",cr),ti=Oo.extend("--ft-typography-breadcrumb-font-size","",pr.fontSize,"10px"),oi=Oo.extend("--ft-typography-breadcrumb-font-weight","",pr.fontWeight,"normal"),ei=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",pr.letterSpacing,"0.33px"),ri=Oo.extend("--ft-typography-breadcrumb-line-height","",pr.lineHeight,"1.6"),ii=Oo.extend("--ft-typography-breadcrumb-text-transform","",pr.textTransform,"inherit"),ni=Oo.extend("--ft-typography-overline-font-family","",cr),ai=Oo.extend("--ft-typography-overline-font-size","",pr.fontSize,"10px"),si=Oo.extend("--ft-typography-overline-font-weight","",pr.fontWeight,"normal"),li=Oo.extend("--ft-typography-overline-letter-spacing","",pr.letterSpacing,"1.5px"),ci=Oo.extend("--ft-typography-overline-line-height","",pr.lineHeight,"1.6"),pi=Oo.extend("--ft-typography-overline-text-transform","",pr.textTransform,"uppercase"),fi={fontFamily:Oo.extend("--ft-typography-button-font-family","",cr),fontSize:Oo.extend("--ft-typography-button-font-size","",pr.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",pr.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",pr.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",pr.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",pr.textTransform,"uppercase")},hi=mt`
|
|
239
240
|
.ft-typography--title {
|
|
240
|
-
font-family: ${
|
|
241
|
-
font-size: ${
|
|
242
|
-
font-weight: ${
|
|
243
|
-
letter-spacing: ${
|
|
244
|
-
line-height: ${
|
|
245
|
-
text-transform: ${
|
|
246
|
-
}
|
|
247
|
-
`,
|
|
241
|
+
font-family: ${fr};
|
|
242
|
+
font-size: ${hr};
|
|
243
|
+
font-weight: ${dr};
|
|
244
|
+
letter-spacing: ${ur};
|
|
245
|
+
line-height: ${yr};
|
|
246
|
+
text-transform: ${gr};
|
|
247
|
+
}
|
|
248
|
+
`,di=mt`
|
|
248
249
|
.ft-typography--title-dense {
|
|
249
|
-
font-family: ${
|
|
250
|
-
font-size: ${
|
|
251
|
-
font-weight: ${
|
|
252
|
-
letter-spacing: ${
|
|
253
|
-
line-height: ${
|
|
254
|
-
text-transform: ${
|
|
255
|
-
}
|
|
256
|
-
`,
|
|
250
|
+
font-family: ${br};
|
|
251
|
+
font-size: ${mr};
|
|
252
|
+
font-weight: ${xr};
|
|
253
|
+
letter-spacing: ${Or};
|
|
254
|
+
line-height: ${vr};
|
|
255
|
+
text-transform: ${Sr};
|
|
256
|
+
}
|
|
257
|
+
`,ui=mt`
|
|
257
258
|
.ft-typography--subtitle1 {
|
|
258
|
-
font-family: ${
|
|
259
|
-
font-size: ${
|
|
260
|
-
font-weight: ${
|
|
261
|
-
letter-spacing: ${
|
|
262
|
-
line-height: ${
|
|
263
|
-
text-transform: ${
|
|
264
|
-
}
|
|
265
|
-
`,
|
|
259
|
+
font-family: ${Nr};
|
|
260
|
+
font-size: ${wr};
|
|
261
|
+
font-weight: ${Cr};
|
|
262
|
+
letter-spacing: ${$r};
|
|
263
|
+
line-height: ${Rr};
|
|
264
|
+
text-transform: ${Er};
|
|
265
|
+
}
|
|
266
|
+
`,yi=mt`
|
|
266
267
|
.ft-typography--subtitle2 {
|
|
267
|
-
font-family: ${
|
|
268
|
-
font-size: ${
|
|
269
|
-
font-weight: ${
|
|
270
|
-
letter-spacing: ${
|
|
271
|
-
line-height: ${
|
|
272
|
-
text-transform: ${
|
|
268
|
+
font-family: ${Ur};
|
|
269
|
+
font-size: ${kr};
|
|
270
|
+
font-weight: ${Ir};
|
|
271
|
+
letter-spacing: ${Lr};
|
|
272
|
+
line-height: ${Wr};
|
|
273
|
+
text-transform: ${zr};
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
`,
|
|
276
|
+
`,gi=mt`
|
|
276
277
|
.ft-typography--body1 {
|
|
277
|
-
font-family: ${
|
|
278
|
-
font-size: ${
|
|
279
|
-
font-weight: ${
|
|
280
|
-
letter-spacing: ${
|
|
281
|
-
line-height: ${
|
|
282
|
-
text-transform: ${
|
|
283
|
-
}
|
|
284
|
-
`,
|
|
278
|
+
font-family: ${Fr};
|
|
279
|
+
font-size: ${Kr};
|
|
280
|
+
font-weight: ${Zr};
|
|
281
|
+
letter-spacing: ${Br};
|
|
282
|
+
line-height: ${Ar};
|
|
283
|
+
text-transform: ${Mr};
|
|
284
|
+
}
|
|
285
|
+
`,bi=mt`
|
|
285
286
|
.ft-typography--body2 {
|
|
286
|
-
font-family: ${
|
|
287
|
-
font-size: ${
|
|
288
|
-
font-weight: ${
|
|
289
|
-
letter-spacing: ${
|
|
290
|
-
line-height: ${
|
|
291
|
-
text-transform: ${
|
|
292
|
-
}
|
|
293
|
-
`,
|
|
287
|
+
font-family: ${Dr};
|
|
288
|
+
font-size: ${Pr};
|
|
289
|
+
font-weight: ${Hr};
|
|
290
|
+
letter-spacing: ${Tr};
|
|
291
|
+
line-height: ${jr};
|
|
292
|
+
text-transform: ${_r};
|
|
293
|
+
}
|
|
294
|
+
`,mi=mt`
|
|
294
295
|
.ft-typography--caption {
|
|
295
|
-
font-family: ${
|
|
296
|
-
font-size: ${
|
|
297
|
-
font-weight: ${
|
|
298
|
-
letter-spacing: ${
|
|
299
|
-
line-height: ${
|
|
300
|
-
text-transform: ${
|
|
301
|
-
}
|
|
302
|
-
`,
|
|
296
|
+
font-family: ${Gr};
|
|
297
|
+
font-size: ${Yr};
|
|
298
|
+
font-weight: ${Vr};
|
|
299
|
+
letter-spacing: ${Jr};
|
|
300
|
+
line-height: ${qr};
|
|
301
|
+
text-transform: ${Xr};
|
|
302
|
+
}
|
|
303
|
+
`,xi=mt`
|
|
303
304
|
.ft-typography--breadcrumb {
|
|
304
|
-
font-family: ${
|
|
305
|
-
font-size: ${
|
|
306
|
-
font-weight: ${
|
|
307
|
-
letter-spacing: ${
|
|
308
|
-
line-height: ${
|
|
309
|
-
text-transform: ${
|
|
310
|
-
}
|
|
311
|
-
`,
|
|
305
|
+
font-family: ${Qr};
|
|
306
|
+
font-size: ${ti};
|
|
307
|
+
font-weight: ${oi};
|
|
308
|
+
letter-spacing: ${ei};
|
|
309
|
+
line-height: ${ri};
|
|
310
|
+
text-transform: ${ii};
|
|
311
|
+
}
|
|
312
|
+
`,Oi=mt`
|
|
312
313
|
.ft-typography--overline {
|
|
313
|
-
font-family: ${
|
|
314
|
-
font-size: ${
|
|
315
|
-
font-weight: ${
|
|
316
|
-
letter-spacing: ${
|
|
317
|
-
line-height: ${
|
|
318
|
-
text-transform: ${
|
|
319
|
-
}
|
|
320
|
-
`,
|
|
314
|
+
font-family: ${ni};
|
|
315
|
+
font-size: ${ai};
|
|
316
|
+
font-weight: ${si};
|
|
317
|
+
letter-spacing: ${li};
|
|
318
|
+
line-height: ${ci};
|
|
319
|
+
text-transform: ${pi};
|
|
320
|
+
}
|
|
321
|
+
`,vi=mt`
|
|
321
322
|
.ft-typography--button {
|
|
322
|
-
font-family: ${
|
|
323
|
-
font-size: ${
|
|
324
|
-
font-weight: ${
|
|
325
|
-
letter-spacing: ${
|
|
326
|
-
line-height: ${
|
|
327
|
-
text-transform: ${
|
|
328
|
-
}
|
|
329
|
-
`,
|
|
323
|
+
font-family: ${fi.fontFamily};
|
|
324
|
+
font-size: ${fi.fontSize};
|
|
325
|
+
font-weight: ${fi.fontWeight};
|
|
326
|
+
letter-spacing: ${fi.letterSpacing};
|
|
327
|
+
line-height: ${fi.lineHeight};
|
|
328
|
+
text-transform: ${fi.textTransform};
|
|
329
|
+
}
|
|
330
|
+
`,Si=mt`
|
|
330
331
|
.ft-typography {
|
|
331
332
|
vertical-align: inherit;
|
|
332
333
|
}
|
|
333
|
-
`,
|
|
334
|
+
`,Ni=[Object.keys(No).map((t=>function(t){const o=No[t];return mt`
|
|
334
335
|
.ft-typography--${bt(t)} {
|
|
335
336
|
font-family: ${o.fontFamily};
|
|
336
337
|
font-size: ${o.fontSize};
|
|
@@ -339,7 +340,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
339
340
|
line-height: ${o.lineHeight};
|
|
340
341
|
text-transform: ${o.textCase};
|
|
341
342
|
}
|
|
342
|
-
`}(t)))],
|
|
343
|
+
`}(t)))],wi={color:Oo.extend("--ft-loader-color","",$o.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Ci=mt`
|
|
343
344
|
:host {
|
|
344
345
|
line-height: 0;
|
|
345
346
|
}
|
|
@@ -348,8 +349,8 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
348
349
|
display: inline-block;
|
|
349
350
|
position: relative;
|
|
350
351
|
|
|
351
|
-
width: ${
|
|
352
|
-
height: ${
|
|
352
|
+
width: ${wi.size};
|
|
353
|
+
height: ${wi.size};
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
.ft-loader div {
|
|
@@ -358,7 +359,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
358
359
|
width: 25%;
|
|
359
360
|
height: 25%;
|
|
360
361
|
border-radius: 50%;
|
|
361
|
-
background: ${
|
|
362
|
+
background: ${wi.color};
|
|
362
363
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
363
364
|
}
|
|
364
365
|
|
|
@@ -405,10 +406,10 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
405
406
|
transform: translate(0, 0);
|
|
406
407
|
}
|
|
407
408
|
100% {
|
|
408
|
-
transform: translate(calc(0.35 * ${
|
|
409
|
+
transform: translate(calc(0.35 * ${wi.size}), 0);
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
|
-
|
|
412
|
+
`,$i={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ri=mt`
|
|
412
413
|
:host, i.ft-icon {
|
|
413
414
|
display: inline-flex;
|
|
414
415
|
align-items: center;
|
|
@@ -417,14 +418,14 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
417
418
|
}
|
|
418
419
|
|
|
419
420
|
:host {
|
|
420
|
-
width: ${
|
|
421
|
-
height: ${
|
|
421
|
+
width: ${$i.size};
|
|
422
|
+
height: ${$i.size};
|
|
422
423
|
}
|
|
423
424
|
|
|
424
425
|
i.ft-icon {
|
|
425
426
|
width: 100%;
|
|
426
427
|
height: 100%;
|
|
427
|
-
font-size: ${
|
|
428
|
+
font-size: ${$i.size};
|
|
428
429
|
line-height: 1;
|
|
429
430
|
font-weight: normal;
|
|
430
431
|
text-transform: none;
|
|
@@ -435,28 +436,28 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
435
436
|
text-rendering: auto;
|
|
436
437
|
-webkit-font-smoothing: antialiased;
|
|
437
438
|
-moz-osx-font-smoothing: grayscale;
|
|
438
|
-
vertical-align: ${
|
|
439
|
+
vertical-align: ${$i.verticalAlign};
|
|
439
440
|
}
|
|
440
441
|
|
|
441
442
|
i.ft-icon.ft-icon--fluid-topics {
|
|
442
|
-
font-family: ${
|
|
443
|
+
font-family: ${$i.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
443
444
|
|
|
444
445
|
/* Ugly fix because font is broken */
|
|
445
|
-
font-size: calc(0.75 * ${
|
|
446
|
-
line-height: ${
|
|
446
|
+
font-size: calc(0.75 * ${$i.size});
|
|
447
|
+
line-height: ${$i.size};
|
|
447
448
|
position: relative;
|
|
448
449
|
top: -4%;
|
|
449
450
|
justify-content: center;
|
|
450
451
|
}
|
|
451
452
|
|
|
452
453
|
.ft-icon--file-format {
|
|
453
|
-
font-family: ${
|
|
454
|
+
font-family: ${$i.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
454
455
|
}
|
|
455
456
|
|
|
456
457
|
.ft-icon--material {
|
|
457
|
-
font-family: ${
|
|
458
|
+
font-family: ${$i.materialFontFamily}, "Material Icons", sans-serif;
|
|
458
459
|
}
|
|
459
|
-
`,
|
|
460
|
+
`,Ei=Oo.extend("--ft-button-color","",$o.colorPrimary),Ui={backgroundColor:Oo.extend("--ft-button-background-color","",$o.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",$o.borderRadiusL),color:Ei,fontSize:Oo.extend("--ft-button-font-size","",fi.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Ei),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external($o.colorOpacityDisabled,"Design system")},ki=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",$o.colorOnPrimary)),Ii={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",$o.colorPrimary)),color:ki,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",ki)},Li=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",$o.borderRadiusM)),Wi=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),zi=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Fi=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ki=[mt`
|
|
460
461
|
:host {
|
|
461
462
|
display: inline-block;
|
|
462
463
|
max-width: 100%;
|
|
@@ -467,7 +468,7 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
467
468
|
box-shadow: 0px 0px 0px transparent;
|
|
468
469
|
border: 0px solid transparent;
|
|
469
470
|
text-shadow: 0px 0px 0px transparent;
|
|
470
|
-
font-size: ${
|
|
471
|
+
font-size: ${Ui.fontSize};
|
|
471
472
|
}
|
|
472
473
|
|
|
473
474
|
button:hover {
|
|
@@ -496,31 +497,31 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
496
497
|
border: none;
|
|
497
498
|
pointer-events: auto;
|
|
498
499
|
|
|
499
|
-
--ft-button-internal-line-height: max(calc(${
|
|
500
|
-
--ft-button-internal-color: ${
|
|
501
|
-
${vo(
|
|
502
|
-
${vo(
|
|
500
|
+
--ft-button-internal-line-height: max(calc(${Ui.fontSize} + 2px), ${Ui.iconSize});
|
|
501
|
+
--ft-button-internal-color: ${Ui.color};
|
|
502
|
+
${vo($i.size,Ui.iconSize)};
|
|
503
|
+
${vo(tr.color,Ui.rippleColor)};
|
|
503
504
|
|
|
504
|
-
border-radius: ${
|
|
505
|
-
padding: ${
|
|
506
|
-
background-color: ${
|
|
505
|
+
border-radius: ${Ui.borderRadius};
|
|
506
|
+
padding: ${Ui.verticalPadding} ${Ui.horizontalPadding};
|
|
507
|
+
background-color: ${Ui.backgroundColor};
|
|
507
508
|
color: var(--ft-button-internal-color);
|
|
508
509
|
-webkit-mask-image: radial-gradient(white, black);
|
|
509
510
|
}
|
|
510
511
|
|
|
511
512
|
.ft-button.ft-button--outlined {
|
|
512
513
|
border: 1px solid var(--ft-button-internal-color);
|
|
513
|
-
padding: calc(${
|
|
514
|
+
padding: calc(${Ui.verticalPadding} - 1px) calc(${Ui.horizontalPadding} - 1px);
|
|
514
515
|
}
|
|
515
516
|
|
|
516
517
|
.ft-button.ft-button--dense {
|
|
517
|
-
padding: ${
|
|
518
|
-
border-radius: ${
|
|
519
|
-
gap: ${
|
|
518
|
+
padding: ${Wi} ${zi};
|
|
519
|
+
border-radius: ${Li};
|
|
520
|
+
gap: ${Fi};
|
|
520
521
|
}
|
|
521
522
|
|
|
522
523
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
523
|
-
padding: calc(${
|
|
524
|
+
padding: calc(${Wi} - 1px) calc(${zi} - 1px);
|
|
524
525
|
}
|
|
525
526
|
|
|
526
527
|
.ft-button:not([disabled]):hover {
|
|
@@ -528,22 +529,22 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
528
529
|
}
|
|
529
530
|
|
|
530
531
|
.ft-button--round {
|
|
531
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
532
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ui.verticalPadding});
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
.ft-button--round.ft-button--dense {
|
|
535
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
536
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wi});
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
.ft-button[disabled] {
|
|
539
540
|
filter: grayscale(1);
|
|
540
|
-
opacity: ${
|
|
541
|
+
opacity: ${Ui.opacityDisabled};
|
|
541
542
|
}
|
|
542
543
|
|
|
543
544
|
.ft-button.ft-button--primary {
|
|
544
|
-
background-color: ${
|
|
545
|
-
--ft-button-internal-color: ${
|
|
546
|
-
${vo(
|
|
545
|
+
background-color: ${Ii.backgroundColor};
|
|
546
|
+
--ft-button-internal-color: ${Ii.color};
|
|
547
|
+
${vo(tr.color,Ii.rippleColor)};
|
|
547
548
|
}
|
|
548
549
|
|
|
549
550
|
.ft-button:focus {
|
|
@@ -556,13 +557,13 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
556
557
|
white-space: nowrap;
|
|
557
558
|
text-overflow: ellipsis;
|
|
558
559
|
display: block;
|
|
559
|
-
margin: 0 ${
|
|
560
|
-
${vo(
|
|
561
|
-
${vo(
|
|
560
|
+
margin: 0 ${Ui.iconPadding};
|
|
561
|
+
${vo(fi.fontSize,"1em")};
|
|
562
|
+
${vo(fi.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
562
563
|
}
|
|
563
564
|
|
|
564
565
|
.ft-button--dense .ft-button--label {
|
|
565
|
-
margin: 0 ${
|
|
566
|
+
margin: 0 ${Fi};
|
|
566
567
|
}
|
|
567
568
|
|
|
568
569
|
.ft-button--label[hidden] {
|
|
@@ -575,13 +576,13 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
575
576
|
}
|
|
576
577
|
|
|
577
578
|
.ft-button--label[hidden] + ft-icon {
|
|
578
|
-
margin: 0 calc(${
|
|
579
|
-
padding: 0 ${
|
|
579
|
+
margin: 0 calc(${Ui.horizontalPadding} * -1);
|
|
580
|
+
padding: 0 ${Ui.verticalPadding};
|
|
580
581
|
}
|
|
581
582
|
|
|
582
583
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
583
|
-
margin: 0 calc(${
|
|
584
|
-
padding: 0 ${
|
|
584
|
+
margin: 0 calc(${zi} * -1);
|
|
585
|
+
padding: 0 ${Wi};
|
|
585
586
|
}
|
|
586
587
|
|
|
587
588
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -590,39 +591,39 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
590
591
|
}
|
|
591
592
|
|
|
592
593
|
ft-loader {
|
|
593
|
-
${vo(
|
|
594
|
-
${vo(
|
|
594
|
+
${vo(wi.size,Ui.iconSize)};
|
|
595
|
+
${vo(wi.color,"var(--ft-button-internal-color)")};
|
|
595
596
|
}
|
|
596
|
-
`,
|
|
597
|
+
`,Be],Zi=1,Bi=2,Ai=t=>(...o)=>({_$litDirective$:t,values:o});let Mi=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
597
598
|
/**
|
|
598
599
|
* @license
|
|
599
600
|
* Copyright 2018 Google LLC
|
|
600
601
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
601
|
-
*/const
|
|
602
|
+
*/const Di=Ai(class extends Mi{constructor(t){if(super(t),t.type!==Zi||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}});var Pi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hi extends Ke{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
|
|
602
603
|
<style>
|
|
603
604
|
.ft-ripple .ft-ripple--effect {
|
|
604
605
|
left: ${this.originX}px;
|
|
605
606
|
top: ${this.originY}px;
|
|
606
607
|
}
|
|
607
608
|
</style>
|
|
608
|
-
<div class="${
|
|
609
|
+
<div class="${Di(t)}">
|
|
609
610
|
<div class="ft-ripple--background"></div>
|
|
610
611
|
<div class="ft-ripple--effect"></div>
|
|
611
612
|
</div>
|
|
612
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
613
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Hi.elementDefinitions={},Hi.styles=sr,Pi([C({type:Boolean})],Hi.prototype,"primary",void 0),Pi([C({type:Boolean})],Hi.prototype,"secondary",void 0),Pi([C({type:Boolean})],Hi.prototype,"unbounded",void 0),Pi([C({type:Boolean})],Hi.prototype,"activated",void 0),Pi([C({type:Boolean})],Hi.prototype,"selected",void 0),Pi([C({type:Boolean})],Hi.prototype,"disabled",void 0),Pi([$()],Hi.prototype,"hovered",void 0),Pi([$()],Hi.prototype,"focused",void 0),Pi([$()],Hi.prototype,"pressed",void 0),Pi([$()],Hi.prototype,"rippling",void 0),Pi([$()],Hi.prototype,"originX",void 0),Pi([$()],Hi.prototype,"originY",void 0),Pi([U(".ft-ripple")],Hi.prototype,"ripple",void 0),Pi([U(".ft-ripple--effect")],Hi.prototype,"rippleEffect",void 0),I("ft-ripple")(Hi);
|
|
613
614
|
/**
|
|
614
615
|
* @license
|
|
615
616
|
* Copyright 2020 Google LLC
|
|
616
617
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
617
618
|
*/
|
|
618
|
-
const
|
|
619
|
-
<${
|
|
619
|
+
const Ti=Symbol.for(""),ji=t=>{if(t?.r===Ti)return t?._$litStatic$},_i=t=>({_$litStatic$:t,r:Ti}),Gi=new Map,Yi=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=ji(n));)l+=i+o[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Gi.get(t))&&(a.raw=a,Gi.set(t,o=a)),e=s}return t(o,...e)})(q);var Vi;!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"}(Vi||(Vi={}));var Ji=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qi extends Ke{constructor(){super(...arguments),this.variant=Vi.body1}render(){return this.element?Yi`
|
|
620
|
+
<${_i(this.element)}
|
|
620
621
|
class="ft-typography ft-typography--${this.variant}">
|
|
621
622
|
<slot></slot>
|
|
622
|
-
</${
|
|
623
|
-
`:
|
|
623
|
+
</${_i(this.element)}>
|
|
624
|
+
`:Yi`
|
|
624
625
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
625
|
-
`}}
|
|
626
|
+
`}}qi.styles=[hi,di,ui,yi,gi,bi,mi,xi,Oi,vi,Si,...Ni],Ji([C()],qi.prototype,"element",void 0),Ji([C()],qi.prototype,"variant",void 0),I("ft-typography")(qi);const Xi=Oo.create("--ft-tooltip-distance","","SIZE","4px"),Qi=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),tn=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),on=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),en=Oo.external($o.borderRadiusS,"Design system"),rn=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),nn=mt`
|
|
626
627
|
.ft-tooltip--container {
|
|
627
628
|
display: block;
|
|
628
629
|
}
|
|
@@ -637,21 +638,21 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
|
|
|
637
638
|
box-sizing: border-box;
|
|
638
639
|
overflow: hidden;
|
|
639
640
|
width: max-content;
|
|
640
|
-
max-width: ${
|
|
641
|
+
max-width: ${rn};
|
|
641
642
|
text-align: center;
|
|
642
|
-
padding: ${
|
|
643
|
-
z-index: ${
|
|
643
|
+
padding: ${Xi};
|
|
644
|
+
z-index: ${on};
|
|
644
645
|
}
|
|
645
646
|
|
|
646
647
|
.ft-tooltip--content {
|
|
647
648
|
padding: 4px 8px;
|
|
648
|
-
border-radius: ${
|
|
649
|
-
background-color: ${
|
|
650
|
-
color: ${
|
|
649
|
+
border-radius: ${en};
|
|
650
|
+
background-color: ${tn};
|
|
651
|
+
color: ${Qi};
|
|
651
652
|
position: relative;
|
|
652
653
|
word-break: break-word;
|
|
653
654
|
}
|
|
654
|
-
`,ii=["start","end"],ni=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ii[0],o+"-"+ii[1])),[]),ai=Math.min,si=Math.max,li=Math.round,ci=t=>({x:t,y:t}),pi={left:"right",right:"left",bottom:"top",top:"bottom"},fi={start:"end",end:"start"};function hi(t,o,e){return si(t,ai(o,e))}function di(t,o){return"function"==typeof t?t(o):t}function ui(t){return t.split("-")[0]}function yi(t){return t.split("-")[1]}function gi(t){return"x"===t?"y":"x"}function bi(t){return"y"===t?"height":"width"}function mi(t){return["top","bottom"].includes(ui(t))?"y":"x"}function xi(t){return gi(mi(t))}function Oi(t){return t.replace(/left|right|bottom|top/g,(t=>pi[t]))}function vi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Si(t,o,e){let{reference:r,floating:i}=t;const n=mi(o),a=xi(o),s=bi(a),l=ui(o),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(yi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ni(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=di(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=vi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=vi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function wi(t,o,e){return(t?[...e.filter((o=>yi(o)===t)),...e.filter((o=>yi(o)!==t))]:e.filter((t=>ui(t)===t))).filter((e=>!t||(yi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>fi[t]))}(e)!==e)))}const Ci=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=ni,autoAlignment:d=!0,...u}=di(t,o),y=void 0!==f||h===ni?wi(f||null,d,h):h,g=await Ni(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=yi(t),i=xi(t),n=bi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Oi(a)),[a,Oi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[ui(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:v},reset:{placement:S}};const N=v.map((t=>{const o=yi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,yi(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function $i(t){return Ui(t)?(t.nodeName||"").toLowerCase():"#document"}function Ri(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ei(t){var o;return null==(o=(Ui(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ui(t){return t instanceof Node||t instanceof Ri(t).Node}function ki(t){return t instanceof Element||t instanceof Ri(t).Element}function Ii(t){return t instanceof HTMLElement||t instanceof Ri(t).HTMLElement}function Li(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ri(t).ShadowRoot)}function Wi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Bi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function zi(t){return["table","td","th"].includes($i(t))}function Fi(t){const o=Ki(),e=Bi(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 Ki(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zi(t){return["html","body","#document"].includes($i(t))}function Bi(t){return Ri(t).getComputedStyle(t)}function Ai(t){return ki(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mi(t){if("html"===$i(t))return t;const o=t.assignedSlot||t.parentNode||Li(t)&&t.host||Ei(t);return Li(o)?o.host:o}function Di(t){const o=Mi(t);return Zi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ii(o)&&Wi(o)?o:Di(o)}function Pi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Di(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Ri(i);return n?o.concat(a,a.visualViewport||[],Wi(i)?i:[],a.frameElement&&e?Pi(a.frameElement):[]):o.concat(i,Pi(i,[],e))}function Hi(t){const o=Bi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ii(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=li(e)!==n||li(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function Ti(t){return ki(t)?t:t.contextElement}function ji(t){const o=Ti(t);if(!Ii(o))return ci(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Hi(o);let a=(n?li(e.width):e.width)/r,s=(n?li(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const _i=ci(0);function Gi(t){const o=Ri(t);return Ki()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:_i}function Yi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ti(t);let a=ci(1);o&&(r?ki(r)&&(a=ji(r)):a=ji(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ri(t))&&o}(n,e,r)?Gi(n):ci(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=Ri(n),o=r&&ki(r)?Ri(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ji(e),o=e.getBoundingClientRect(),r=Bi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Ri(e).frameElement}}return vi({width:p,height:f,x:l,y:c})}function Vi(t){return Yi(Ei(t)).left+Ai(t).scrollLeft}function Ji(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Ri(t),r=Ei(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ki();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Ei(t),e=Ai(t),r=t.ownerDocument.body,i=si(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=si(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Vi(t);const s=-e.scrollTop;return"rtl"===Bi(r).direction&&(a+=si(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Ei(t));else if(ki(o))r=function(t,o){const e=Yi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ii(t)?ji(t):ci(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=Gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return vi(r)}function qi(t,o){const e=Mi(t);return!(e===o||!ki(e)||Zi(e))&&("fixed"===Bi(e).position||qi(e,o))}function Xi(t,o,e){const r=Ii(o),i=Ei(o),n="fixed"===e,a=Yi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=ci(0);if(r||!r&&!n)if(("body"!==$i(o)||Wi(i))&&(s=Ai(o)),r){const t=Yi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Vi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Qi(t,o){return Ii(t)&&"fixed"!==Bi(t).position?o?o(t):t.offsetParent:null}function tn(t,o){const e=Ri(t);if(!Ii(t))return e;let r=Qi(t,o);for(;r&&zi(r)&&"static"===Bi(r).position;)r=Qi(r,o);return r&&("html"===$i(r)||"body"===$i(r)&&"static"===Bi(r).position&&!Fi(r))?e:r||function(t){let o=Mi(t);for(;Ii(o)&&!Zi(o);){if(Fi(o))return o;o=Mi(o)}return null}(t)||e}const on={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ii(e),n=Ei(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=ci(1);const l=ci(0);if((i||!i&&"fixed"!==r)&&(("body"!==$i(e)||Wi(n))&&(a=Ai(e)),Ii(e))){const t=Yi(e);s=ji(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ei,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Pi(t,[],!1).filter((t=>ki(t)&&"body"!==$i(t))),i=null;const n="fixed"===Bi(t).position;let a=n?Mi(t):t;for(;ki(a)&&!Zi(a);){const o=Bi(a),e=Fi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Wi(a)&&!e&&qi(t,a))?r=r.filter((t=>t!==a)):i=o,a=Mi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=Ji(o,e,i);return t.top=si(r.top,t.top),t.right=ai(r.right,t.right),t.bottom=ai(r.bottom,t.bottom),t.left=si(r.left,t.left),t}),Ji(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||tn,n=this.getDimensions;return{reference:Xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Hi(t)},getScale:ji,isElement:ki,isRTL:function(t){return"rtl"===Bi(t).direction}},en=(t,o,e)=>{const r=new Map,i={platform:on,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Si(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Si(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function rn(t){return function(t){for(let o=t;o;o=nn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=nn(t);o;o=nn(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 nn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Fo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
655
|
+
`;var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Ke{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
655
656
|
<div part="container"
|
|
656
657
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
657
658
|
@mouseenter=${this.onHover}
|
|
@@ -669,34 +670,34 @@ const Hr=Symbol.for(""),Tr=t=>{if(t?.r===Hr)return t?._$litStatic$},jr=t=>({_$li
|
|
|
669
670
|
</div>
|
|
670
671
|
</div>
|
|
671
672
|
</div>
|
|
672
|
-
`}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(){
|
|
673
|
+
`}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 Ce(t,o,{platform:{...we,getOffsetParent:t=>we.getOffsetParent(t,$e)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Ko(r,t),c={x:o,y:e},p=await _o(t,l),f=Do(Zo(i)),h=Ao(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Fo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Fo(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Yo({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}sn.elementDefinitions={"ft-typography":qi},sn.styles=nn,an([C()],sn.prototype,"text",void 0),an([C({type:Boolean})],sn.prototype,"manual",void 0),an([C({type:Boolean})],sn.prototype,"inline",void 0),an([C({type:Number})],sn.prototype,"delay",void 0),an([C()],sn.prototype,"position",void 0),an([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],sn.prototype,"slotNodes",void 0),an([U(".ft-tooltip--container")],sn.prototype,"container",void 0),an([U(".ft-tooltip")],sn.prototype,"tooltip",void 0),an([U(".ft-tooltip--content")],sn.prototype,"tooltipContent",void 0),an([$()],sn.prototype,"visible",void 0),an([R({passive:!0})],sn.prototype,"onTouch",null),an([R({passive:!0})],sn.prototype,"onHover",null),an([R({passive:!0})],sn.prototype,"onOut",null),an([R({passive:!0})],sn.prototype,"onClick",null),I("ft-tooltip")(sn);
|
|
673
674
|
/**
|
|
674
675
|
* @license
|
|
675
676
|
* Copyright 2017 Google LLC
|
|
676
677
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
677
678
|
*/
|
|
678
|
-
class ln extends
|
|
679
|
+
class ln extends Mi{constructor(t){if(super(t),this.et=Q,t.type!==Bi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}ln.directiveName="unsafeHTML",ln.resultType=1;const cn=Ai(ln);var pn,fn,hn;!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_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(pn||(pn={})),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=""}(fn||(fn={})),new Map([...["abw"].map((t=>[t,fn.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,fn.AUDIO])),...["avi"].map((t=>[t,fn.AVI])),...["chm","xhs"].map((t=>[t,fn.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,fn.CODE])),...["csv"].map((t=>[t,fn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fn.DITA])),...["epub"].map((t=>[t,fn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fn.EXCEL])),...["flac"].map((t=>[t,fn.FLAC])),...["gif"].map((t=>[t,fn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fn.GZIP])),...["html","htm","xhtml"].map((t=>[t,fn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,fn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fn.JPEG])),...["json"].map((t=>[t,fn.JSON])),...["m4a","m4p"].map((t=>[t,fn.M4A])),...["mov","qt"].map((t=>[t,fn.MOV])),...["mp3"].map((t=>[t,fn.MP3])),...["mp4","m4v"].map((t=>[t,fn.MP4])),...["ogg","oga"].map((t=>[t,fn.OGG])),...["pdf","ps"].map((t=>[t,fn.PDF])),...["png"].map((t=>[t,fn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fn.POWERPOINT])),...["rar"].map((t=>[t,fn.RAR])),...["stp"].map((t=>[t,fn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fn.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,fn.VIDEO])),...["wav"].map((t=>[t,fn.WAV])),...["wma"].map((t=>[t,fn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fn.WORD])),...["xml","xsl","rdf"].map((t=>[t,fn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fn.YAML])),...["zip"].map((t=>[t,fn.ZIP]))]),fn.ABW,fn.AUDIO,fn.AVI,fn.CHM,fn.CODE,fn.CSV,fn.DITA,fn.EPUB,fn.EXCEL,fn.FLAC,fn.GIF,fn.GZIP,fn.HTML,fn.IMAGE,fn.JPEG,fn.JSON,fn.M4A,fn.MOV,fn.MP3,fn.MP4,fn.OGG,fn.PDF,fn.PNG,fn.POWERPOINT,fn.RAR,fn.STP,fn.TEXT,fn.UNKNOWN,fn.VIDEO,fn.WAV,fn.WMA,fn.WORD,fn.XML,fn.YAML,fn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hn||(hn={}));var dn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class un extends Ke{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(hn).includes(this.variant)?this.variant:hn.fluid_topics,o=t!==hn.material||!!this.value;return to`
|
|
679
680
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
680
681
|
${cn(this.resolvedIcon)}
|
|
681
682
|
<slot ?hidden=${o}></slot>
|
|
682
683
|
</i>
|
|
683
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case hn.file_format:this.resolvedIcon=null!==(t=fn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case hn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=pn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}un.elementDefinitions={},un.styles
|
|
684
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case hn.file_format:this.resolvedIcon=null!==(t=fn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case hn.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=pn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}un.elementDefinitions={},un.styles=Ri,dn([C()],un.prototype,"variant",void 0),dn([C()],un.prototype,"value",void 0),dn([$()],un.prototype,"resolvedIcon",void 0),dn([U("slot")],un.prototype,"slottedContent",void 0),I("ft-icon")(un);class yn extends Ke{render(){return to`
|
|
684
685
|
<div class="ft-loader">
|
|
685
686
|
<div></div>
|
|
686
687
|
<div></div>
|
|
687
688
|
<div></div>
|
|
688
689
|
<div></div>
|
|
689
690
|
</div>
|
|
690
|
-
`}}yn.styles=
|
|
691
|
+
`}}yn.styles=Ci,I("ft-loader")(yn);var gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ye].form}constructor(...t){super(t),this[Ye]=this.attachInternals(),this[Ye].role=o}setFormValue(t){this[Ye].setFormValue(t)}}}(Ke,"button")){constructor(){super(...arguments),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.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
|
|
691
692
|
<button part="button"
|
|
692
|
-
class="${
|
|
693
|
+
class="${Di(this.buttonClasses)}"
|
|
693
694
|
aria-label="${this.getLabel()}"
|
|
694
695
|
?disabled=${this.isDisabled()}>
|
|
695
696
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
696
697
|
<ft-typography part="label"
|
|
697
698
|
variant=${this.typographyVariant}
|
|
698
699
|
element="span"
|
|
699
|
-
class="ft-button--label ${
|
|
700
|
+
class="ft-button--label ${Xe?"ft-safari-ellipsis-fix":""}"
|
|
700
701
|
?hidden=${!this.hasTextContent()}>
|
|
701
702
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
702
703
|
</ft-typography>
|
|
@@ -710,7 +711,7 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
710
711
|
</ft-tooltip>
|
|
711
712
|
`:t}resolveIcon(){return this.loading?to`
|
|
712
713
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?to`
|
|
713
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}bn.elementDefinitions={"ft-ripple":
|
|
714
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}bn.elementDefinitions={"ft-ripple":Hi,"ft-tooltip":sn,"ft-typography":qi,"ft-icon":un,"ft-loader":yn},gn([C({type:String,reflect:!0})],bn.prototype,"role",void 0),gn([C()],bn.prototype,"type",void 0),gn([C({type:Boolean})],bn.prototype,"disabled",void 0),gn([C()],bn.prototype,"label",void 0),gn([C()],bn.prototype,"icon",void 0),gn([C()],bn.prototype,"iconVariant",void 0),gn([C({type:Boolean})],bn.prototype,"trailingIcon",void 0),gn([C({type:Boolean})],bn.prototype,"loading",void 0),gn([C()],bn.prototype,"tooltipPosition",void 0),gn([C({type:Boolean})],bn.prototype,"hideTooltip",void 0),gn([C({type:Boolean})],bn.prototype,"forceTooltip",void 0),gn([U(".ft-button")],bn.prototype,"button",void 0),gn([U(".ft-button--label slot")],bn.prototype,"slottedContent",void 0);var mn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xn extends bn{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"}}xn.styles=[Ae,Ki],mn([C({type:Boolean})],xn.prototype,"primary",void 0),mn([C({type:Boolean})],xn.prototype,"outlined",void 0),mn([C({type:Boolean})],xn.prototype,"dense",void 0),mn([C({type:Boolean})],xn.prototype,"round",void 0);const On=[mt`
|
|
714
715
|
:host {
|
|
715
716
|
display: inline-block;
|
|
716
717
|
max-width: 100%;
|
|
@@ -789,13 +790,13 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
789
790
|
/** Primary styles **/
|
|
790
791
|
|
|
791
792
|
.ft-button--primary {
|
|
792
|
-
${vo(
|
|
793
|
+
${vo(wi.color,Co.primaryIconColor)};
|
|
793
794
|
|
|
794
|
-
${vo(
|
|
795
|
-
${vo(
|
|
796
|
-
${vo(
|
|
797
|
-
${vo(
|
|
798
|
-
${vo(
|
|
795
|
+
${vo(tr.color,Co.primaryStateLayerColor)};
|
|
796
|
+
${vo(tr.opacityContentOnSurfaceHover,Co.primaryStateLayerOpacityHover)};
|
|
797
|
+
${vo(tr.opacityContentOnSurfaceFocused,Co.primaryStateLayerOpacityFocus)};
|
|
798
|
+
${vo(tr.opacityContentOnSurfaceSelected,Co.primaryStateLayerOpacityActive)};
|
|
799
|
+
${vo(tr.opacityContentOnSurfacePressed,Co.primaryStateLayerOpacityActive)};
|
|
799
800
|
|
|
800
801
|
background-color: ${Co.primaryBackgroundColor};
|
|
801
802
|
color: ${Co.primaryColor};
|
|
@@ -813,13 +814,13 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
813
814
|
/** Secondary styles **/
|
|
814
815
|
|
|
815
816
|
.ft-button--secondary {
|
|
816
|
-
${vo(
|
|
817
|
+
${vo(wi.color,Co.secondaryIconColor)};
|
|
817
818
|
|
|
818
|
-
${vo(
|
|
819
|
-
${vo(
|
|
820
|
-
${vo(
|
|
821
|
-
${vo(
|
|
822
|
-
${vo(
|
|
819
|
+
${vo(tr.color,Co.secondaryStateLayerColor)};
|
|
820
|
+
${vo(tr.opacityContentOnSurfaceHover,Co.secondaryStateLayerOpacityHover)};
|
|
821
|
+
${vo(tr.opacityContentOnSurfaceFocused,Co.secondaryStateLayerOpacityFocus)};
|
|
822
|
+
${vo(tr.opacityContentOnSurfaceSelected,Co.secondaryStateLayerOpacityActive)};
|
|
823
|
+
${vo(tr.opacityContentOnSurfacePressed,Co.secondaryStateLayerOpacityActive)};
|
|
823
824
|
|
|
824
825
|
background-color: ${Co.secondaryBackgroundColor};
|
|
825
826
|
color: ${Co.secondaryColor};
|
|
@@ -838,13 +839,13 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
838
839
|
/** Tertiary styles **/
|
|
839
840
|
|
|
840
841
|
.ft-button--tertiary {
|
|
841
|
-
${vo(
|
|
842
|
+
${vo(wi.color,Co.tertiaryIconColor)};
|
|
842
843
|
|
|
843
|
-
${vo(
|
|
844
|
-
${vo(
|
|
845
|
-
${vo(
|
|
846
|
-
${vo(
|
|
847
|
-
${vo(
|
|
844
|
+
${vo(tr.color,Co.tertiaryStateLayerColor)};
|
|
845
|
+
${vo(tr.opacityContentOnSurfaceHover,Co.tertiaryStateLayerOpacityHover)};
|
|
846
|
+
${vo(tr.opacityContentOnSurfaceFocused,Co.tertiaryStateLayerOpacityFocus)};
|
|
847
|
+
${vo(tr.opacityContentOnSurfaceSelected,Co.tertiaryStateLayerOpacityActive)};
|
|
848
|
+
${vo(tr.opacityContentOnSurfacePressed,Co.tertiaryStateLayerOpacityActive)};
|
|
848
849
|
|
|
849
850
|
background-color: ${Co.tertiaryBackgroundColor};
|
|
850
851
|
color: ${Co.tertiaryColor};
|
|
@@ -862,13 +863,13 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
862
863
|
/** Neutral styles **/
|
|
863
864
|
|
|
864
865
|
.ft-button--neutral {
|
|
865
|
-
${vo(
|
|
866
|
+
${vo(wi.color,Co.neutralIconColor)};
|
|
866
867
|
|
|
867
|
-
${vo(
|
|
868
|
-
${vo(
|
|
869
|
-
${vo(
|
|
870
|
-
${vo(
|
|
871
|
-
${vo(
|
|
868
|
+
${vo(tr.backgroundColor,Co.neutralStateLayerColor)};
|
|
869
|
+
${vo(tr.opacityContentOnSurfaceHover,Co.neutralStateLayerOpacityHover)};
|
|
870
|
+
${vo(tr.opacityContentOnSurfaceFocused,Co.neutralStateLayerOpacityFocus)};
|
|
871
|
+
${vo(tr.opacityContentOnSurfaceSelected,Co.neutralStateLayerOpacityActive)};
|
|
872
|
+
${vo(tr.opacityContentOnSurfacePressed,Co.neutralStateLayerOpacityActive)};
|
|
872
873
|
|
|
873
874
|
background-color: ${Co.neutralBackgroundColor};
|
|
874
875
|
color: ${Co.neutralColor};
|
|
@@ -886,8 +887,8 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
886
887
|
/** Large styles **/
|
|
887
888
|
|
|
888
889
|
.ft-button--large {
|
|
889
|
-
${vo(
|
|
890
|
-
${vo(
|
|
890
|
+
${vo($i.size,Co.largeIconSize)};
|
|
891
|
+
${vo(wi.size,Co.largeIconSize)};
|
|
891
892
|
|
|
892
893
|
height: ${Co.largeHeight};
|
|
893
894
|
padding: 0 ${Co.largeHorizontalPadding};
|
|
@@ -909,8 +910,8 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
909
910
|
/** Small styles **/
|
|
910
911
|
|
|
911
912
|
.ft-button--small {
|
|
912
|
-
${vo(
|
|
913
|
-
${vo(
|
|
913
|
+
${vo($i.size,Co.smallIconSize)};
|
|
914
|
+
${vo(wi.size,Co.smallIconSize)};
|
|
914
915
|
|
|
915
916
|
height: ${Co.smallHeight};
|
|
916
917
|
padding: 0 ${Co.smallHorizontalPadding};
|
|
@@ -928,7 +929,7 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
928
929
|
width: ${Co.smallIconOnlyWidth};
|
|
929
930
|
padding: unset;
|
|
930
931
|
}
|
|
931
|
-
`,
|
|
932
|
+
`,Be];var vn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends bn{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?Vi.caption1medium:Vi.body2medium}}Sn.styles=[Ae,On],vn([C({type:Boolean})],Sn.prototype,"primary",void 0),vn([C({type:Boolean})],Sn.prototype,"secondary",void 0),vn([C({type:Boolean})],Sn.prototype,"tertiary",void 0),vn([C({type:Boolean})],Sn.prototype,"neutral",void 0),vn([C({type:Boolean})],Sn.prototype,"small",void 0),I("ft-button")(xn),I("ftds-button")(Sn);const Nn={buttonsColor:Oo.extend("--ft-snap-scroll-buttons-color","",$o.colorPrimary),buttonsZIndex:Oo.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Oo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Oo.external($o.colorSurface,"Design system")},wn=mt`
|
|
932
933
|
.ft-snap-scroll {
|
|
933
934
|
box-sizing: border-box;
|
|
934
935
|
position: relative;
|
|
@@ -1009,8 +1010,8 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
1009
1010
|
z-index: ${Nn.buttonsZIndex};
|
|
1010
1011
|
opacity: 1;
|
|
1011
1012
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1012
|
-
${vo(
|
|
1013
|
-
${vo(
|
|
1013
|
+
${vo(Ui.backgroundColor,"transparent")};
|
|
1014
|
+
${vo(Ui.color,Nn.buttonsColor)};
|
|
1014
1015
|
}
|
|
1015
1016
|
|
|
1016
1017
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1053,7 +1054,7 @@ class ln extends Ar{constructor(t){if(super(t),this.et=Q,t.type!==Zr)throw Error
|
|
|
1053
1054
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1054
1055
|
background-color: ${Nn.colorSurface};
|
|
1055
1056
|
}
|
|
1056
|
-
`;var Cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Rn extends
|
|
1057
|
+
`;var Cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class Rn extends Ke{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 o(200),this.updateScrollDebouncer=new o(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}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(){const t=Di({"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":Xe}),o=this.controls&&this.withScroll;return to`
|
|
1057
1058
|
<div part="container" class="${t}">
|
|
1058
1059
|
<ft-button
|
|
1059
1060
|
class="ft-snap-scroll--previous"
|