@fluid-topics/ft-filter 1.1.22 → 1.1.24
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-filter.light.js +1 -1
- package/build/ft-filter.min.js +219 -218
- package/package.json +10 -10
package/build/ft-filter.min.js
CHANGED
|
@@ -81,16 +81,17 @@ const Pt=globalThis,Ht=Pt.trustedTypes,jt=Ht?Ht.createPolicy("lit-html",{createH
|
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
let we=class extends Mt{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 e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ge(e.insertBefore(Jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Nt(t):t;class Ce{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ke(t,e){return $e(`${t.name}: ${e}`)}const Re={colorWhite:Ce.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ce.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ce.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ce.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ce.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ce.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ce.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ce.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ce.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ce.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ce.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ce.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ce.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ce.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ce.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ce.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ce.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ce.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ce.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ce.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ce.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ce.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ce.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ce.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ce.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ce.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ce.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ce.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ce.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ce.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ce.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ce.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ce.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ce.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ce.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ce.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ce.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ce.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ce.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ce.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ce.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ce.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ce.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ce.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ce.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ce.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ce.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ce.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ce.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ce.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ce.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ce.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ce.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ce.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ce.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ce.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ce.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ce.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ce.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ce.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ce.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ce.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ce.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ce.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ce.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ce.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ce.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ce.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ce.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ce.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ce.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ce.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ce.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ce.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ce.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ce.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ce.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ce.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ce.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ce.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ce.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ce.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ce.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ce.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ce.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ce.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ce.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ce.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ce.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ce.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ce.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ce.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ce.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ce.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ce.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ce.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ce.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ce.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ce.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ce.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ce.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ce.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ce.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ce.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ce.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ce.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ce.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ce.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ce.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ce.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ce.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ce.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ce.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ce.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ce.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ce.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ce.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ce.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ce.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ce.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ce.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ce.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ce.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ce.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ce.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ce.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ce.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ce.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ce.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ce.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ce.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ce.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ce.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ce.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ce.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ce.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ce.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ce.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ce.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ce.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ce.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ce.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ce.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ce.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ce.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ce.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ce.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ce.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ce.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ce.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ce.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ce.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ce.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ce.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ce.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ce.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ce.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ce.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ce.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ce.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ce.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ce.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ce.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ce.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ce.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ce.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ce.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ce.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ce.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ce.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ce.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ce.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ce.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ce.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ce.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ce.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ce.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ce.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ce.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ce.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ce.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ce.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ce.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ce.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:Ce.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ce.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ce.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ce.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ce.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ce.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ce.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ce.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ce.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ce.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ce.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ce.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ce.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ce.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ce.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ce.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ce.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ce.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ce.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ce.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ce.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ce.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ce.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ce.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ce.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ce.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ce.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ce.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ce.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ce.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ce.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ce.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ce.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ce.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ce.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ce.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ce.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ce.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ce.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ce.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ce.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ce.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ce.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ce.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ce.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ce.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ce.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ce.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ce.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ce.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ce.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ce.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ce.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ce.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ce.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ce.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ce.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ce.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ce.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ce.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ce.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ce.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ce.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ce.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ce.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ce.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ce.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ce.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ce.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ce.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ce.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ce.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ce.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ce.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ce.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ce.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ce.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ce.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ce.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ce.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ce.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ce.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ce.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ce.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ce.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ce.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ce.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ce.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ce.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ce.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ce.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ce.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ce.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ce.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ce.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ce.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ce.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ce.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ce.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ce.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ce.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ce.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ce.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ce.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ce.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ce.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ce.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ce.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ce.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ce.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ce.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ce.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ce.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ce.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ce.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ce.extend("--ft-tabs-label-gap","",Re.spacing1),Ce.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-group-gap","",Re.spacing1),Ce.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ce.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ce.create("--ft-switch-group-border-radius","","SIZE","6px"),Ce.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ce.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ce.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ce.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ce.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ce.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ce.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ce.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ce.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ce.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ce.extend("--ft-chart-4-light","",Re.colorCyan50),Ce.extend("--ft-chart-4-base","",Re.colorCyan100),Ce.extend("--ft-chart-5-light","",Re.colorRed40),Ce.extend("--ft-chart-5-base","",Re.colorRed60),Ce.extend("--ft-chart-6-light","",Re.colorGreen40),Ce.extend("--ft-chart-6-base","",Re.colorGreen70),Ce.extend("--ft-chart-7-light","",Re.colorOrange70),Ce.extend("--ft-chart-7-base","",Re.colorOrange100),Ce.extend("--ft-chart-8-light","",Re.colorAvocado70),Ce.extend("--ft-chart-8-base","",Re.colorAvocado200),Ce.extend("--ft-chart-9-light","",Re.colorBrown50),Ce.extend("--ft-chart-9-base","",Re.colorBrown200),Ce.extend("--ft-chart-10-light","",Re.colorGray50),Ce.extend("--ft-chart-10-base","",Re.colorGray80),Ce.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ce.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ce.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ce.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ce.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ce.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ce.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ce.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ce.extend("--ft-chip-large-gap","",Re.spacing1),Ce.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-large-border-width","","SIZE","1px"),Ce.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ce.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ce.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ce.extend("--ft-chip-medium-gap","",Re.spacing1),Ce.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-medium-border-width","","SIZE","1px"),Ce.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ce.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ce.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ce.extend("--ft-chip-small-gap","",Re.spacing1),Ce.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-small-border-width","","SIZE","1px"),Ce.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ce.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ce.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ce.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ce.create("--ft-notice-border-width","","SIZE","1px"),Ce.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ce.extend("--ft-notice-vertical-padding","",Re.spacing1),Ce.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ce.extend("--ft-notice-gap","",Re.spacing2),Ce.extend("--ft-notice-icon-size","",Re.iconSize3),Ce.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ce.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-checkbox-gap","",Re.spacing3),Ce.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-toggle-gap","",Re.spacing3),Ce.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ce.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-radio-gap","",Re.spacing3),Ce.extend("--ft-notification-icon-size","",Re.iconSize4),Ce.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ce.extend("--ft-notification-vertical-padding","",Re.spacing4),Ce.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ce.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ce.create("--ft-notification-border-width","","SIZE","1px"),Ce.extend("--ft-notification-gap-leading","",Re.spacing2),Ce.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ce.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ce.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ce.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ce.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ce.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ce.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ce.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ce.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ce.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ce.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ce.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ce.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ce.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ce.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ce.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ce.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ce.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ce.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ce.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ce.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ce.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ce.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ce.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ce.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ce.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ce.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ce.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ce.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ce.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ce.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ce.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ce.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ce.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ce.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ce.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ce.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ce.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ce.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ce.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ce.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ce.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ce.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ce.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ce.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ce.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ce.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ce.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ce.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ce.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=window,ze=We.ShadowRoot&&(void 0===We.ShadyCSS||We.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
let we=class extends Mt{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 e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ge(e.insertBefore(Jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Nt(t):t;class Ce{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ke(t,e){return $e(`${t.name}: ${e}`)}const Re={colorWhite:Ce.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ce.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ce.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ce.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ce.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ce.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ce.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ce.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ce.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ce.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ce.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ce.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ce.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ce.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ce.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ce.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ce.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ce.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ce.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ce.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ce.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ce.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ce.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ce.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ce.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ce.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ce.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ce.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ce.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ce.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ce.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ce.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ce.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ce.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ce.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ce.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ce.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ce.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ce.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ce.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ce.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ce.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ce.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ce.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ce.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ce.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ce.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ce.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ce.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ce.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ce.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ce.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ce.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ce.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ce.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ce.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ce.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ce.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ce.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ce.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ce.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ce.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ce.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ce.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ce.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ce.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ce.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ce.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ce.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ce.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ce.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ce.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ce.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ce.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ce.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ce.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ce.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ce.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ce.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ce.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ce.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ce.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ce.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ce.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ce.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ce.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ce.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ce.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ce.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ce.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ce.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ce.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ce.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ce.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ce.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ce.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ce.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ce.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ce.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ce.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ce.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ce.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ce.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ce.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ce.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ce.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ce.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ce.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ce.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ce.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ce.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ce.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ce.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ce.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ce.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ce.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ce.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ce.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ce.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ce.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ce.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ce.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ce.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ce.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ce.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ce.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ce.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ce.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ce.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ce.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ce.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ce.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ce.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ce.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ce.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ce.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ce.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ce.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ce.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ce.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ce.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ce.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ce.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ce.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ce.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ce.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ce.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ce.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ce.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ce.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ce.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ce.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ce.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ce.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ce.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ce.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ce.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ce.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ce.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ce.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ce.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ce.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ce.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ce.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ce.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ce.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ce.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ce.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ce.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ce.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ce.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ce.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ce.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ce.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ce.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ce.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ce.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ce.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ce.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ce.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ce.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ce.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ce.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ce.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:Ce.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ce.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ce.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ce.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ce.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ce.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ce.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ce.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ce.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ce.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ce.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ce.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ce.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ce.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ce.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ce.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ce.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ce.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ce.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ce.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ce.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ce.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ce.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ce.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ce.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ce.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ce.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ce.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ce.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ce.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ce.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ce.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ce.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ce.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ce.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ce.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ce.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ce.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ce.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ce.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ce.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ce.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ce.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ce.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ce.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ce.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ce.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ce.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ce.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ce.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ce.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ce.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ce.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ce.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ce.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ce.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ce.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ce.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ce.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ce.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ce.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ce.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ce.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ce.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ce.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ce.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ce.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ce.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ce.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ce.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ce.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ce.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ce.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ce.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ce.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ce.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ce.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ce.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ce.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ce.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ce.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ce.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ce.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ce.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ce.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ce.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ce.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ce.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ce.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ce.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ce.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ce.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ce.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ce.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ce.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ce.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ce.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ce.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ce.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ce.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ce.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ce.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ce.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ce.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ce.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ce.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ce.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ce.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ce.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ce.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ce.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ce.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ce.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ce.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ce.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ce.extend("--ft-tabs-label-gap","",Re.spacing1),Ce.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-group-gap","",Re.spacing1),Ce.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ce.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ce.create("--ft-switch-group-border-radius","","SIZE","6px"),Ce.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ce.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ce.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ce.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ce.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ce.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ce.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ce.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ce.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ce.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ce.extend("--ft-chart-4-light","",Re.colorCyan50),Ce.extend("--ft-chart-4-base","",Re.colorCyan100),Ce.extend("--ft-chart-5-light","",Re.colorRed40),Ce.extend("--ft-chart-5-base","",Re.colorRed60),Ce.extend("--ft-chart-6-light","",Re.colorGreen40),Ce.extend("--ft-chart-6-base","",Re.colorGreen70),Ce.extend("--ft-chart-7-light","",Re.colorOrange70),Ce.extend("--ft-chart-7-base","",Re.colorOrange100),Ce.extend("--ft-chart-8-light","",Re.colorAvocado70),Ce.extend("--ft-chart-8-base","",Re.colorAvocado200),Ce.extend("--ft-chart-9-light","",Re.colorBrown50),Ce.extend("--ft-chart-9-base","",Re.colorBrown200),Ce.extend("--ft-chart-10-light","",Re.colorGray50),Ce.extend("--ft-chart-10-base","",Re.colorGray80),Ce.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ce.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ce.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ce.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ce.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ce.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ce.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ce.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ce.extend("--ft-chip-large-gap","",Re.spacing1),Ce.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-large-border-width","","SIZE","1px"),Ce.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ce.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ce.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ce.extend("--ft-chip-medium-gap","",Re.spacing1),Ce.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-medium-border-width","","SIZE","1px"),Ce.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ce.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ce.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ce.extend("--ft-chip-small-gap","",Re.spacing1),Ce.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-small-border-width","","SIZE","1px"),Ce.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ce.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ce.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ce.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ce.create("--ft-notice-border-width","","SIZE","1px"),Ce.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ce.extend("--ft-notice-vertical-padding","",Re.spacing1),Ce.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ce.extend("--ft-notice-gap","",Re.spacing2),Ce.extend("--ft-notice-icon-size","",Re.iconSize3),Ce.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ce.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-checkbox-gap","",Re.spacing3),Ce.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-toggle-gap","",Re.spacing3),Ce.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ce.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-radio-gap","",Re.spacing3),Ce.extend("--ft-notification-icon-size","",Re.iconSize4),Ce.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ce.extend("--ft-notification-vertical-padding","",Re.spacing4),Ce.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ce.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ce.create("--ft-notification-border-width","","SIZE","1px"),Ce.extend("--ft-notification-gap-leading","",Re.spacing2),Ce.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ce.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ce.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ce.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ce.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ce.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ce.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ce.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ce.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ce.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ce.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ce.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ce.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ce.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ce.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ce.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ce.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ce.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ce.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ce.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ce.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ce.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ce.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ce.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ce.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ce.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ce.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ce.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ce.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ce.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ce.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ce.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ce.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ce.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ce.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ce.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ce.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ce.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ce.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ce.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ce.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ce.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ce.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ce.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ce.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ce.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ce.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ce.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ce.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ce.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=["start","end"],ze=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+We[0],e+"-"+We[1])),[]),Fe=Math.min,Ke=Math.max,Be=Math.round,Ze=t=>({x:t,y:t}),De={left:"right",right:"left",bottom:"top",top:"bottom"},Ae={start:"end",end:"start"};function Me(t,e,o){return Ke(t,Fe(e,o))}function Pe(t,e){return"function"==typeof t?t(e):t}function He(t){return t.split("-")[0]}function je(t){return t.split("-")[1]}function Te(t){return"x"===t?"y":"x"}function _e(t){return"y"===t?"height":"width"}function Ge(t){return["top","bottom"].includes(He(t))?"y":"x"}function Ve(t){return Te(Ge(t))}function Ye(t){return t.replace(/left|right|bottom|top/g,(t=>De[t]))}function Je(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function qe(t,e,o){let{reference:i,floating:r}=t;const n=Ge(e),a=Ve(e),s=_e(a),l=He(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch(je(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function Xe(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=Pe(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[p?"floating"===h?"reference":"floating":h],g=Je(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Je(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Qe(t,e,o){return(t?[...o.filter((e=>je(e)===t)),...o.filter((e=>je(e)!==t))]:o.filter((t=>He(t)===t))).filter((o=>!t||(je(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ae[t]))}(o)!==o)))}const to=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=ze,autoAlignment:d=!0,...u}=Pe(t,e),y=void 0!==h||p===ze?Qe(h||null,d,p):p,g=await Xe(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=je(t),r=Ve(t),n=_e(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ye(a)),[a,Ye(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[He(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=je(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,je(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function eo(t){return ro(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function io(t){var e;return null==(e=(ro(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ro(t){return t instanceof Node||t instanceof oo(t).Node}function no(t){return t instanceof Element||t instanceof oo(t).Element}function ao(t){return t instanceof HTMLElement||t instanceof oo(t).HTMLElement}function so(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot)}function lo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=uo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function co(t){return["table","td","th"].includes(eo(t))}function fo(t){const e=ho(),o=uo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(eo(t))}function uo(t){return oo(t).getComputedStyle(t)}function yo(t){return no(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===eo(t))return t;const e=t.assignedSlot||t.parentNode||so(t)&&t.host||io(t);return so(e)?e.host:e}function bo(t){const e=go(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:ao(e)&&lo(e)?e:bo(e)}function mo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=bo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oo(r);return n?e.concat(a,a.visualViewport||[],lo(r)?r:[],a.frameElement&&o?mo(a.frameElement):[]):e.concat(r,mo(r,[],o))}function xo(t){const e=uo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ao(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Be(o)!==n||Be(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function vo(t){return no(t)?t:t.contextElement}function Oo(t){const e=vo(t);if(!ao(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=xo(e);let a=(n?Be(o.width):o.width)/i,s=(n?Be(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const So=Ze(0);function wo(t){const e=oo(t);return ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:So}function No(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=vo(t);let a=Ze(1);e&&(i?no(i)&&(a=Oo(i)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==oo(t))&&e}(n,o,i)?wo(n):Ze(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=oo(n),e=i&&no(i)?oo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),i=uo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=oo(o).frameElement}}return Je({width:f,height:h,x:l,y:c})}function $o(t){return No(io(t)).left+yo(t).scrollLeft}function Co(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=oo(t),i=io(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ho();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=io(t),o=yo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+$o(t);const s=-o.scrollTop;return"rtl"===uo(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(io(t));else if(no(e))i=function(t,e){const o=No(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ao(t)?Oo(t):Ze(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=wo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Je(i)}function ko(t,e){const o=go(t);return!(o===e||!no(o)||po(o))&&("fixed"===uo(o).position||ko(o,e))}function Ro(t,e,o){const i=ao(e),r=io(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==eo(e)||lo(r))&&(s=yo(e)),i){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=$o(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ao(t)&&"fixed"!==uo(t).position?e?e(t):t.offsetParent:null}function Uo(t,e){const o=oo(t);if(!ao(t))return o;let i=Eo(t,e);for(;i&&co(i)&&"static"===uo(i).position;)i=Eo(i,e);return i&&("html"===eo(i)||"body"===eo(i)&&"static"===uo(i).position&&!fo(i))?o:i||function(t){let e=go(t);for(;ao(e)&&!po(e);){if(fo(e))return e;e=go(e)}return null}(t)||o}const Io={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ao(o),n=io(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==eo(o)||lo(n))&&(a=yo(o)),ao(o))){const t=No(o);s=Oo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:io,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=mo(t,[],!1).filter((t=>no(t)&&"body"!==eo(t))),r=null;const n="fixed"===uo(t).position;let a=n?go(t):t;for(;no(a)&&!po(a);){const e=uo(a),o=fo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||lo(a)&&!o&&ko(t,a))?i=i.filter((t=>t!==a)):r=e,a=go(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Co(e,o,r);return t.top=Ke(i.top,t.top),t.right=Fe(i.right,t.right),t.bottom=Fe(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),Co(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Uo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Uo,n=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return xo(t)},getScale:Oo,isElement:no,isRTL:function(t){return"rtl"===uo(t).direction}},Lo=(t,e,o)=>{const i=new Map,r={platform:Io,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=qe(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:h}=qe(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Wo(t){return function(t){for(let e=t;e;e=zo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=zo(t);e;e=zo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function zo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/
|
|
89
|
+
*/
|
|
90
|
+
const Fo=window,Ko=Fo.ShadowRoot&&(void 0===Fo.ShadyCSS||Fo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Bo extends we{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Fo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Zo,Do=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ao=Symbol("constructorPrototype"),Mo=Symbol("constructorName"),Po=Symbol("exportpartsDebouncer");class Ho extends Bo{constructor(){super(),this[Zo]=new e(5),this[Mo]=this.constructor.name,this[Ao]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mo]&&Object.setPrototypeOf(this,this[Ao])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[Po].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 e,o,i,r,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!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=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(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Zo=Po,Do([$()],Ho.prototype,"exportpartsPrefix",void 0),Do([z([])],Ho.prototype,"exportpartsPrefixes",void 0),Do([$()],Ho.prototype,"customStylesheet",void 0);const jo=Ce.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");$t`
|
|
90
91
|
.highlight-html-match {
|
|
91
|
-
background: ${
|
|
92
|
+
background: ${jo};
|
|
92
93
|
}
|
|
93
|
-
`;const
|
|
94
|
+
`;const To=$t`
|
|
94
95
|
.ft-no-text-select {
|
|
95
96
|
-webkit-touch-callout: none;
|
|
96
97
|
-webkit-user-select: none;
|
|
@@ -111,7 +112,7 @@ let we=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
111
112
|
-webkit-hyphens: auto;
|
|
112
113
|
hyphens: auto
|
|
113
114
|
}
|
|
114
|
-
`;const
|
|
115
|
+
`;const _o=$t`
|
|
115
116
|
.ft-safari-ellipsis-fix {
|
|
116
117
|
margin-right: 0;
|
|
117
118
|
|
|
@@ -122,107 +123,107 @@ let we=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
122
123
|
display: inline-block;
|
|
123
124
|
width: 0;
|
|
124
125
|
}
|
|
125
|
-
`;function
|
|
126
|
+
`;function Go(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Vo,Yo,Jo;const qo=Symbol("internalReduxEventsUnsubscribers"),Xo=Symbol("internalStoresUnsubscribers"),Qo=Symbol("internalStores");class ti extends Ho{constructor(){super(...arguments),this[Vo]=new Map,this[Yo]=new Map,this[Jo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Go(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Qo].delete(e)}setupStore(t,e){this[Qo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Xo].has(t.store):this[Xo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Xo].set(t,e.subscribe((()=>this.updateFromStores()))),Go(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[qo].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[qo].forEach((t=>t())),this[qo]=[]}unsubscribeFromStore(t){this[Xo].has(t)&&this[Xo].get(t)(),this[Xo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Vo=Xo,Yo=Qo,Jo=qo,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const ei=Symbol("elementInternals");var oi,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(oi=window.safari)||void 0===oi?void 0:oi.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=Symbol.for(""),si=t=>{if(t?.r===ai)return t?._$litStatic$},li=t=>({_$litStatic$:t,r:ai}),ci=new Map,fi=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=si(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ci.get(t))&&(a.raw=a,ci.set(t,e=a)),o=s}return t(e,...o)})(et);
|
|
126
127
|
/**
|
|
127
128
|
* @license
|
|
128
129
|
* Copyright 2020 Google LLC
|
|
129
130
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/var
|
|
131
|
+
*/var hi;!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"}(hi||(hi={}));const pi=Ce.extend("--ft-typography-font-family","",Le.titleFont),di=Ce.extend("--ft-typography-font-family","",Le.contentFont),ui={fontFamily:di,fontSize:Ce.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ce.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ce.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ce.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ce.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yi=Ce.extend("--ft-typography-title-font-family","",pi),gi=Ce.extend("--ft-typography-title-font-size","",ui.fontSize,"20px"),bi=Ce.extend("--ft-typography-title-font-weight","",ui.fontWeight,"normal"),mi=Ce.extend("--ft-typography-title-letter-spacing","",ui.letterSpacing,"0.15px"),xi=Ce.extend("--ft-typography-title-line-height","",ui.lineHeight,"1.2"),vi=Ce.extend("--ft-typography-title-text-transform","",ui.textTransform,"inherit"),Oi=Ce.extend("--ft-typography-title-dense-font-family","",pi),Si=Ce.extend("--ft-typography-title-dense-font-size","",ui.fontSize,"14px"),wi=Ce.extend("--ft-typography-title-dense-font-weight","",ui.fontWeight,"normal"),Ni=Ce.extend("--ft-typography-title-dense-letter-spacing","",ui.letterSpacing,"0.105px"),$i=Ce.extend("--ft-typography-title-dense-line-height","",ui.lineHeight,"1.7"),Ci=Ce.extend("--ft-typography-title-dense-text-transform","",ui.textTransform,"inherit"),ki=Ce.extend("--ft-typography-subtitle1-font-family","",di),Ri=Ce.extend("--ft-typography-subtitle1-font-size","",ui.fontSize,"16px"),Ei=Ce.extend("--ft-typography-subtitle1-font-weight","",ui.fontWeight,"600"),Ui=Ce.extend("--ft-typography-subtitle1-letter-spacing","",ui.letterSpacing,"0.144px"),Ii=Ce.extend("--ft-typography-subtitle1-line-height","",ui.lineHeight,"1.5"),Li=Ce.extend("--ft-typography-subtitle1-text-transform","",ui.textTransform,"inherit"),Wi=Ce.extend("--ft-typography-subtitle2-font-family","",di),zi=Ce.extend("--ft-typography-subtitle2-font-size","",ui.fontSize,"14px"),Fi=Ce.extend("--ft-typography-subtitle2-font-weight","",ui.fontWeight,"normal"),Ki=Ce.extend("--ft-typography-subtitle2-letter-spacing","",ui.letterSpacing,"0.098px"),Bi=Ce.extend("--ft-typography-subtitle2-line-height","",ui.lineHeight,"1.7"),Zi=Ce.extend("--ft-typography-subtitle2-text-transform","",ui.textTransform,"inherit"),Di=Ce.extend("--ft-typography-body1-font-family","",di),Ai=Ce.extend("--ft-typography-body1-font-size","",ui.fontSize,"16px"),Mi=Ce.extend("--ft-typography-body1-font-weight","",ui.fontWeight,"normal"),Pi=Ce.extend("--ft-typography-body1-letter-spacing","",ui.letterSpacing,"0.496px"),Hi=Ce.extend("--ft-typography-body1-line-height","",ui.lineHeight,"1.5"),ji=Ce.extend("--ft-typography-body1-text-transform","",ui.textTransform,"inherit"),Ti={fontFamily:Ce.extend("--ft-typography-body2-font-family","",di),fontSize:Ce.extend("--ft-typography-body2-font-size","",ui.fontSize,"14px"),fontWeight:Ce.extend("--ft-typography-body2-font-weight","",ui.fontWeight,"normal"),letterSpacing:Ce.extend("--ft-typography-body2-letter-spacing","",ui.letterSpacing,"0.252px"),lineHeight:Ce.extend("--ft-typography-body2-line-height","",ui.lineHeight,"1.4"),textTransform:Ce.extend("--ft-typography-body2-text-transform","",ui.textTransform,"inherit")},_i=Ce.extend("--ft-typography-caption-font-family","",di),Gi=Ce.extend("--ft-typography-caption-font-size","",ui.fontSize,"12px"),Vi=Ce.extend("--ft-typography-caption-font-weight","",ui.fontWeight,"normal"),Yi=Ce.extend("--ft-typography-caption-letter-spacing","",ui.letterSpacing,"0.396px"),Ji=Ce.extend("--ft-typography-caption-line-height","",ui.lineHeight,"1.33"),qi=Ce.extend("--ft-typography-caption-text-transform","",ui.textTransform,"inherit"),Xi=Ce.extend("--ft-typography-breadcrumb-font-family","",di),Qi=Ce.extend("--ft-typography-breadcrumb-font-size","",ui.fontSize,"10px"),tr=Ce.extend("--ft-typography-breadcrumb-font-weight","",ui.fontWeight,"normal"),er=Ce.extend("--ft-typography-breadcrumb-letter-spacing","",ui.letterSpacing,"0.33px"),or=Ce.extend("--ft-typography-breadcrumb-line-height","",ui.lineHeight,"1.6"),ir=Ce.extend("--ft-typography-breadcrumb-text-transform","",ui.textTransform,"inherit"),rr=Ce.extend("--ft-typography-overline-font-family","",di),nr=Ce.extend("--ft-typography-overline-font-size","",ui.fontSize,"10px"),ar=Ce.extend("--ft-typography-overline-font-weight","",ui.fontWeight,"normal"),sr=Ce.extend("--ft-typography-overline-letter-spacing","",ui.letterSpacing,"1.5px"),lr=Ce.extend("--ft-typography-overline-line-height","",ui.lineHeight,"1.6"),cr=Ce.extend("--ft-typography-overline-text-transform","",ui.textTransform,"uppercase"),fr={fontFamily:Ce.extend("--ft-typography-button-font-family","",di),fontSize:Ce.extend("--ft-typography-button-font-size","",ui.fontSize,"14px"),fontWeight:Ce.extend("--ft-typography-button-font-weight","",ui.fontWeight,"600"),letterSpacing:Ce.extend("--ft-typography-button-letter-spacing","",ui.letterSpacing,"1.246px"),lineHeight:Ce.extend("--ft-typography-button-line-height","",ui.lineHeight,"1.15"),textTransform:Ce.extend("--ft-typography-button-text-transform","",ui.textTransform,"uppercase")},hr=$t`
|
|
131
132
|
.ft-typography--title {
|
|
132
|
-
font-family: ${
|
|
133
|
-
font-size: ${
|
|
134
|
-
font-weight: ${
|
|
135
|
-
letter-spacing: ${
|
|
136
|
-
line-height: ${
|
|
137
|
-
text-transform: ${
|
|
138
|
-
}
|
|
139
|
-
`,
|
|
133
|
+
font-family: ${yi};
|
|
134
|
+
font-size: ${gi};
|
|
135
|
+
font-weight: ${bi};
|
|
136
|
+
letter-spacing: ${mi};
|
|
137
|
+
line-height: ${xi};
|
|
138
|
+
text-transform: ${vi};
|
|
139
|
+
}
|
|
140
|
+
`,pr=$t`
|
|
140
141
|
.ft-typography--title-dense {
|
|
141
|
-
font-family: ${
|
|
142
|
-
font-size: ${
|
|
143
|
-
font-weight: ${
|
|
144
|
-
letter-spacing: ${
|
|
145
|
-
line-height: ${
|
|
146
|
-
text-transform: ${
|
|
147
|
-
}
|
|
148
|
-
`,
|
|
142
|
+
font-family: ${Oi};
|
|
143
|
+
font-size: ${Si};
|
|
144
|
+
font-weight: ${wi};
|
|
145
|
+
letter-spacing: ${Ni};
|
|
146
|
+
line-height: ${$i};
|
|
147
|
+
text-transform: ${Ci};
|
|
148
|
+
}
|
|
149
|
+
`,dr=$t`
|
|
149
150
|
.ft-typography--subtitle1 {
|
|
150
|
-
font-family: ${
|
|
151
|
-
font-size: ${
|
|
152
|
-
font-weight: ${
|
|
153
|
-
letter-spacing: ${
|
|
154
|
-
line-height: ${
|
|
155
|
-
text-transform: ${
|
|
156
|
-
}
|
|
157
|
-
`,
|
|
151
|
+
font-family: ${ki};
|
|
152
|
+
font-size: ${Ri};
|
|
153
|
+
font-weight: ${Ei};
|
|
154
|
+
letter-spacing: ${Ui};
|
|
155
|
+
line-height: ${Ii};
|
|
156
|
+
text-transform: ${Li};
|
|
157
|
+
}
|
|
158
|
+
`,ur=$t`
|
|
158
159
|
.ft-typography--subtitle2 {
|
|
159
|
-
font-family: ${
|
|
160
|
-
font-size: ${
|
|
161
|
-
font-weight: ${
|
|
162
|
-
letter-spacing: ${
|
|
163
|
-
line-height: ${
|
|
164
|
-
text-transform: ${
|
|
160
|
+
font-family: ${Wi};
|
|
161
|
+
font-size: ${zi};
|
|
162
|
+
font-weight: ${Fi};
|
|
163
|
+
letter-spacing: ${Ki};
|
|
164
|
+
line-height: ${Bi};
|
|
165
|
+
text-transform: ${Zi};
|
|
165
166
|
}
|
|
166
167
|
|
|
167
|
-
`,
|
|
168
|
+
`,yr=$t`
|
|
168
169
|
.ft-typography--body1 {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
-
}
|
|
176
|
-
`,
|
|
170
|
+
font-family: ${Di};
|
|
171
|
+
font-size: ${Ai};
|
|
172
|
+
font-weight: ${Mi};
|
|
173
|
+
letter-spacing: ${Pi};
|
|
174
|
+
line-height: ${Hi};
|
|
175
|
+
text-transform: ${ji};
|
|
176
|
+
}
|
|
177
|
+
`,gr=$t`
|
|
177
178
|
.ft-typography--body2 {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
184
|
-
}
|
|
185
|
-
`,
|
|
179
|
+
font-family: ${Ti.fontFamily};
|
|
180
|
+
font-size: ${Ti.fontSize};
|
|
181
|
+
font-weight: ${Ti.fontWeight};
|
|
182
|
+
letter-spacing: ${Ti.letterSpacing};
|
|
183
|
+
line-height: ${Ti.lineHeight};
|
|
184
|
+
text-transform: ${Ti.textTransform};
|
|
185
|
+
}
|
|
186
|
+
`,br=$t`
|
|
186
187
|
.ft-typography--caption {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
193
|
-
}
|
|
194
|
-
`,
|
|
188
|
+
font-family: ${_i};
|
|
189
|
+
font-size: ${Gi};
|
|
190
|
+
font-weight: ${Vi};
|
|
191
|
+
letter-spacing: ${Yi};
|
|
192
|
+
line-height: ${Ji};
|
|
193
|
+
text-transform: ${qi};
|
|
194
|
+
}
|
|
195
|
+
`,mr=$t`
|
|
195
196
|
.ft-typography--breadcrumb {
|
|
196
|
-
font-family: ${
|
|
197
|
-
font-size: ${
|
|
198
|
-
font-weight: ${
|
|
199
|
-
letter-spacing: ${
|
|
200
|
-
line-height: ${
|
|
201
|
-
text-transform: ${
|
|
202
|
-
}
|
|
203
|
-
`,
|
|
197
|
+
font-family: ${Xi};
|
|
198
|
+
font-size: ${Qi};
|
|
199
|
+
font-weight: ${tr};
|
|
200
|
+
letter-spacing: ${er};
|
|
201
|
+
line-height: ${or};
|
|
202
|
+
text-transform: ${ir};
|
|
203
|
+
}
|
|
204
|
+
`,xr=$t`
|
|
204
205
|
.ft-typography--overline {
|
|
205
|
-
font-family: ${
|
|
206
|
-
font-size: ${
|
|
207
|
-
font-weight: ${
|
|
208
|
-
letter-spacing: ${
|
|
209
|
-
line-height: ${
|
|
210
|
-
text-transform: ${
|
|
211
|
-
}
|
|
212
|
-
`,
|
|
206
|
+
font-family: ${rr};
|
|
207
|
+
font-size: ${nr};
|
|
208
|
+
font-weight: ${ar};
|
|
209
|
+
letter-spacing: ${sr};
|
|
210
|
+
line-height: ${lr};
|
|
211
|
+
text-transform: ${cr};
|
|
212
|
+
}
|
|
213
|
+
`,vr=$t`
|
|
213
214
|
.ft-typography--button {
|
|
214
|
-
font-family: ${
|
|
215
|
-
font-size: ${
|
|
216
|
-
font-weight: ${
|
|
217
|
-
letter-spacing: ${
|
|
218
|
-
line-height: ${
|
|
219
|
-
text-transform: ${
|
|
220
|
-
}
|
|
221
|
-
`,
|
|
215
|
+
font-family: ${fr.fontFamily};
|
|
216
|
+
font-size: ${fr.fontSize};
|
|
217
|
+
font-weight: ${fr.fontWeight};
|
|
218
|
+
letter-spacing: ${fr.letterSpacing};
|
|
219
|
+
line-height: ${fr.lineHeight};
|
|
220
|
+
text-transform: ${fr.textTransform};
|
|
221
|
+
}
|
|
222
|
+
`,Or=$t`
|
|
222
223
|
.ft-typography {
|
|
223
224
|
vertical-align: inherit;
|
|
224
225
|
}
|
|
225
|
-
`,
|
|
226
|
+
`,Sr=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return $t`
|
|
226
227
|
.ft-typography--${Nt(t)} {
|
|
227
228
|
font-family: ${e.fontFamily};
|
|
228
229
|
font-size: ${e.fontSize};
|
|
@@ -231,25 +232,25 @@ let we=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
231
232
|
line-height: ${e.lineHeight};
|
|
232
233
|
text-transform: ${e.textCase};
|
|
233
234
|
}
|
|
234
|
-
`}(t)))];var
|
|
235
|
-
<${
|
|
235
|
+
`}(t)))];var wr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Nr extends Ho{constructor(){super(...arguments),this.variant=hi.body1}render(){return this.element?fi`
|
|
236
|
+
<${li(this.element)}
|
|
236
237
|
class="ft-typography ft-typography--${this.variant}">
|
|
237
238
|
<slot></slot>
|
|
238
|
-
</${
|
|
239
|
-
`:
|
|
239
|
+
</${li(this.element)}>
|
|
240
|
+
`:fi`
|
|
240
241
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
241
|
-
`}}
|
|
242
|
+
`}}Nr.styles=[hr,pr,dr,ur,yr,gr,br,mr,xr,vr,Or,...Sr],wr([$()],Nr.prototype,"element",void 0),wr([$()],Nr.prototype,"variant",void 0),W("ft-typography")(Nr);
|
|
242
243
|
/**
|
|
243
244
|
* @license
|
|
244
245
|
* Copyright 2017 Google LLC
|
|
245
246
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
246
247
|
*/
|
|
247
|
-
const
|
|
248
|
+
const $r=1,Cr=2,kr=t=>(...e)=>({_$litDirective$:t,values:e});class Rr{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
248
249
|
/**
|
|
249
250
|
* @license
|
|
250
251
|
* Copyright 2020 Google LLC
|
|
251
252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
252
|
-
*/const{D:
|
|
253
|
+
*/const{D:Er}=bt,Ur=()=>document.createComment(""),Ir=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Ur(),r),n=i.insertBefore(Ur(),r);o=new Er(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},Lr=(t,e,o=t)=>(t._$AI(e,o),t),Wr={},zr=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Fr=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},Kr=kr(class extends Rr{constructor(t){if(super(t),t.type!==Cr)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,h=0,p=r.length-1,d=0,u=n.length-1;for(;h<=p&&d<=u;)if(null===r[h])h++;else if(null===r[p])p--;else if(s[h]===a[d])l[d]=Lr(r[h],n[d]),h++,d++;else if(s[p]===a[u])l[u]=Lr(r[p],n[u]),p--,u--;else if(s[h]===a[u])l[u]=Lr(r[h],n[u]),Ir(t,l[u+1],r[h]),h++,u--;else if(s[p]===a[d])l[d]=Lr(r[p],n[d]),Ir(t,r[h],r[p]),p--,d++;else if(void 0===c&&(c=Fr(a,d,u),f=Fr(s,h,p)),c.has(s[h]))if(c.has(s[p])){const e=f.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=Ir(t,r[h]);Lr(e,n[d]),l[d]=e}else l[d]=Lr(o,n[d]),Ir(t,r[h],o),r[e]=null;d++}else zr(r[p]),p--;else zr(r[h]),h++;for(;d<=u;){const e=Ir(t,l[u+1]);Lr(e,n[d]),l[d++]=e}for(;h<=p;){const t=r[h++];null!==t&&zr(t)}return this.dt=a,((t,e=Wr)=>{t._$AH=e})(t,l),ot}}),Br=Ce.extend("--ft-ripple-color","",Le.colorContent),Zr={color:Br,backgroundColor:Ce.extend("--ft-ripple-background-color","",Br),opacityContentOnSurfacePressed:Ce.external(Le.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ce.external(Le.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ce.external(Le.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ce.external(Le.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ce.create("--ft-ripple-border-radius","","SIZE","0px")},Dr=Ce.extend("--ft-ripple-color","",Le.colorPrimary),Ar=Dr,Mr=Ce.extend("--ft-ripple-background-color","",Dr),Pr=Ce.extend("--ft-ripple-color","",Le.colorSecondary),Hr=Pr,jr=Ce.extend("--ft-ripple-background-color","",Pr),Tr=$t`
|
|
253
254
|
:host {
|
|
254
255
|
display: contents;
|
|
255
256
|
}
|
|
@@ -262,7 +263,7 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
262
263
|
|
|
263
264
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
264
265
|
overflow: hidden;
|
|
265
|
-
border-radius: ${
|
|
266
|
+
border-radius: ${Zr.borderRadius};
|
|
266
267
|
}
|
|
267
268
|
|
|
268
269
|
.ft-ripple .ft-ripple--background,
|
|
@@ -296,27 +297,27 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
296
297
|
}
|
|
297
298
|
|
|
298
299
|
.ft-ripple .ft-ripple--background {
|
|
299
|
-
background-color: ${
|
|
300
|
+
background-color: ${Zr.backgroundColor};
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
.ft-ripple .ft-ripple--effect {
|
|
303
|
-
background-color: ${
|
|
304
|
+
background-color: ${Zr.color};
|
|
304
305
|
}
|
|
305
306
|
|
|
306
307
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
307
|
-
background-color: ${
|
|
308
|
+
background-color: ${jr};
|
|
308
309
|
}
|
|
309
310
|
|
|
310
311
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
311
|
-
background-color: ${
|
|
312
|
+
background-color: ${Hr};
|
|
312
313
|
}
|
|
313
314
|
|
|
314
315
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
315
|
-
background-color: ${
|
|
316
|
+
background-color: ${Mr};
|
|
316
317
|
}
|
|
317
318
|
|
|
318
319
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
319
|
-
background-color: ${
|
|
320
|
+
background-color: ${Ar};
|
|
320
321
|
}
|
|
321
322
|
|
|
322
323
|
.ft-ripple .ft-ripple--background {
|
|
@@ -346,22 +347,22 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
346
347
|
}
|
|
347
348
|
|
|
348
349
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
349
|
-
opacity: ${
|
|
350
|
+
opacity: ${Zr.opacityContentOnSurfaceHover};
|
|
350
351
|
}
|
|
351
352
|
|
|
352
353
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
353
|
-
opacity: ${
|
|
354
|
+
opacity: ${Zr.opacityContentOnSurfaceSelected};
|
|
354
355
|
}
|
|
355
356
|
|
|
356
357
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
357
|
-
opacity: ${
|
|
358
|
+
opacity: ${Zr.opacityContentOnSurfaceFocused};
|
|
358
359
|
}
|
|
359
360
|
|
|
360
361
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
361
|
-
opacity: ${
|
|
362
|
+
opacity: ${Zr.opacityContentOnSurfacePressed};
|
|
362
363
|
transform: translate(-50%, -50%) scale(1);
|
|
363
364
|
}
|
|
364
|
-
`,
|
|
365
|
+
`,_r={color:Ce.extend("--ft-loader-color","",Le.colorPrimary),size:Ce.create("--ft-loader-size","","SIZE","80px")},Gr=$t`
|
|
365
366
|
:host {
|
|
366
367
|
line-height: 0;
|
|
367
368
|
}
|
|
@@ -370,8 +371,8 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
370
371
|
display: inline-block;
|
|
371
372
|
position: relative;
|
|
372
373
|
|
|
373
|
-
width: ${
|
|
374
|
-
height: ${
|
|
374
|
+
width: ${_r.size};
|
|
375
|
+
height: ${_r.size};
|
|
375
376
|
}
|
|
376
377
|
|
|
377
378
|
.ft-loader div {
|
|
@@ -380,7 +381,7 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
380
381
|
width: 25%;
|
|
381
382
|
height: 25%;
|
|
382
383
|
border-radius: 50%;
|
|
383
|
-
background: ${
|
|
384
|
+
background: ${_r.color};
|
|
384
385
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
385
386
|
}
|
|
386
387
|
|
|
@@ -427,10 +428,10 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
427
428
|
transform: translate(0, 0);
|
|
428
429
|
}
|
|
429
430
|
100% {
|
|
430
|
-
transform: translate(calc(0.35 * ${
|
|
431
|
+
transform: translate(calc(0.35 * ${_r.size}), 0);
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
|
-
`,
|
|
434
|
+
`,Vr={size:Ce.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ce.extend("--ft-icon-fluid-topics-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ce.extend("--ft-icon-file-format-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ce.extend("--ft-icon-material-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ce.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Yr=$t`
|
|
434
435
|
:host, i.ft-icon {
|
|
435
436
|
display: inline-flex;
|
|
436
437
|
align-items: center;
|
|
@@ -439,14 +440,14 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
439
440
|
}
|
|
440
441
|
|
|
441
442
|
:host {
|
|
442
|
-
width: ${
|
|
443
|
-
height: ${
|
|
443
|
+
width: ${Vr.size};
|
|
444
|
+
height: ${Vr.size};
|
|
444
445
|
}
|
|
445
446
|
|
|
446
447
|
i.ft-icon {
|
|
447
448
|
width: 100%;
|
|
448
449
|
height: 100%;
|
|
449
|
-
font-size: ${
|
|
450
|
+
font-size: ${Vr.size};
|
|
450
451
|
line-height: 1;
|
|
451
452
|
font-weight: normal;
|
|
452
453
|
text-transform: none;
|
|
@@ -457,28 +458,28 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
457
458
|
text-rendering: auto;
|
|
458
459
|
-webkit-font-smoothing: antialiased;
|
|
459
460
|
-moz-osx-font-smoothing: grayscale;
|
|
460
|
-
vertical-align: ${
|
|
461
|
+
vertical-align: ${Vr.verticalAlign};
|
|
461
462
|
}
|
|
462
463
|
|
|
463
464
|
i.ft-icon.ft-icon--fluid-topics {
|
|
464
|
-
font-family: ${
|
|
465
|
+
font-family: ${Vr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
465
466
|
|
|
466
467
|
/* Ugly fix because font is broken */
|
|
467
|
-
font-size: calc(0.75 * ${
|
|
468
|
-
line-height: ${
|
|
468
|
+
font-size: calc(0.75 * ${Vr.size});
|
|
469
|
+
line-height: ${Vr.size};
|
|
469
470
|
position: relative;
|
|
470
471
|
top: -4%;
|
|
471
472
|
justify-content: center;
|
|
472
473
|
}
|
|
473
474
|
|
|
474
475
|
.ft-icon--file-format {
|
|
475
|
-
font-family: ${
|
|
476
|
+
font-family: ${Vr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
476
477
|
}
|
|
477
478
|
|
|
478
479
|
.ft-icon--material {
|
|
479
|
-
font-family: ${
|
|
480
|
+
font-family: ${Vr.materialFontFamily}, "Material Icons", sans-serif;
|
|
480
481
|
}
|
|
481
|
-
`,
|
|
482
|
+
`,Jr=Ce.extend("--ft-button-color","",Le.colorPrimary),qr={backgroundColor:Ce.extend("--ft-button-background-color","",Le.colorSurface),borderRadius:Ce.extend("--ft-button-border-radius","",Le.borderRadiusL),color:Jr,fontSize:Ce.extend("--ft-button-font-size","",fr.fontSize),iconSize:Ce.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ce.extend("--ft-button-ripple-color","",Jr),verticalPadding:Ce.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ce.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ce.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ce.external(Le.colorOpacityDisabled,"Design system")},Xr=Ce.extend("--ft-button-primary-color","",Ce.extend("--ft-button-color","",Le.colorOnPrimary)),Qr={backgroundColor:Ce.extend("--ft-button-primary-background-color","",Ce.extend("--ft-button-background-color","",Le.colorPrimary)),color:Xr,rippleColor:Ce.extend("--ft-button-primary-ripple-color","",Xr)},tn=Ce.extend("--ft-button-dense-border-radius","",Ce.extend("--ft-button-border-radius","",Le.borderRadiusM)),en=Ce.create("--ft-button-dense-vertical-padding","","SIZE","2px"),on=Ce.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),rn=Ce.create("--ft-button-dense-icon-padding","","SIZE","4px"),nn=[$t`
|
|
482
483
|
:host {
|
|
483
484
|
display: inline-block;
|
|
484
485
|
max-width: 100%;
|
|
@@ -489,7 +490,7 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
489
490
|
box-shadow: 0px 0px 0px transparent;
|
|
490
491
|
border: 0px solid transparent;
|
|
491
492
|
text-shadow: 0px 0px 0px transparent;
|
|
492
|
-
font-size: ${
|
|
493
|
+
font-size: ${qr.fontSize};
|
|
493
494
|
}
|
|
494
495
|
|
|
495
496
|
button:hover {
|
|
@@ -518,31 +519,31 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
518
519
|
border: none;
|
|
519
520
|
pointer-events: auto;
|
|
520
521
|
|
|
521
|
-
--ft-button-internal-line-height: max(calc(${
|
|
522
|
-
--ft-button-internal-color: ${
|
|
523
|
-
${ke(
|
|
524
|
-
${ke(
|
|
522
|
+
--ft-button-internal-line-height: max(calc(${qr.fontSize} + 2px), ${qr.iconSize});
|
|
523
|
+
--ft-button-internal-color: ${qr.color};
|
|
524
|
+
${ke(Vr.size,qr.iconSize)};
|
|
525
|
+
${ke(Zr.color,qr.rippleColor)};
|
|
525
526
|
|
|
526
|
-
border-radius: ${
|
|
527
|
-
padding: ${
|
|
528
|
-
background-color: ${
|
|
527
|
+
border-radius: ${qr.borderRadius};
|
|
528
|
+
padding: ${qr.verticalPadding} ${qr.horizontalPadding};
|
|
529
|
+
background-color: ${qr.backgroundColor};
|
|
529
530
|
color: var(--ft-button-internal-color);
|
|
530
531
|
-webkit-mask-image: radial-gradient(white, black);
|
|
531
532
|
}
|
|
532
533
|
|
|
533
534
|
.ft-button.ft-button--outlined {
|
|
534
535
|
border: 1px solid var(--ft-button-internal-color);
|
|
535
|
-
padding: calc(${
|
|
536
|
+
padding: calc(${qr.verticalPadding} - 1px) calc(${qr.horizontalPadding} - 1px);
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
.ft-button.ft-button--dense {
|
|
539
|
-
padding: ${
|
|
540
|
-
border-radius: ${
|
|
541
|
-
gap: ${
|
|
540
|
+
padding: ${en} ${on};
|
|
541
|
+
border-radius: ${tn};
|
|
542
|
+
gap: ${rn};
|
|
542
543
|
}
|
|
543
544
|
|
|
544
545
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
545
|
-
padding: calc(${
|
|
546
|
+
padding: calc(${en} - 1px) calc(${on} - 1px);
|
|
546
547
|
}
|
|
547
548
|
|
|
548
549
|
.ft-button:not([disabled]):hover {
|
|
@@ -550,22 +551,22 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
550
551
|
}
|
|
551
552
|
|
|
552
553
|
.ft-button--round {
|
|
553
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
554
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qr.verticalPadding});
|
|
554
555
|
}
|
|
555
556
|
|
|
556
557
|
.ft-button--round.ft-button--dense {
|
|
557
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
558
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${en});
|
|
558
559
|
}
|
|
559
560
|
|
|
560
561
|
.ft-button[disabled] {
|
|
561
562
|
filter: grayscale(1);
|
|
562
|
-
opacity: ${
|
|
563
|
+
opacity: ${qr.opacityDisabled};
|
|
563
564
|
}
|
|
564
565
|
|
|
565
566
|
.ft-button.ft-button--primary {
|
|
566
|
-
background-color: ${
|
|
567
|
-
--ft-button-internal-color: ${
|
|
568
|
-
${ke(
|
|
567
|
+
background-color: ${Qr.backgroundColor};
|
|
568
|
+
--ft-button-internal-color: ${Qr.color};
|
|
569
|
+
${ke(Zr.color,Qr.rippleColor)};
|
|
569
570
|
}
|
|
570
571
|
|
|
571
572
|
.ft-button:focus {
|
|
@@ -578,13 +579,13 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
578
579
|
white-space: nowrap;
|
|
579
580
|
text-overflow: ellipsis;
|
|
580
581
|
display: block;
|
|
581
|
-
margin: 0 ${
|
|
582
|
-
${ke(
|
|
583
|
-
${ke(
|
|
582
|
+
margin: 0 ${qr.iconPadding};
|
|
583
|
+
${ke(fr.fontSize,"1em")};
|
|
584
|
+
${ke(fr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
584
585
|
}
|
|
585
586
|
|
|
586
587
|
.ft-button--dense .ft-button--label {
|
|
587
|
-
margin: 0 ${
|
|
588
|
+
margin: 0 ${rn};
|
|
588
589
|
}
|
|
589
590
|
|
|
590
591
|
.ft-button--label[hidden] {
|
|
@@ -597,13 +598,13 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
597
598
|
}
|
|
598
599
|
|
|
599
600
|
.ft-button--label[hidden] + ft-icon {
|
|
600
|
-
margin: 0 calc(${
|
|
601
|
-
padding: 0 ${
|
|
601
|
+
margin: 0 calc(${qr.horizontalPadding} * -1);
|
|
602
|
+
padding: 0 ${qr.verticalPadding};
|
|
602
603
|
}
|
|
603
604
|
|
|
604
605
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
605
|
-
margin: 0 calc(${
|
|
606
|
-
padding: 0 ${
|
|
606
|
+
margin: 0 calc(${on} * -1);
|
|
607
|
+
padding: 0 ${en};
|
|
607
608
|
}
|
|
608
609
|
|
|
609
610
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -612,26 +613,26 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
612
613
|
}
|
|
613
614
|
|
|
614
615
|
ft-loader {
|
|
615
|
-
${ke(
|
|
616
|
-
${ke(
|
|
616
|
+
${ke(_r.size,qr.iconSize)};
|
|
617
|
+
${ke(_r.color,"var(--ft-button-internal-color)")};
|
|
617
618
|
}
|
|
618
|
-
`,
|
|
619
|
+
`,To],an=kr(class extends Rr{constructor(t){if(super(t),t.type!==$r||"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((e=>t[e])).join(" ")+" "}update(t,[e]){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 e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return ot}});
|
|
619
620
|
/**
|
|
620
621
|
* @license
|
|
621
622
|
* Copyright 2017 Google LLC
|
|
622
623
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
623
|
-
*/var
|
|
624
|
+
*/var sn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ln extends Ho{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-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 se`
|
|
624
625
|
<style>
|
|
625
626
|
.ft-ripple .ft-ripple--effect {
|
|
626
627
|
left: ${this.originX}px;
|
|
627
628
|
top: ${this.originY}px;
|
|
628
629
|
}
|
|
629
630
|
</style>
|
|
630
|
-
<div class="${
|
|
631
|
+
<div class="${an(t)}">
|
|
631
632
|
<div class="ft-ripple--background"></div>
|
|
632
633
|
<div class="ft-ripple--effect"></div>
|
|
633
634
|
</div>
|
|
634
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
635
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ln.elementDefinitions={},ln.styles=Tr,sn([$({type:Boolean})],ln.prototype,"primary",void 0),sn([$({type:Boolean})],ln.prototype,"secondary",void 0),sn([$({type:Boolean})],ln.prototype,"unbounded",void 0),sn([$({type:Boolean})],ln.prototype,"activated",void 0),sn([$({type:Boolean})],ln.prototype,"selected",void 0),sn([$({type:Boolean})],ln.prototype,"disabled",void 0),sn([C()],ln.prototype,"hovered",void 0),sn([C()],ln.prototype,"focused",void 0),sn([C()],ln.prototype,"pressed",void 0),sn([C()],ln.prototype,"rippling",void 0),sn([C()],ln.prototype,"originX",void 0),sn([C()],ln.prototype,"originY",void 0),sn([E(".ft-ripple")],ln.prototype,"ripple",void 0),sn([E(".ft-ripple--effect")],ln.prototype,"rippleEffect",void 0),W("ft-ripple")(ln);const cn=Ce.create("--ft-tooltip-distance","","SIZE","4px"),fn=Ce.create("--ft-tooltip-color","","COLOR","#FFFFFF"),hn=Ce.create("--ft-tooltip-background-color","","COLOR","#666666"),pn=Ce.create("--ft-tooltip-z-index","","NUMBER","100"),dn=Ce.external(Le.borderRadiusS,"Design system"),un=Ce.create("--ft-tooltip-max-width","","SIZE","150px"),yn=$t`
|
|
635
636
|
.ft-tooltip--container {
|
|
636
637
|
display: block;
|
|
637
638
|
}
|
|
@@ -646,21 +647,21 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
646
647
|
box-sizing: border-box;
|
|
647
648
|
overflow: hidden;
|
|
648
649
|
width: max-content;
|
|
649
|
-
max-width: ${
|
|
650
|
+
max-width: ${un};
|
|
650
651
|
text-align: center;
|
|
651
|
-
padding: ${
|
|
652
|
-
z-index: ${
|
|
652
|
+
padding: ${cn};
|
|
653
|
+
z-index: ${pn};
|
|
653
654
|
}
|
|
654
655
|
|
|
655
656
|
.ft-tooltip--content {
|
|
656
657
|
padding: 4px 8px;
|
|
657
|
-
border-radius: ${
|
|
658
|
-
background-color: ${
|
|
659
|
-
color: ${
|
|
658
|
+
border-radius: ${dn};
|
|
659
|
+
background-color: ${hn};
|
|
660
|
+
color: ${fn};
|
|
660
661
|
position: relative;
|
|
661
662
|
word-break: break-word;
|
|
662
663
|
}
|
|
663
|
-
`,ur=["start","end"],yr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ur[0],e+"-"+ur[1])),[]),gr=Math.min,br=Math.max,mr=Math.round,xr=t=>({x:t,y:t}),vr={left:"right",right:"left",bottom:"top",top:"bottom"},Or={start:"end",end:"start"};function Sr(t,e,o){return br(t,gr(e,o))}function wr(t,e){return"function"==typeof t?t(e):t}function Nr(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function Cr(t){return"x"===t?"y":"x"}function kr(t){return"y"===t?"height":"width"}function Rr(t){return["top","bottom"].includes(Nr(t))?"y":"x"}function Er(t){return Cr(Rr(t))}function Ur(t){return t.replace(/left|right|bottom|top/g,(t=>vr[t]))}function Ir(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Lr(t,e,o){let{reference:i,floating:r}=t;const n=Rr(e),a=Er(e),s=kr(a),l=Nr(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch($r(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function Wr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=wr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[p?"floating"===h?"reference":"floating":h],g=Ir(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ir(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function zr(t,e,o){return(t?[...o.filter((e=>$r(e)===t)),...o.filter((e=>$r(e)!==t))]:o.filter((t=>Nr(t)===t))).filter((o=>!t||($r(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Or[t]))}(o)!==o)))}const Fr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=yr,autoAlignment:d=!0,...u}=wr(t,e),y=void 0!==h||p===yr?zr(h||null,d,p):p,g=await Wr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=$r(t),r=Er(t),n=kr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ur(a)),[a,Ur(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Nr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=$r(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,$r(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Kr(t){return Dr(t)?(t.nodeName||"").toLowerCase():"#document"}function Br(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Zr(t){var e;return null==(e=(Dr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Dr(t){return t instanceof Node||t instanceof Br(t).Node}function Ar(t){return t instanceof Element||t instanceof Br(t).Element}function Mr(t){return t instanceof HTMLElement||t instanceof Br(t).HTMLElement}function Pr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Br(t).ShadowRoot)}function Hr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Vr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function jr(t){return["table","td","th"].includes(Kr(t))}function Tr(t){const e=_r(),o=Vr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function _r(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Gr(t){return["html","body","#document"].includes(Kr(t))}function Vr(t){return Br(t).getComputedStyle(t)}function Yr(t){return Ar(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jr(t){if("html"===Kr(t))return t;const e=t.assignedSlot||t.parentNode||Pr(t)&&t.host||Zr(t);return Pr(e)?e.host:e}function qr(t){const e=Jr(t);return Gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Mr(e)&&Hr(e)?e:qr(e)}function Xr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=qr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Br(r);return n?e.concat(a,a.visualViewport||[],Hr(r)?r:[],a.frameElement&&o?Xr(a.frameElement):[]):e.concat(r,Xr(r,[],o))}function Qr(t){const e=Vr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Mr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=mr(o)!==n||mr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function tn(t){return Ar(t)?t:t.contextElement}function en(t){const e=tn(t);if(!Mr(e))return xr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Qr(e);let a=(n?mr(o.width):o.width)/i,s=(n?mr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const on=xr(0);function rn(t){const e=Br(t);return _r()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:on}function nn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=tn(t);let a=xr(1);e&&(i?Ar(i)&&(a=en(i)):a=en(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Br(t))&&e}(n,o,i)?rn(n):xr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=Br(n),e=i&&Ar(i)?Br(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=en(o),e=o.getBoundingClientRect(),i=Vr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=Br(o).frameElement}}return Ir({width:f,height:h,x:l,y:c})}function an(t){return nn(Zr(t)).left+Yr(t).scrollLeft}function sn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Br(t),i=Zr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=_r();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Zr(t),o=Yr(t),i=t.ownerDocument.body,r=br(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=br(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+an(t);const s=-o.scrollTop;return"rtl"===Vr(i).direction&&(a+=br(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Zr(t));else if(Ar(e))i=function(t,e){const o=nn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Mr(t)?en(t):xr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=rn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ir(i)}function ln(t,e){const o=Jr(t);return!(o===e||!Ar(o)||Gr(o))&&("fixed"===Vr(o).position||ln(o,e))}function cn(t,e,o){const i=Mr(e),r=Zr(e),n="fixed"===o,a=nn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=xr(0);if(i||!i&&!n)if(("body"!==Kr(e)||Hr(r))&&(s=Yr(e)),i){const t=nn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=an(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function fn(t,e){return Mr(t)&&"fixed"!==Vr(t).position?e?e(t):t.offsetParent:null}function hn(t,e){const o=Br(t);if(!Mr(t))return o;let i=fn(t,e);for(;i&&jr(i)&&"static"===Vr(i).position;)i=fn(i,e);return i&&("html"===Kr(i)||"body"===Kr(i)&&"static"===Vr(i).position&&!Tr(i))?o:i||function(t){let e=Jr(t);for(;Mr(e)&&!Gr(e);){if(Tr(e))return e;e=Jr(e)}return null}(t)||o}const pn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Mr(o),n=Zr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=xr(1);const l=xr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Kr(o)||Hr(n))&&(a=Yr(o)),Mr(o))){const t=nn(o);s=en(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Zr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Xr(t,[],!1).filter((t=>Ar(t)&&"body"!==Kr(t))),r=null;const n="fixed"===Vr(t).position;let a=n?Jr(t):t;for(;Ar(a)&&!Gr(a);){const e=Vr(a),o=Tr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Hr(a)&&!o&&ln(t,a))?i=i.filter((t=>t!==a)):r=e,a=Jr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=sn(e,o,r);return t.top=br(i.top,t.top),t.right=gr(i.right,t.right),t.bottom=gr(i.bottom,t.bottom),t.left=br(i.left,t.left),t}),sn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:hn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||hn,n=this.getDimensions;return{reference:cn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Qr(t)},getScale:en,isElement:Ar,isRTL:function(t){return"rtl"===Vr(t).direction}},dn=(t,e,o)=>{const i=new Map,r={platform:pn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=Lr(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:h}=Lr(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function un(t){return function(t){for(let e=t;e;e=yn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=yn(t);e;e=yn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function yn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bn extends Me{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return se`
|
|
664
|
+
`;var gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bn extends Ho{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return se`
|
|
664
665
|
<div part="container"
|
|
665
666
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
666
667
|
@mouseenter=${this.onHover}
|
|
@@ -678,7 +679,7 @@ const Ni=1,$i=2,Ci=t=>(...e)=>({_$litDirective$:t,values:e});class ki{constructo
|
|
|
678
679
|
</div>
|
|
679
680
|
</div>
|
|
680
681
|
</div>
|
|
681
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){
|
|
682
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Lo(t,e,{platform:{...Io,getOffsetParent:t=>Io.getOffsetParent(t,Wo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Pe(i,t),c={x:e,y:o},f=await Xe(t,l),h=Ge(He(r)),p=Te(h);let d=c[p],u=c[h];if(n){const t="y"===p?"bottom":"right";d=Me(d+f["y"===p?"top":"left"],d,d-f[t])}if(a){const t="y"===h?"bottom":"right";u=Me(u+f["y"===h?"top":"left"],u,u-f[t])}const y=s.fn({...t,[p]:d,[h]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),to({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}bn.elementDefinitions={"ft-typography":Nr},bn.styles=yn,gn([$()],bn.prototype,"text",void 0),gn([$({type:Boolean})],bn.prototype,"manual",void 0),gn([$({type:Boolean})],bn.prototype,"inline",void 0),gn([$({type:Number})],bn.prototype,"delay",void 0),gn([$()],bn.prototype,"position",void 0),gn([
|
|
682
683
|
/**
|
|
683
684
|
* @license
|
|
684
685
|
* Copyright 2017 Google LLC
|
|
@@ -690,28 +691,28 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
|
|
|
690
691
|
* Copyright 2017 Google LLC
|
|
691
692
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
692
693
|
*/
|
|
693
|
-
class mn extends
|
|
694
|
+
class mn extends Rr{constructor(t){if(super(t),this.et=it,t.type!==Cr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||null==t)return this.vt=void 0,this.et=t;if(t===ot)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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}mn.directiveName="unsafeHTML",mn.resultType=1;const xn=kr(mn);var vn,On,Sn;!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=""}(vn||(vn={})),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=""}(On||(On={})),new Map([...["abw"].map((t=>[t,On.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,On.AUDIO])),...["avi"].map((t=>[t,On.AVI])),...["chm","xhs"].map((t=>[t,On.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,On.CODE])),...["csv"].map((t=>[t,On.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,On.DITA])),...["epub"].map((t=>[t,On.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,On.EXCEL])),...["flac"].map((t=>[t,On.FLAC])),...["gif"].map((t=>[t,On.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,On.GZIP])),...["html","htm","xhtml"].map((t=>[t,On.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,On.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,On.JPEG])),...["json"].map((t=>[t,On.JSON])),...["m4a","m4p"].map((t=>[t,On.M4A])),...["mov","qt"].map((t=>[t,On.MOV])),...["mp3"].map((t=>[t,On.MP3])),...["mp4","m4v"].map((t=>[t,On.MP4])),...["ogg","oga"].map((t=>[t,On.OGG])),...["pdf","ps"].map((t=>[t,On.PDF])),...["png"].map((t=>[t,On.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,On.POWERPOINT])),...["rar"].map((t=>[t,On.RAR])),...["stp"].map((t=>[t,On.STP])),...["txt","rtf","md","mdown"].map((t=>[t,On.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,On.VIDEO])),...["wav"].map((t=>[t,On.WAV])),...["wma"].map((t=>[t,On.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,On.WORD])),...["xml","xsl","rdf"].map((t=>[t,On.XML])),...["yaml","yml","x-yaml"].map((t=>[t,On.YAML])),...["zip"].map((t=>[t,On.ZIP]))]),On.ABW,On.AUDIO,On.AVI,On.CHM,On.CODE,On.CSV,On.DITA,On.EPUB,On.EXCEL,On.FLAC,On.GIF,On.GZIP,On.HTML,On.IMAGE,On.JPEG,On.JSON,On.M4A,On.MOV,On.MP3,On.MP4,On.OGG,On.PDF,On.PNG,On.POWERPOINT,On.RAR,On.STP,On.TEXT,On.UNKNOWN,On.VIDEO,On.WAV,On.WMA,On.WORD,On.XML,On.YAML,On.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Sn||(Sn={}));var wn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Nn extends Ho{constructor(){super(...arguments),this.resolvedIcon=ce}render(){const t=this.variant&&Object.values(Sn).includes(this.variant)?this.variant:Sn.fluid_topics,e=t!==Sn.material||!!this.value;return se`
|
|
694
695
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
695
696
|
${xn(this.resolvedIcon)}
|
|
696
697
|
<slot ?hidden=${e}></slot>
|
|
697
698
|
</i>
|
|
698
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Sn.file_format:this.resolvedIcon=null!==(t=On[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Sn.material:this.resolvedIcon=this.value||ce;break;default:this.resolvedIcon=null!==(e=vn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Nn.elementDefinitions={},Nn.styles=
|
|
699
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Sn.file_format:this.resolvedIcon=null!==(t=On[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Sn.material:this.resolvedIcon=this.value||ce;break;default:this.resolvedIcon=null!==(e=vn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Nn.elementDefinitions={},Nn.styles=Yr,wn([$()],Nn.prototype,"variant",void 0),wn([$()],Nn.prototype,"value",void 0),wn([C()],Nn.prototype,"resolvedIcon",void 0),wn([E("slot")],Nn.prototype,"slottedContent",void 0),W("ft-icon")(Nn);class $n extends Ho{render(){return se`
|
|
699
700
|
<div class="ft-loader">
|
|
700
701
|
<div></div>
|
|
701
702
|
<div></div>
|
|
702
703
|
<div></div>
|
|
703
704
|
<div></div>
|
|
704
705
|
</div>
|
|
705
|
-
`}}$n.styles=
|
|
706
|
+
`}}$n.styles=Gr,W("ft-loader")($n);var Cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class kn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[ei].form}constructor(...t){super(t),this[ei]=this.attachInternals(),this[ei].role=e}setFormValue(t){this[ei].setFormValue(t)}}}(Ho,"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 e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(se`
|
|
706
707
|
<button part="button"
|
|
707
|
-
class="${
|
|
708
|
+
class="${an(this.buttonClasses)}"
|
|
708
709
|
aria-label="${this.getLabel()}"
|
|
709
710
|
?disabled=${this.isDisabled()}>
|
|
710
711
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
711
712
|
<ft-typography part="label"
|
|
712
713
|
variant=${this.typographyVariant}
|
|
713
714
|
element="span"
|
|
714
|
-
class="ft-button--label ${
|
|
715
|
+
class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
|
|
715
716
|
?hidden=${!this.hasTextContent()}>
|
|
716
717
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
717
718
|
</ft-typography>
|
|
@@ -725,7 +726,7 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
725
726
|
</ft-tooltip>
|
|
726
727
|
`:t}resolveIcon(){return this.loading?se`
|
|
727
728
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?se`
|
|
728
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ce}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}}kn.elementDefinitions={"ft-ripple":
|
|
729
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ce}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}}kn.elementDefinitions={"ft-ripple":ln,"ft-tooltip":bn,"ft-typography":Nr,"ft-icon":Nn,"ft-loader":$n},Cn([$({type:String,reflect:!0})],kn.prototype,"role",void 0),Cn([$()],kn.prototype,"type",void 0),Cn([$({type:Boolean})],kn.prototype,"disabled",void 0),Cn([$()],kn.prototype,"label",void 0),Cn([$()],kn.prototype,"icon",void 0),Cn([$()],kn.prototype,"iconVariant",void 0),Cn([$({type:Boolean})],kn.prototype,"trailingIcon",void 0),Cn([$({type:Boolean})],kn.prototype,"loading",void 0),Cn([$()],kn.prototype,"tooltipPosition",void 0),Cn([$({type:Boolean})],kn.prototype,"hideTooltip",void 0),Cn([$({type:Boolean})],kn.prototype,"forceTooltip",void 0),Cn([E(".ft-button")],kn.prototype,"button",void 0),Cn([E(".ft-button--label slot")],kn.prototype,"slottedContent",void 0);var Rn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends kn{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"}}En.styles=[_o,nn],Rn([$({type:Boolean})],En.prototype,"primary",void 0),Rn([$({type:Boolean})],En.prototype,"outlined",void 0),Rn([$({type:Boolean})],En.prototype,"dense",void 0),Rn([$({type:Boolean})],En.prototype,"round",void 0);const Un=[$t`
|
|
729
730
|
:host {
|
|
730
731
|
display: inline-block;
|
|
731
732
|
max-width: 100%;
|
|
@@ -804,13 +805,13 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
804
805
|
/** Primary styles **/
|
|
805
806
|
|
|
806
807
|
.ft-button--primary {
|
|
807
|
-
${ke(
|
|
808
|
+
${ke(_r.color,Ie.primaryIconColor)};
|
|
808
809
|
|
|
809
|
-
${ke(
|
|
810
|
-
${ke(
|
|
811
|
-
${ke(
|
|
812
|
-
${ke(
|
|
813
|
-
${ke(
|
|
810
|
+
${ke(Zr.color,Ie.primaryStateLayerColor)};
|
|
811
|
+
${ke(Zr.opacityContentOnSurfaceHover,Ie.primaryStateLayerOpacityHover)};
|
|
812
|
+
${ke(Zr.opacityContentOnSurfaceFocused,Ie.primaryStateLayerOpacityFocus)};
|
|
813
|
+
${ke(Zr.opacityContentOnSurfaceSelected,Ie.primaryStateLayerOpacityActive)};
|
|
814
|
+
${ke(Zr.opacityContentOnSurfacePressed,Ie.primaryStateLayerOpacityActive)};
|
|
814
815
|
|
|
815
816
|
background-color: ${Ie.primaryBackgroundColor};
|
|
816
817
|
color: ${Ie.primaryColor};
|
|
@@ -828,13 +829,13 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
828
829
|
/** Secondary styles **/
|
|
829
830
|
|
|
830
831
|
.ft-button--secondary {
|
|
831
|
-
${ke(
|
|
832
|
+
${ke(_r.color,Ie.secondaryIconColor)};
|
|
832
833
|
|
|
833
|
-
${ke(
|
|
834
|
-
${ke(
|
|
835
|
-
${ke(
|
|
836
|
-
${ke(
|
|
837
|
-
${ke(
|
|
834
|
+
${ke(Zr.color,Ie.secondaryStateLayerColor)};
|
|
835
|
+
${ke(Zr.opacityContentOnSurfaceHover,Ie.secondaryStateLayerOpacityHover)};
|
|
836
|
+
${ke(Zr.opacityContentOnSurfaceFocused,Ie.secondaryStateLayerOpacityFocus)};
|
|
837
|
+
${ke(Zr.opacityContentOnSurfaceSelected,Ie.secondaryStateLayerOpacityActive)};
|
|
838
|
+
${ke(Zr.opacityContentOnSurfacePressed,Ie.secondaryStateLayerOpacityActive)};
|
|
838
839
|
|
|
839
840
|
background-color: ${Ie.secondaryBackgroundColor};
|
|
840
841
|
color: ${Ie.secondaryColor};
|
|
@@ -853,13 +854,13 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
853
854
|
/** Tertiary styles **/
|
|
854
855
|
|
|
855
856
|
.ft-button--tertiary {
|
|
856
|
-
${ke(
|
|
857
|
+
${ke(_r.color,Ie.tertiaryIconColor)};
|
|
857
858
|
|
|
858
|
-
${ke(
|
|
859
|
-
${ke(
|
|
860
|
-
${ke(
|
|
861
|
-
${ke(
|
|
862
|
-
${ke(
|
|
859
|
+
${ke(Zr.color,Ie.tertiaryStateLayerColor)};
|
|
860
|
+
${ke(Zr.opacityContentOnSurfaceHover,Ie.tertiaryStateLayerOpacityHover)};
|
|
861
|
+
${ke(Zr.opacityContentOnSurfaceFocused,Ie.tertiaryStateLayerOpacityFocus)};
|
|
862
|
+
${ke(Zr.opacityContentOnSurfaceSelected,Ie.tertiaryStateLayerOpacityActive)};
|
|
863
|
+
${ke(Zr.opacityContentOnSurfacePressed,Ie.tertiaryStateLayerOpacityActive)};
|
|
863
864
|
|
|
864
865
|
background-color: ${Ie.tertiaryBackgroundColor};
|
|
865
866
|
color: ${Ie.tertiaryColor};
|
|
@@ -877,13 +878,13 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
877
878
|
/** Neutral styles **/
|
|
878
879
|
|
|
879
880
|
.ft-button--neutral {
|
|
880
|
-
${ke(
|
|
881
|
+
${ke(_r.color,Ie.neutralIconColor)};
|
|
881
882
|
|
|
882
|
-
${ke(
|
|
883
|
-
${ke(
|
|
884
|
-
${ke(
|
|
885
|
-
${ke(
|
|
886
|
-
${ke(
|
|
883
|
+
${ke(Zr.backgroundColor,Ie.neutralStateLayerColor)};
|
|
884
|
+
${ke(Zr.opacityContentOnSurfaceHover,Ie.neutralStateLayerOpacityHover)};
|
|
885
|
+
${ke(Zr.opacityContentOnSurfaceFocused,Ie.neutralStateLayerOpacityFocus)};
|
|
886
|
+
${ke(Zr.opacityContentOnSurfaceSelected,Ie.neutralStateLayerOpacityActive)};
|
|
887
|
+
${ke(Zr.opacityContentOnSurfacePressed,Ie.neutralStateLayerOpacityActive)};
|
|
887
888
|
|
|
888
889
|
background-color: ${Ie.neutralBackgroundColor};
|
|
889
890
|
color: ${Ie.neutralColor};
|
|
@@ -901,8 +902,8 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
901
902
|
/** Large styles **/
|
|
902
903
|
|
|
903
904
|
.ft-button--large {
|
|
904
|
-
${ke(
|
|
905
|
-
${ke(
|
|
905
|
+
${ke(Vr.size,Ie.largeIconSize)};
|
|
906
|
+
${ke(_r.size,Ie.largeIconSize)};
|
|
906
907
|
|
|
907
908
|
height: ${Ie.largeHeight};
|
|
908
909
|
padding: 0 ${Ie.largeHorizontalPadding};
|
|
@@ -924,8 +925,8 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
924
925
|
/** Small styles **/
|
|
925
926
|
|
|
926
927
|
.ft-button--small {
|
|
927
|
-
${ke(
|
|
928
|
-
${ke(
|
|
928
|
+
${ke(Vr.size,Ie.smallIconSize)};
|
|
929
|
+
${ke(_r.size,Ie.smallIconSize)};
|
|
929
930
|
|
|
930
931
|
height: ${Ie.smallHeight};
|
|
931
932
|
padding: 0 ${Ie.smallHorizontalPadding};
|
|
@@ -943,7 +944,7 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
943
944
|
width: ${Ie.smallIconOnlyWidth};
|
|
944
945
|
padding: unset;
|
|
945
946
|
}
|
|
946
|
-
`,
|
|
947
|
+
`,To];var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends kn{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?hi.caption1medium:hi.body2medium}}Ln.styles=[_o,Un],In([$({type:Boolean})],Ln.prototype,"primary",void 0),In([$({type:Boolean})],Ln.prototype,"secondary",void 0),In([$({type:Boolean})],Ln.prototype,"tertiary",void 0),In([$({type:Boolean})],Ln.prototype,"neutral",void 0),In([$({type:Boolean})],Ln.prototype,"small",void 0),W("ft-button")(En),W("ftds-button")(Ln);const Wn=Ce.extend("--ft-checkbox-text-color","",Le.colorOnSurfaceHigh),zn=Ce.extend("--ft-checkbox-font-size","",ui.fontSize),Fn=Ce.external(Le.colorPrimary,"Design system"),Kn=Ce.external(Le.colorOnPrimary,"Design system"),Bn=Ce.extend("--ft-checkbox-border-color","",Le.colorOnSurfaceMedium),Zn=Ce.external(Le.colorOnSurfaceDisabled,"Design system"),Dn=$t`
|
|
947
948
|
* {
|
|
948
949
|
box-sizing: border-box;
|
|
949
950
|
}
|
|
@@ -1021,8 +1022,8 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
1021
1022
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1022
1023
|
opacity: 1;
|
|
1023
1024
|
}
|
|
1024
|
-
`;var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mn extends
|
|
1025
|
-
<label class="${
|
|
1025
|
+
`;var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mn extends Ho{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return se`
|
|
1026
|
+
<label class="${an(t)}" for="checkbox-input">
|
|
1026
1027
|
<div class="ft-checkbox--box-container">
|
|
1027
1028
|
<ft-ripple
|
|
1028
1029
|
?disabled=${this.disabled}
|
|
@@ -1047,7 +1048,7 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
1047
1048
|
<slot></slot>
|
|
1048
1049
|
</ft-typography>
|
|
1049
1050
|
</label>
|
|
1050
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Mn.elementDefinitions={"ft-ripple":
|
|
1051
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Mn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Mn.styles=Dn,An([$()],Mn.prototype,"name",void 0),An([$({type:Boolean,reflect:!0})],Mn.prototype,"checked",void 0),An([$({type:Boolean})],Mn.prototype,"indeterminate",void 0),An([$({type:Boolean})],Mn.prototype,"disabled",void 0),An([E(".ft-checkbox")],Mn.prototype,"container",void 0),An([E("ft-ripple")],Mn.prototype,"ripple",void 0),W("ft-checkbox")(Mn);const Pn=Ce.extend("--ft-radio-text-color","",Le.colorOnSurfaceHigh),Hn=Ce.external(Le.colorPrimary,"Design system"),jn=(Ce.external(Le.colorOnPrimary,"Design system"),Ce.extend("--ft-radio-border-color","",Le.colorOnSurfaceMedium)),Tn=Ce.external(Le.colorOnSurfaceDisabled,"Design system"),_n=$t`
|
|
1051
1052
|
* {
|
|
1052
1053
|
box-sizing: border-box;
|
|
1053
1054
|
}
|
|
@@ -1126,8 +1127,8 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
1126
1127
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1127
1128
|
background-color: ${Tn};
|
|
1128
1129
|
}
|
|
1129
|
-
`;var Gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Yn extends
|
|
1130
|
-
<div class="${
|
|
1130
|
+
`;var Gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Yn extends Ho{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return se`
|
|
1131
|
+
<div class="${an(t)}">
|
|
1131
1132
|
<div class="ft-radio--box-container">
|
|
1132
1133
|
<ft-ripple
|
|
1133
1134
|
?disabled=${this.disabled}
|
|
@@ -1151,11 +1152,11 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
1151
1152
|
</ft-typography>
|
|
1152
1153
|
</label>
|
|
1153
1154
|
</div>
|
|
1154
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Vn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Vn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Yn.elementDefinitions={"ft-ripple":
|
|
1155
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Vn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Vn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Yn.elementDefinitions={"ft-ripple":ln,"ft-typography":Nr},Yn.styles=_n,Gn([$()],Yn.prototype,"value",void 0),Gn([$()],Yn.prototype,"name",void 0),Gn([$({type:Boolean,reflect:!0})],Yn.prototype,"checked",void 0),Gn([$({type:Boolean})],Yn.prototype,"disabled",void 0),Gn([E(".ft-radio")],Yn.prototype,"container",void 0),Gn([E("ft-ripple")],Yn.prototype,"ripple",void 0),Gn([E("input")],Yn.prototype,"input",void 0);const Jn=$t`
|
|
1155
1156
|
:host {
|
|
1156
1157
|
display: contents;
|
|
1157
1158
|
}
|
|
1158
|
-
`;var qn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends
|
|
1159
|
+
`;var qn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends Ho{constructor(){super(...arguments),this.name=""}render(){return se`
|
|
1159
1160
|
<slot @slotchange=${this.onSlotChange}
|
|
1160
1161
|
@change=${this.onChange}
|
|
1161
1162
|
@keydown=${this.onKeyDown}
|
|
@@ -1166,7 +1167,7 @@ class mn extends ki{constructor(t){if(super(t),this.et=it,t.type!==$i)throw Erro
|
|
|
1166
1167
|
* Copyright 2021 Google LLC
|
|
1167
1168
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1168
1169
|
*/
|
|
1169
|
-
function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),W("ft-radio")(Yn),W("ft-radio-group")(Xn);const Qn={borderRadiusM:Ce.external(Le.borderRadiusM,"Design system"),colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ce.external(Le.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorOnPrimary:Ce.external(Le.colorOnPrimary,"Design system"),fontFamily:Ce.external(
|
|
1170
|
+
function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),W("ft-radio")(Yn),W("ft-radio-group")(Xn);const Qn={borderRadiusM:Ce.external(Le.borderRadiusM,"Design system"),colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ce.external(Le.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorOnPrimary:Ce.external(Le.colorOnPrimary,"Design system"),fontFamily:Ce.external(Ti.fontFamily,"Body2 typography"),fontSize:Ce.external(Ti.fontSize,"Body2 typography"),fontWeight:Ce.external(Ti.fontWeight,"Body2 typography"),letterSpacing:Ce.external(Ti.letterSpacing,"Body2 typography"),lineHeight:Ce.external(Ti.lineHeight,"Body2 typography"),textTransform:Ce.external(Ti.textTransform,"Body2 typography")},ta=$t`
|
|
1170
1171
|
.ft-filter-level--container {
|
|
1171
1172
|
display: flex;
|
|
1172
1173
|
flex-direction: column;
|
|
@@ -1216,7 +1217,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1216
1217
|
}
|
|
1217
1218
|
|
|
1218
1219
|
ft-button {
|
|
1219
|
-
${ke(
|
|
1220
|
+
${ke(qr.color,Qn.colorOnSurface)};
|
|
1220
1221
|
}
|
|
1221
1222
|
|
|
1222
1223
|
ft-radio, ft-checkbox {
|
|
@@ -1232,7 +1233,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1232
1233
|
margin: 10px 0;
|
|
1233
1234
|
color: ${Qn.colorOnSurfaceMedium};
|
|
1234
1235
|
}
|
|
1235
|
-
`;var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends
|
|
1236
|
+
`;var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends Ho{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return se`
|
|
1236
1237
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1237
1238
|
${null==this.parent?null:se`
|
|
1238
1239
|
<div tabindex="0"
|
|
@@ -1251,7 +1252,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1251
1252
|
${this.noValuesLabel}
|
|
1252
1253
|
</ft-typography>
|
|
1253
1254
|
`:ce}
|
|
1254
|
-
${
|
|
1255
|
+
${Kr(e,(t=>t.value),(t=>{var e;return se`
|
|
1255
1256
|
<div class="ft-filter-level--option" part="options">
|
|
1256
1257
|
${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
|
|
1257
1258
|
${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ce:se`
|
|
@@ -1296,7 +1297,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1296
1297
|
@change=${t=>t.stopPropagation()}>
|
|
1297
1298
|
${t.renderOption?t.renderOption:t.label}
|
|
1298
1299
|
</ft-radio>
|
|
1299
|
-
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}oa.elementDefinitions={"ft-button":En,"ft-ripple":
|
|
1300
|
+
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}oa.elementDefinitions={"ft-button":En,"ft-ripple":ln,"ft-typography":Nr,"ft-checkbox":Mn,"ft-icon":Nn,"ft-radio":Yn},oa.styles=ta,ea([$({type:String})],oa.prototype,"filterId",void 0),ea([$({type:Object})],oa.prototype,"parent",void 0),ea([$({type:Array})],oa.prototype,"options",void 0),ea([$({type:Boolean})],oa.prototype,"multivalued",void 0),ea([$({type:Boolean})],oa.prototype,"disabled",void 0),ea([$({type:Boolean})],oa.prototype,"hideSelectedOptions",void 0),ea([$({type:Boolean})],oa.prototype,"preventNavigation",void 0),ea([$({type:String})],oa.prototype,"filter",void 0),ea([$({type:String})],oa.prototype,"moreValuesButtonLabel",void 0),ea([$({type:String})],oa.prototype,"noValuesLabel",void 0),ea([$({type:Number})],oa.prototype,"displayedValuesLimit",void 0),ea([E(".ft-filter-level--container")],oa.prototype,"container",void 0),ea([C()],oa.prototype,"displayedPages",void 0);const ia={buttonsColor:Ce.extend("--ft-snap-scroll-buttons-color","",Le.colorPrimary),buttonsZIndex:Ce.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ce.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ce.external(Le.colorSurface,"Design system")},ra=$t`
|
|
1300
1301
|
.ft-snap-scroll {
|
|
1301
1302
|
box-sizing: border-box;
|
|
1302
1303
|
position: relative;
|
|
@@ -1377,8 +1378,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1377
1378
|
z-index: ${ia.buttonsZIndex};
|
|
1378
1379
|
opacity: 1;
|
|
1379
1380
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1380
|
-
${ke(
|
|
1381
|
-
${ke(
|
|
1381
|
+
${ke(qr.backgroundColor,"transparent")};
|
|
1382
|
+
${ke(qr.color,ia.buttonsColor)};
|
|
1382
1383
|
}
|
|
1383
1384
|
|
|
1384
1385
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1421,7 +1422,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1421
1422
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1422
1423
|
background-color: ${ia.colorSurface};
|
|
1423
1424
|
}
|
|
1424
|
-
`;var na=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class aa extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class sa extends
|
|
1425
|
+
`;var na=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class aa extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class sa extends Ho{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 e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}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=an({"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":ni}),e=this.controls&&this.withScroll;return se`
|
|
1425
1426
|
<div part="container" class="${t}">
|
|
1426
1427
|
<ft-button
|
|
1427
1428
|
class="ft-snap-scroll--previous"
|
|
@@ -1445,7 +1446,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1445
1446
|
@click=${this.next}
|
|
1446
1447
|
></ft-button>
|
|
1447
1448
|
</div>
|
|
1448
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}sa.elementDefinitions={"ft-button":En},sa.styles=ra,na([$({type:Boolean})],sa.prototype,"horizontal",void 0),na([$({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([$({type:Boolean})],sa.prototype,"controls",void 0),na([$({type:Boolean})],sa.prototype,"limitSize",void 0),na([C()],sa.prototype,"elements",void 0),na([C()],sa.prototype,"currentElement",void 0),na([C()],sa.prototype,"withScroll",void 0),na([C()],sa.prototype,"startReached",void 0),na([C()],sa.prototype,"endReached",void 0),na([E(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),W("ft-snap-scroll")(sa);const la={colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorSurface:Ce.external(Le.colorSurface,"Design system"),transitionDuration:Ce.external(Le.transitionDuration,"Design system"),transitionTimingFunction:Ce.external(Le.transitionTimingFunction,"Design system"),labelColor:Ce.extend("--ft-filter-label-color","",Le.colorOnSurface),labelFontSize:Ce.extend("--ft-filter-label-font-size","",
|
|
1449
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}sa.elementDefinitions={"ft-button":En},sa.styles=ra,na([$({type:Boolean})],sa.prototype,"horizontal",void 0),na([$({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([$({type:Boolean})],sa.prototype,"controls",void 0),na([$({type:Boolean})],sa.prototype,"limitSize",void 0),na([C()],sa.prototype,"elements",void 0),na([C()],sa.prototype,"currentElement",void 0),na([C()],sa.prototype,"withScroll",void 0),na([C()],sa.prototype,"startReached",void 0),na([C()],sa.prototype,"endReached",void 0),na([E(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),W("ft-snap-scroll")(sa);const la={colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorSurface:Ce.external(Le.colorSurface,"Design system"),transitionDuration:Ce.external(Le.transitionDuration,"Design system"),transitionTimingFunction:Ce.external(Le.transitionTimingFunction,"Design system"),labelColor:Ce.extend("--ft-filter-label-color","",Le.colorOnSurface),labelFontSize:Ce.extend("--ft-filter-label-font-size","",ui.fontSize,"16px")},ca=[br,$t`
|
|
1449
1450
|
:host {
|
|
1450
1451
|
display: flex;
|
|
1451
1452
|
max-height: 100%;
|
|
@@ -1472,7 +1473,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1472
1473
|
.ft-filter--header ft-button {
|
|
1473
1474
|
flex-shrink: 0;
|
|
1474
1475
|
margin-left: auto;
|
|
1475
|
-
${ke(
|
|
1476
|
+
${ke(qr.iconSize,"18px")};
|
|
1476
1477
|
}
|
|
1477
1478
|
|
|
1478
1479
|
.ft-filter--label {
|
|
@@ -1482,8 +1483,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1482
1483
|
word-break: break-word;
|
|
1483
1484
|
color: ${la.labelColor};
|
|
1484
1485
|
font-size: ${la.labelFontSize};
|
|
1485
|
-
${ke(
|
|
1486
|
-
${ke(
|
|
1486
|
+
${ke(ui.lineHeight,"22px")};
|
|
1487
|
+
${ke(ui.fontWeight,"bold")};
|
|
1487
1488
|
}
|
|
1488
1489
|
|
|
1489
1490
|
.ft-filter--filter {
|
|
@@ -1557,7 +1558,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1557
1558
|
slot:not([name]) {
|
|
1558
1559
|
display: none;
|
|
1559
1560
|
}
|
|
1560
|
-
`];var fa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ha extends CustomEvent{constructor(t){super("change",{detail:t})}}class pa extends
|
|
1561
|
+
`];var fa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ha extends CustomEvent{constructor(t){super("change",{detail:t})}}class pa extends Ho{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return I(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return I(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return se`
|
|
1561
1562
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1562
1563
|
part="container">
|
|
1563
1564
|
${this.label||t?se`
|
|
@@ -1629,6 +1630,6 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1629
1630
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1630
1631
|
noValuesLabel="${this.noValuesLabel}"
|
|
1631
1632
|
></ft-filter-level>
|
|
1632
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;L(this.lastDispatchedValues,t)||(this.dispatchEvent(new ha(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}pa.elementDefinitions={"ft-button":En,"ft-filter-level":oa,"ft-snap-scroll":sa,"ft-typography":
|
|
1633
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;L(this.lastDispatchedValues,t)||(this.dispatchEvent(new ha(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}pa.elementDefinitions={"ft-button":En,"ft-filter-level":oa,"ft-snap-scroll":sa,"ft-typography":Nr},pa.styles=ca,fa([$({type:String})],pa.prototype,"id",void 0),fa([$({type:String})],pa.prototype,"label",void 0),fa([$({type:String})],pa.prototype,"filterPlaceHolder",void 0),fa([$({type:String})],pa.prototype,"clearButtonLabel",void 0),fa([$({type:String})],pa.prototype,"moreValuesButtonLabel",void 0),fa([$({type:String})],pa.prototype,"noValuesLabel",void 0),fa([z([])],pa.prototype,"options",void 0),fa([$({type:Boolean})],pa.prototype,"multivalued",void 0),fa([$({type:Boolean})],pa.prototype,"disabled",void 0),fa([$({type:Boolean})],pa.prototype,"raiseSelectedOptions",void 0),fa([$({type:Number})],pa.prototype,"displayedValuesLimit",void 0),fa([$({type:Boolean})],pa.prototype,"hideClearButton",void 0),fa([E(".ft-filter--slot")],pa.prototype,"slotElement",void 0),fa([E(".ft-filter--container")],pa.prototype,"container",void 0),fa([E(".ft-filter--values")],pa.prototype,"valuesContainer",void 0),fa([E(".ft-filter--levels")],pa.prototype,"levelsContainer",void 0),fa([C()],pa.prototype,"lastLevelHasHiddenvalues",void 0),fa([E(".ft-filter--filter input")],pa.prototype,"filterInput",void 0),fa([function(t){return(e,o)=>R(0,0,{get(){return(this.renderRoot??(U??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],pa.prototype,"levels",void 0),fa([C()],pa.prototype,"withScroll",void 0),fa([C()],pa.prototype,"filter",void 0),fa([C()],pa.prototype,"slideIn",void 0),fa([C()],pa.prototype,"slideOut",void 0);var da=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ua extends Ho{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return se`
|
|
1633
1634
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1634
1635
|
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ua.elementDefinitions={},da([$({type:String})],ua.prototype,"label",void 0),da([$({type:Object,converter:t=>t})],ua.prototype,"value",void 0),da([$({type:Boolean,reflect:!0})],ua.prototype,"selected",void 0),da([$({type:Object})],ua.prototype,"subOptions",void 0),da([z({})],ua.prototype,"renderOption",void 0),da([E(".ft-filter-option--slot")],ua.prototype,"slotElement",void 0),W("ft-filter")(pa),W("ft-filter-option")(ua),t.FtFilter=pa,t.FtFilterChangeEvent=ha,t.FtFilterCssVariables=la,t.FtFilterLevelCssVariables=Qn,t.FtFilterOption=ua,t.levelStyles=ta,t.styles=ca}({});
|