@fluid-topics/ft-file-drop 1.1.9 → 1.1.11
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-file-drop.light.js +46 -46
- package/build/ft-file-drop.min.js +52 -52
- package/package.json +4 -4
|
@@ -43,12 +43,12 @@ const S={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},N=(t=S,o,
|
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
46
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function
|
|
51
|
+
*/;function R(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
@@ -70,7 +70,7 @@ const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeS
|
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/,{is:vt,defineProperty:Ot,getOwnPropertyDescriptor:St,getOwnPropertyNames:Nt,getOwnPropertySymbols:wt,getPrototypeOf:Ct}=Object,$t=globalThis,
|
|
73
|
+
*/,{is:vt,defineProperty:Ot,getOwnPropertyDescriptor:St,getOwnPropertyNames:Nt,getOwnPropertySymbols:wt,getPrototypeOf:Ct}=Object,$t=globalThis,Et=$t.trustedTypes,Rt=Et?Et.emptyScript:"",kt=$t.reactiveElementPolyfillSupport,Ut=(t,o)=>t,It={toAttribute(t,o){switch(o){case Boolean:t=t?Rt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Lt=(t,o)=>!vt(t,o),Wt={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),$t.litPropertyMetadata??=new WeakMap;class zt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Wt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Ot(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Wt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,o=[...Nt(t),...wt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(xt(t))}else void 0!==t&&o.push(xt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(dt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=ht.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:It).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:It;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Lt)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Ut("elementProperties")]=new Map,zt[Ut("finalized")]=new Map,kt?.({ReactiveElement:zt}),($t.reactiveElementVersions??=[]).push("2.0.2");
|
|
74
74
|
/**
|
|
75
75
|
* @license
|
|
76
76
|
* Copyright 2017 Google LLC
|
|
@@ -82,12 +82,12 @@ const Kt=globalThis,Ft=Kt.trustedTypes,Zt=Ft?Ft.createPolicy("lit-html",{createH
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class vo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oo(t,o){return xo(`${t.name}: ${o}`)}const So={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},Co={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:vo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:vo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};vo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),vo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),vo.extend("--ft-tabs-label-gap","",So.spacing1),vo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-group-vertical-padding","",So.spacing1),vo.extend("--ft-switch-group-gap","",So.spacing1),vo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),vo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),vo.create("--ft-switch-group-border-radius","","SIZE","6px"),vo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),vo.extend("--ft-switch-label-vertical-padding","",So.spacing1),vo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),vo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),vo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),vo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),vo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),vo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),vo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),vo.extend("--ft-chart-3-light","",So.colorUltramarine40),vo.extend("--ft-chart-3-base","",So.colorUltramarine70),vo.extend("--ft-chart-4-light","",So.colorCyan50),vo.extend("--ft-chart-4-base","",So.colorCyan100),vo.extend("--ft-chart-5-light","",So.colorRed40),vo.extend("--ft-chart-5-base","",So.colorRed60),vo.extend("--ft-chart-6-light","",So.colorGreen40),vo.extend("--ft-chart-6-base","",So.colorGreen70),vo.extend("--ft-chart-7-light","",So.colorOrange70),vo.extend("--ft-chart-7-base","",So.colorOrange100),vo.extend("--ft-chart-8-light","",So.colorAvocado70),vo.extend("--ft-chart-8-base","",So.colorAvocado200),vo.extend("--ft-chart-9-light","",So.colorBrown50),vo.extend("--ft-chart-9-base","",So.colorBrown200),vo.extend("--ft-chart-10-light","",So.colorGray50),vo.extend("--ft-chart-10-base","",So.colorGray80),vo.extend("--ft-chart-monochrome-10","",So.colorBrand10),vo.extend("--ft-chart-monochrome-20","",So.colorBrand20),vo.extend("--ft-chart-monochrome-30","",So.colorBrand40),vo.extend("--ft-chart-monochrome-40","",So.colorBrand60),vo.extend("--ft-chart-monochrome-50","",So.colorBrand0),vo.extend("--ft-chart-monochrome-60","",So.colorBrand200),vo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),vo.extend("--ft-chip-large-vertical-padding","",So.spacing2),vo.extend("--ft-chip-large-gap","",So.spacing1),vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-large-border-width","","SIZE","1px"),vo.extend("--ft-chip-large-icon-size","",So.iconSize3),vo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),vo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),vo.extend("--ft-chip-medium-gap","",So.spacing1),vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-medium-border-width","","SIZE","1px"),vo.extend("--ft-chip-medium-icon-size","",So.iconSize2),vo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),vo.extend("--ft-chip-small-vertical-padding","",So.spacing05),vo.extend("--ft-chip-small-gap","",So.spacing1),vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-small-border-width","","SIZE","1px"),vo.extend("--ft-chip-small-icon-size","",So.iconSize1),vo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),vo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),vo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),vo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),vo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),vo.create("--ft-notice-border-width","","SIZE","1px"),vo.extend("--ft-notice-horizontal-padding","",So.spacing2),vo.extend("--ft-notice-vertical-padding","",So.spacing1),vo.extend("--ft-notice-border-radius","",So.borderRadiusS),vo.extend("--ft-notice-gap","",So.spacing2),vo.extend("--ft-notice-icon-size","",So.iconSize3),vo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vo.extend("--ft-checkbox-gap","",So.spacing3),vo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-toggle-gap","",So.spacing3),vo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),vo.extend("--ft-radio-gap","",So.spacing3),vo.extend("--ft-notification-icon-size","",So.iconSize4),vo.extend("--ft-notification-horizontal-padding","",So.spacing4),vo.extend("--ft-notification-vertical-padding","",So.spacing4),vo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),vo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),vo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),vo.extend("--ft-notification-border-radius","",So.borderRadiusPill),vo.create("--ft-notification-border-width","","SIZE","1px"),vo.extend("--ft-notification-gap-leading","",So.spacing2),vo.extend("--ft-notification-gap-trailing","",So.spacing8);const $o={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=window,Eo=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
85
|
+
class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class vo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oo(t,o){return xo(`${t.name}: ${o}`)}const So={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},wo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},Co={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:vo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:vo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};vo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),vo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),vo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),vo.extend("--ft-tabs-label-gap","",So.spacing1),vo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-group-vertical-padding","",So.spacing1),vo.extend("--ft-switch-group-gap","",So.spacing1),vo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),vo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),vo.create("--ft-switch-group-border-radius","","SIZE","6px"),vo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),vo.extend("--ft-switch-label-vertical-padding","",So.spacing1),vo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),vo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),vo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),vo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),vo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),vo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),vo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),vo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),vo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),vo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),vo.extend("--ft-chart-3-light","",So.colorUltramarine40),vo.extend("--ft-chart-3-base","",So.colorUltramarine70),vo.extend("--ft-chart-4-light","",So.colorCyan50),vo.extend("--ft-chart-4-base","",So.colorCyan100),vo.extend("--ft-chart-5-light","",So.colorRed40),vo.extend("--ft-chart-5-base","",So.colorRed60),vo.extend("--ft-chart-6-light","",So.colorGreen40),vo.extend("--ft-chart-6-base","",So.colorGreen70),vo.extend("--ft-chart-7-light","",So.colorOrange70),vo.extend("--ft-chart-7-base","",So.colorOrange100),vo.extend("--ft-chart-8-light","",So.colorAvocado70),vo.extend("--ft-chart-8-base","",So.colorAvocado200),vo.extend("--ft-chart-9-light","",So.colorBrown50),vo.extend("--ft-chart-9-base","",So.colorBrown200),vo.extend("--ft-chart-10-light","",So.colorGray50),vo.extend("--ft-chart-10-base","",So.colorGray80),vo.extend("--ft-chart-monochrome-10","",So.colorBrand10),vo.extend("--ft-chart-monochrome-20","",So.colorBrand20),vo.extend("--ft-chart-monochrome-30","",So.colorBrand40),vo.extend("--ft-chart-monochrome-40","",So.colorBrand60),vo.extend("--ft-chart-monochrome-50","",So.colorBrand0),vo.extend("--ft-chart-monochrome-60","",So.colorBrand200),vo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),vo.extend("--ft-chip-large-vertical-padding","",So.spacing2),vo.extend("--ft-chip-large-gap","",So.spacing1),vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-large-border-width","","SIZE","1px"),vo.extend("--ft-chip-large-icon-size","",So.iconSize3),vo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),vo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),vo.extend("--ft-chip-medium-gap","",So.spacing1),vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-medium-border-width","","SIZE","1px"),vo.extend("--ft-chip-medium-icon-size","",So.iconSize2),vo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),vo.extend("--ft-chip-small-vertical-padding","",So.spacing05),vo.extend("--ft-chip-small-gap","",So.spacing1),vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),vo.create("--ft-chip-small-border-width","","SIZE","1px"),vo.extend("--ft-chip-small-icon-size","",So.iconSize1),vo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),vo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),vo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),vo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),vo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),vo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),vo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),vo.create("--ft-notice-border-width","","SIZE","1px"),vo.extend("--ft-notice-horizontal-padding","",So.spacing2),vo.extend("--ft-notice-vertical-padding","",So.spacing1),vo.extend("--ft-notice-border-radius","",So.borderRadiusS),vo.extend("--ft-notice-gap","",So.spacing2),vo.extend("--ft-notice-icon-size","",So.iconSize3),vo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),vo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vo.extend("--ft-checkbox-gap","",So.spacing3),vo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),vo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),vo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),vo.extend("--ft-toggle-gap","",So.spacing3),vo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),vo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),vo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),vo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),vo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),vo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),vo.extend("--ft-radio-gap","",So.spacing3),vo.extend("--ft-notification-icon-size","",So.iconSize4),vo.extend("--ft-notification-horizontal-padding","",So.spacing4),vo.extend("--ft-notification-vertical-padding","",So.spacing4),vo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),vo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),vo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),vo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),vo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),vo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),vo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),vo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),vo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),vo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),vo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),vo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),vo.extend("--ft-notification-border-radius","",So.borderRadiusPill),vo.create("--ft-notification-border-width","","SIZE","1px"),vo.extend("--ft-notification-gap-leading","",So.spacing2),vo.extend("--ft-notification-gap-trailing","",So.spacing8);const $o={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Eo=window,Ro=Eo.ShadowRoot&&(void 0===Eo.ShadyCSS||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2019 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/class ko extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{
|
|
90
|
+
*/class ko extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ro?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Eo.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Uo,Io=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Lo=Symbol("constructorPrototype"),Wo=Symbol("constructorName"),zo=Symbol("exportpartsDebouncer");class Ko extends ko{constructor(){super(),this[Uo]=new k(5),this[Wo]=this.constructor.name,this[Lo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wo]&&Object.setPrototypeOf(this,this[Lo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Uo=zo,Io([w()],Ko.prototype,"exportpartsPrefix",void 0),Io([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}([])],Ko.prototype,"exportpartsPrefixes",void 0),Io([w()],Ko.prototype,"customStylesheet",void 0);const Fo=vo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
91
91
|
.highlight-html-match {
|
|
92
92
|
background: ${Fo};
|
|
93
93
|
}
|
|
@@ -256,20 +256,20 @@ class bo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
256
256
|
<div class="ft-ripple--background"></div>
|
|
257
257
|
<div class="ft-ripple--effect"></div>
|
|
258
258
|
</div>
|
|
259
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}de.elementDefinitions={},de.styles=fe,he([w({type:Boolean})],de.prototype,"primary",void 0),he([w({type:Boolean})],de.prototype,"secondary",void 0),he([w({type:Boolean})],de.prototype,"unbounded",void 0),he([w({type:Boolean})],de.prototype,"activated",void 0),he([w({type:Boolean})],de.prototype,"selected",void 0),he([w({type:Boolean})],de.prototype,"disabled",void 0),he([C()],de.prototype,"hovered",void 0),he([C()],de.prototype,"focused",void 0),he([C()],de.prototype,"pressed",void 0),he([C()],de.prototype,"rippling",void 0),he([C()],de.prototype,"originX",void 0),he([C()],de.prototype,"originY",void 0),he([
|
|
259
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}de.elementDefinitions={},de.styles=fe,he([w({type:Boolean})],de.prototype,"primary",void 0),he([w({type:Boolean})],de.prototype,"secondary",void 0),he([w({type:Boolean})],de.prototype,"unbounded",void 0),he([w({type:Boolean})],de.prototype,"activated",void 0),he([w({type:Boolean})],de.prototype,"selected",void 0),he([w({type:Boolean})],de.prototype,"disabled",void 0),he([C()],de.prototype,"hovered",void 0),he([C()],de.prototype,"focused",void 0),he([C()],de.prototype,"pressed",void 0),he([C()],de.prototype,"rippling",void 0),he([C()],de.prototype,"originX",void 0),he([C()],de.prototype,"originY",void 0),he([R(".ft-ripple")],de.prototype,"ripple",void 0),he([R(".ft-ripple--effect")],de.prototype,"rippleEffect",void 0),I("ft-ripple")(de);
|
|
260
260
|
/**
|
|
261
261
|
* @license
|
|
262
262
|
* Copyright 2020 Google LLC
|
|
263
263
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
264
|
*/
|
|
265
|
-
const ue=Symbol.for(""),ye=t=>{if(t?.r===ue)return t?._$litStatic$},ge=t=>({_$litStatic$:t,r:ue}),be=new Map,me=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=ye(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=be.get(t))&&(a.raw=a,be.set(t,o=a)),e=s}return t(o,...e)})(q);var xe;!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"}(xe||(xe={}));const ve=vo.extend("--ft-typography-font-family","",$o.titleFont),Oe=vo.extend("--ft-typography-font-family","",$o.contentFont),Se={fontFamily:Oe,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ne=vo.extend("--ft-typography-title-font-family","",ve),we=vo.extend("--ft-typography-title-font-size","",Se.fontSize,"20px"),Ce=vo.extend("--ft-typography-title-font-weight","",Se.fontWeight,"normal"),$e=vo.extend("--ft-typography-title-letter-spacing","",Se.letterSpacing,"0.15px"),
|
|
265
|
+
const ue=Symbol.for(""),ye=t=>{if(t?.r===ue)return t?._$litStatic$},ge=t=>({_$litStatic$:t,r:ue}),be=new Map,me=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=ye(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=be.get(t))&&(a.raw=a,be.set(t,o=a)),e=s}return t(o,...e)})(q);var xe;!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"}(xe||(xe={}));const ve=vo.extend("--ft-typography-font-family","",$o.titleFont),Oe=vo.extend("--ft-typography-font-family","",$o.contentFont),Se={fontFamily:Oe,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ne=vo.extend("--ft-typography-title-font-family","",ve),we=vo.extend("--ft-typography-title-font-size","",Se.fontSize,"20px"),Ce=vo.extend("--ft-typography-title-font-weight","",Se.fontWeight,"normal"),$e=vo.extend("--ft-typography-title-letter-spacing","",Se.letterSpacing,"0.15px"),Ee=vo.extend("--ft-typography-title-line-height","",Se.lineHeight,"1.2"),Re=vo.extend("--ft-typography-title-text-transform","",Se.textTransform,"inherit"),ke=vo.extend("--ft-typography-title-dense-font-family","",ve),Ue=vo.extend("--ft-typography-title-dense-font-size","",Se.fontSize,"14px"),Ie=vo.extend("--ft-typography-title-dense-font-weight","",Se.fontWeight,"normal"),Le=vo.extend("--ft-typography-title-dense-letter-spacing","",Se.letterSpacing,"0.105px"),We=vo.extend("--ft-typography-title-dense-line-height","",Se.lineHeight,"1.7"),ze=vo.extend("--ft-typography-title-dense-text-transform","",Se.textTransform,"inherit"),Ke=vo.extend("--ft-typography-subtitle1-font-family","",Oe),Fe=vo.extend("--ft-typography-subtitle1-font-size","",Se.fontSize,"16px"),Ze=vo.extend("--ft-typography-subtitle1-font-weight","",Se.fontWeight,"600"),Be=vo.extend("--ft-typography-subtitle1-letter-spacing","",Se.letterSpacing,"0.144px"),De=vo.extend("--ft-typography-subtitle1-line-height","",Se.lineHeight,"1.5"),Ae=vo.extend("--ft-typography-subtitle1-text-transform","",Se.textTransform,"inherit"),Me=vo.extend("--ft-typography-subtitle2-font-family","",Oe),Pe=vo.extend("--ft-typography-subtitle2-font-size","",Se.fontSize,"14px"),He=vo.extend("--ft-typography-subtitle2-font-weight","",Se.fontWeight,"normal"),je=vo.extend("--ft-typography-subtitle2-letter-spacing","",Se.letterSpacing,"0.098px"),Te=vo.extend("--ft-typography-subtitle2-line-height","",Se.lineHeight,"1.7"),_e=vo.extend("--ft-typography-subtitle2-text-transform","",Se.textTransform,"inherit"),Ge=vo.extend("--ft-typography-body1-font-family","",Oe),Ye=vo.extend("--ft-typography-body1-font-size","",Se.fontSize,"16px"),Ve=vo.extend("--ft-typography-body1-font-weight","",Se.fontWeight,"normal"),Je=vo.extend("--ft-typography-body1-letter-spacing","",Se.letterSpacing,"0.496px"),qe=vo.extend("--ft-typography-body1-line-height","",Se.lineHeight,"1.5"),Xe=vo.extend("--ft-typography-body1-text-transform","",Se.textTransform,"inherit"),Qe={fontFamily:vo.extend("--ft-typography-body2-font-family","",Oe),fontSize:vo.extend("--ft-typography-body2-font-size","",Se.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-body2-font-weight","",Se.fontWeight,"normal"),letterSpacing:vo.extend("--ft-typography-body2-letter-spacing","",Se.letterSpacing,"0.252px"),lineHeight:vo.extend("--ft-typography-body2-line-height","",Se.lineHeight,"1.4"),textTransform:vo.extend("--ft-typography-body2-text-transform","",Se.textTransform,"inherit")},ti=vo.extend("--ft-typography-caption-font-family","",Oe),oi=vo.extend("--ft-typography-caption-font-size","",Se.fontSize,"12px"),ei=vo.extend("--ft-typography-caption-font-weight","",Se.fontWeight,"normal"),ii=vo.extend("--ft-typography-caption-letter-spacing","",Se.letterSpacing,"0.396px"),ri=vo.extend("--ft-typography-caption-line-height","",Se.lineHeight,"1.33"),ni=vo.extend("--ft-typography-caption-text-transform","",Se.textTransform,"inherit"),ai=vo.extend("--ft-typography-breadcrumb-font-family","",Oe),si=vo.extend("--ft-typography-breadcrumb-font-size","",Se.fontSize,"10px"),li=vo.extend("--ft-typography-breadcrumb-font-weight","",Se.fontWeight,"normal"),ci=vo.extend("--ft-typography-breadcrumb-letter-spacing","",Se.letterSpacing,"0.33px"),pi=vo.extend("--ft-typography-breadcrumb-line-height","",Se.lineHeight,"1.6"),fi=vo.extend("--ft-typography-breadcrumb-text-transform","",Se.textTransform,"inherit"),hi=vo.extend("--ft-typography-overline-font-family","",Oe),di=vo.extend("--ft-typography-overline-font-size","",Se.fontSize,"10px"),ui=vo.extend("--ft-typography-overline-font-weight","",Se.fontWeight,"normal"),yi=vo.extend("--ft-typography-overline-letter-spacing","",Se.letterSpacing,"1.5px"),gi=vo.extend("--ft-typography-overline-line-height","",Se.lineHeight,"1.6"),bi=vo.extend("--ft-typography-overline-text-transform","",Se.textTransform,"uppercase"),mi={fontFamily:vo.extend("--ft-typography-button-font-family","",Oe),fontSize:vo.extend("--ft-typography-button-font-size","",Se.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",Se.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",Se.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",Se.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",Se.textTransform,"uppercase")},xi=mt`
|
|
266
266
|
.ft-typography--title {
|
|
267
267
|
font-family: ${Ne};
|
|
268
268
|
font-size: ${we};
|
|
269
269
|
font-weight: ${Ce};
|
|
270
270
|
letter-spacing: ${$e};
|
|
271
|
-
line-height: ${
|
|
272
|
-
text-transform: ${
|
|
271
|
+
line-height: ${Ee};
|
|
272
|
+
text-transform: ${Re};
|
|
273
273
|
}
|
|
274
274
|
`,vi=mt`
|
|
275
275
|
.ft-typography--title-dense {
|
|
@@ -335,7 +335,7 @@ const ue=Symbol.for(""),ye=t=>{if(t?.r===ue)return t?._$litStatic$},ge=t=>({_$li
|
|
|
335
335
|
line-height: ${pi};
|
|
336
336
|
text-transform: ${fi};
|
|
337
337
|
}
|
|
338
|
-
`,
|
|
338
|
+
`,Ei=mt`
|
|
339
339
|
.ft-typography--overline {
|
|
340
340
|
font-family: ${hi};
|
|
341
341
|
font-size: ${di};
|
|
@@ -344,7 +344,7 @@ const ue=Symbol.for(""),ye=t=>{if(t?.r===ue)return t?._$litStatic$},ge=t=>({_$li
|
|
|
344
344
|
line-height: ${gi};
|
|
345
345
|
text-transform: ${bi};
|
|
346
346
|
}
|
|
347
|
-
`,
|
|
347
|
+
`,Ri=mt`
|
|
348
348
|
.ft-typography--button {
|
|
349
349
|
font-family: ${mi.fontFamily};
|
|
350
350
|
font-size: ${mi.fontSize};
|
|
@@ -373,7 +373,7 @@ const ue=Symbol.for(""),ye=t=>{if(t?.r===ue)return t?._$litStatic$},ge=t=>({_$li
|
|
|
373
373
|
</${ge(this.element)}>
|
|
374
374
|
`:me`
|
|
375
375
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
376
|
-
`}}Li.styles=[xi,vi,Oi,Si,Ni,wi,Ci,$i,Ri,
|
|
376
|
+
`}}Li.styles=[xi,vi,Oi,Si,Ni,wi,Ci,$i,Ei,Ri,ki,...Ui],Ii([w()],Li.prototype,"element",void 0),Ii([w()],Li.prototype,"variant",void 0),I("ft-typography")(Li);
|
|
377
377
|
/**
|
|
378
378
|
* @license
|
|
379
379
|
* Copyright 2017 Google LLC
|
|
@@ -432,7 +432,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
432
432
|
${zi(this.resolvedIcon)}
|
|
433
433
|
<slot ?hidden=${o}></slot>
|
|
434
434
|
</i>
|
|
435
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Di.file_format:this.resolvedIcon=null!==(t=Fi[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Di.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=Ki[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mi.elementDefinitions={},Mi.styles=Bi,Ai([w()],Mi.prototype,"variant",void 0),Ai([w()],Mi.prototype,"value",void 0),Ai([C()],Mi.prototype,"resolvedIcon",void 0),Ai([
|
|
435
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Di.file_format:this.resolvedIcon=null!==(t=Fi[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Di.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=Ki[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mi.elementDefinitions={},Mi.styles=Bi,Ai([w()],Mi.prototype,"variant",void 0),Ai([w()],Mi.prototype,"value",void 0),Ai([C()],Mi.prototype,"resolvedIcon",void 0),Ai([R("slot")],Mi.prototype,"slottedContent",void 0),I("ft-icon")(Mi);const Pi={color:vo.extend("--ft-loader-color","",$o.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},Hi=mt`
|
|
436
436
|
:host {
|
|
437
437
|
line-height: 0;
|
|
438
438
|
}
|
|
@@ -649,7 +649,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
.ft-tooltip {
|
|
652
|
-
position:
|
|
652
|
+
position: fixed;
|
|
653
653
|
box-sizing: border-box;
|
|
654
654
|
overflow: hidden;
|
|
655
655
|
width: max-content;
|
|
@@ -667,7 +667,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
667
667
|
position: relative;
|
|
668
668
|
word-break: break-word;
|
|
669
669
|
}
|
|
670
|
-
`,ar=["start","end"],sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ar[0],o+"-"+ar[1])),[]),lr=Math.min,cr=Math.max,pr=Math.round,fr=t=>({x:t,y:t}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},dr={start:"end",end:"start"};function ur(t,o,e){return cr(t,lr(o,e))}function yr(t,o){return"function"==typeof t?t(o):t}function gr(t){return t.split("-")[0]}function br(t){return t.split("-")[1]}function mr(t){return"x"===t?"y":"x"}function xr(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(gr(t))?"y":"x"}function Or(t){return mr(vr(t))}function Sr(t){return t.replace(/left|right|bottom|top/g,(t=>hr[t]))}function Nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function wr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Or(o),s=xr(a),l=gr(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(br(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Cr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=yr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x: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=Nr(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 $r(t,o,e){return(t?[...e.filter((o=>br(o)===t)),...e.filter((o=>br(o)!==t))]:e.filter((t=>gr(t)===t))).filter((e=>!t||(br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>dr[t]))}(e)!==e)))}const Rr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=sr,autoAlignment:d=!0,...u}=yr(t,o),y=void 0!==f||h===sr?$r(f||null,d,h):h,g=await Cr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=br(t),r=Or(t),n=xr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Sr(a)),[a,Sr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[gr(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 N=O.map((t=>{const o=br(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,br(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Er(t){return Ir(t)?(t.nodeName||"").toLowerCase():"#document"}function kr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ur(t){var o;return null==(o=(Ir(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ir(t){return t instanceof Node||t instanceof kr(t).Node}function Lr(t){return t instanceof Element||t instanceof kr(t).Element}function Wr(t){return t instanceof HTMLElement||t instanceof kr(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof kr(t).ShadowRoot)}function Kr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ar(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(Er(t))}function Zr(t){const o=Br(),e=Ar(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Dr(t){return["html","body","#document"].includes(Er(t))}function Ar(t){return kr(t).getComputedStyle(t)}function Mr(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){if("html"===Er(t))return t;const o=t.assignedSlot||t.parentNode||zr(t)&&t.host||Ur(t);return zr(o)?o.host:o}function Hr(t){const o=Pr(t);return Dr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Wr(o)&&Kr(o)?o:Hr(o)}function jr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Hr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=kr(r);return n?o.concat(a,a.visualViewport||[],Kr(r)?r:[],a.frameElement&&e?jr(a.frameElement):[]):o.concat(r,jr(r,[],e))}function Tr(t){const o=Ar(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Wr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=pr(e)!==n||pr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function _r(t){return Lr(t)?t:t.contextElement}function Gr(t){const o=_r(t);if(!Wr(o))return fr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Tr(o);let a=(n?pr(e.width):e.width)/i,s=(n?pr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Yr=fr(0);function Vr(t){const o=kr(t);return Br()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Yr}function Jr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=_r(t);let a=fr(1);o&&(i?Lr(i)&&(a=Gr(i)):a=Gr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==kr(t))&&o}(n,e,i)?Vr(n):fr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=kr(n),o=i&&Lr(i)?kr(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Gr(e),o=e.getBoundingClientRect(),i=Ar(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=kr(e).frameElement}}return Nr({width:p,height:f,x:l,y:c})}function qr(t){return Jr(Ur(t)).left+Mr(t).scrollLeft}function Xr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=kr(t),i=Ur(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Br();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Ur(t),e=Mr(t),i=t.ownerDocument.body,r=cr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=cr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+qr(t);const s=-e.scrollTop;return"rtl"===Ar(i).direction&&(a+=cr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Ur(t));else if(Lr(o))i=function(t,o){const e=Jr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Wr(t)?Gr(t):fr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Vr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Nr(i)}function Qr(t,o){const e=Pr(t);return!(e===o||!Lr(e)||Dr(e))&&("fixed"===Ar(e).position||Qr(e,o))}function tn(t,o,e){const i=Wr(o),r=Ur(o),n="fixed"===e,a=Jr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==Er(o)||Kr(r))&&(s=Mr(o)),i){const t=Jr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function on(t,o){return Wr(t)&&"fixed"!==Ar(t).position?o?o(t):t.offsetParent:null}function en(t,o){const e=kr(t);if(!Wr(t))return e;let i=on(t,o);for(;i&&Fr(i)&&"static"===Ar(i).position;)i=on(i,o);return i&&("html"===Er(i)||"body"===Er(i)&&"static"===Ar(i).position&&!Zr(i))?e:i||function(t){let o=Pr(t);for(;Wr(o)&&!Dr(o);){if(Zr(o))return o;o=Pr(o)}return null}(t)||e}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Wr(e),n=Ur(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Er(e)||Kr(n))&&(a=Mr(e)),Wr(e))){const t=Jr(e);s=Gr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ur,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=jr(t,[],!1).filter((t=>Lr(t)&&"body"!==Er(t))),r=null;const n="fixed"===Ar(t).position;let a=n?Pr(t):t;for(;Lr(a)&&!Dr(a);){const o=Ar(a),e=Zr(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Kr(a)&&!e&&Qr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Pr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Xr(o,e,r);return t.top=cr(i.top,t.top),t.right=lr(i.right,t.right),t.bottom=lr(i.bottom,t.bottom),t.left=cr(i.left,t.left),t}),Xr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:tn(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Tr(t)},getScale:Gr,isElement:Lr,isRTL:function(t){return"rtl"===Ar(t).direction}},nn=(t,o,e)=>{const i=new Map,r={platform:rn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=wr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=wr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var an=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Ko{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 k,this.revealDebouncer=new k}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
670
|
+
`,ar=["start","end"],sr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ar[0],o+"-"+ar[1])),[]),lr=Math.min,cr=Math.max,pr=Math.round,fr=t=>({x:t,y:t}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},dr={start:"end",end:"start"};function ur(t,o,e){return cr(t,lr(o,e))}function yr(t,o){return"function"==typeof t?t(o):t}function gr(t){return t.split("-")[0]}function br(t){return t.split("-")[1]}function mr(t){return"x"===t?"y":"x"}function xr(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(gr(t))?"y":"x"}function Or(t){return mr(vr(t))}function Sr(t){return t.replace(/left|right|bottom|top/g,(t=>hr[t]))}function Nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function wr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Or(o),s=xr(a),l=gr(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(br(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Cr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=yr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x: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=Nr(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 $r(t,o,e){return(t?[...e.filter((o=>br(o)===t)),...e.filter((o=>br(o)!==t))]:e.filter((t=>gr(t)===t))).filter((e=>!t||(br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>dr[t]))}(e)!==e)))}const Er=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=sr,autoAlignment:d=!0,...u}=yr(t,o),y=void 0!==f||h===sr?$r(f||null,d,h):h,g=await Cr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=br(t),r=Or(t),n=xr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Sr(a)),[a,Sr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[gr(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 N=O.map((t=>{const o=br(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=N.filter((t=>t[2].slice(0,br(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Rr(t){return Ir(t)?(t.nodeName||"").toLowerCase():"#document"}function kr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ur(t){var o;return null==(o=(Ir(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ir(t){return t instanceof Node||t instanceof kr(t).Node}function Lr(t){return t instanceof Element||t instanceof kr(t).Element}function Wr(t){return t instanceof HTMLElement||t instanceof kr(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof kr(t).ShadowRoot)}function Kr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ar(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(Rr(t))}function Zr(t){const o=Br(),e=Ar(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Dr(t){return["html","body","#document"].includes(Rr(t))}function Ar(t){return kr(t).getComputedStyle(t)}function Mr(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){if("html"===Rr(t))return t;const o=t.assignedSlot||t.parentNode||zr(t)&&t.host||Ur(t);return zr(o)?o.host:o}function Hr(t){const o=Pr(t);return Dr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Wr(o)&&Kr(o)?o:Hr(o)}function jr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Hr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=kr(r);return n?o.concat(a,a.visualViewport||[],Kr(r)?r:[],a.frameElement&&e?jr(a.frameElement):[]):o.concat(r,jr(r,[],e))}function Tr(t){const o=Ar(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Wr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=pr(e)!==n||pr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function _r(t){return Lr(t)?t:t.contextElement}function Gr(t){const o=_r(t);if(!Wr(o))return fr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Tr(o);let a=(n?pr(e.width):e.width)/i,s=(n?pr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Yr=fr(0);function Vr(t){const o=kr(t);return Br()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Yr}function Jr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=_r(t);let a=fr(1);o&&(i?Lr(i)&&(a=Gr(i)):a=Gr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==kr(t))&&o}(n,e,i)?Vr(n):fr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=kr(n),o=i&&Lr(i)?kr(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Gr(e),o=e.getBoundingClientRect(),i=Ar(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=kr(e).frameElement}}return Nr({width:p,height:f,x:l,y:c})}function qr(t){return Jr(Ur(t)).left+Mr(t).scrollLeft}function Xr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=kr(t),i=Ur(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Br();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Ur(t),e=Mr(t),i=t.ownerDocument.body,r=cr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=cr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+qr(t);const s=-e.scrollTop;return"rtl"===Ar(i).direction&&(a+=cr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Ur(t));else if(Lr(o))i=function(t,o){const e=Jr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Wr(t)?Gr(t):fr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Vr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Nr(i)}function Qr(t,o){const e=Pr(t);return!(e===o||!Lr(e)||Dr(e))&&("fixed"===Ar(e).position||Qr(e,o))}function tn(t,o,e){const i=Wr(o),r=Ur(o),n="fixed"===e,a=Jr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==Rr(o)||Kr(r))&&(s=Mr(o)),i){const t=Jr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function on(t,o){return Wr(t)&&"fixed"!==Ar(t).position?o?o(t):t.offsetParent:null}function en(t,o){const e=kr(t);if(!Wr(t))return e;let i=on(t,o);for(;i&&Fr(i)&&"static"===Ar(i).position;)i=on(i,o);return i&&("html"===Rr(i)||"body"===Rr(i)&&"static"===Ar(i).position&&!Zr(i))?e:i||function(t){let o=Pr(t);for(;Wr(o)&&!Dr(o);){if(Zr(o))return o;o=Pr(o)}return null}(t)||e}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Wr(e),n=Ur(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Rr(e)||Kr(n))&&(a=Mr(e)),Wr(e))){const t=Jr(e);s=Gr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ur,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=jr(t,[],!1).filter((t=>Lr(t)&&"body"!==Rr(t))),r=null;const n="fixed"===Ar(t).position;let a=n?Pr(t):t;for(;Lr(a)&&!Dr(a);){const o=Ar(a),e=Zr(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Kr(a)&&!e&&Qr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Pr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Xr(o,e,r);return t.top=cr(i.top,t.top),t.right=lr(i.right,t.right),t.bottom=lr(i.bottom,t.bottom),t.left=cr(i.left,t.left),t}),Xr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:tn(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Tr(t)},getScale:Gr,isElement:Lr,isRTL:function(t){return"rtl"===Ar(t).direction}},nn=(t,o,e)=>{const i=new Map,r={platform:rn,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=wr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=wr(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function an(t){return function(t){for(let o=t;o;o=sn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=sn(t);o;o=sn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function sn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends Ko{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 k,this.revealDebouncer=new k}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
671
671
|
<div part="container"
|
|
672
672
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
673
673
|
@mouseenter=${this.onHover}
|
|
@@ -675,7 +675,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
675
675
|
@focusin=${this.onHover}
|
|
676
676
|
@focusout=${this.onOut}
|
|
677
677
|
@touchstart=${this.onTouch}>
|
|
678
|
-
<slot></slot>
|
|
678
|
+
<slot part="slot"></slot>
|
|
679
679
|
<div part="tooltip" role="tooltip" inert
|
|
680
680
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
681
681
|
?hidden=${!this.visible}>
|
|
@@ -685,14 +685,14 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
685
685
|
</div>
|
|
686
686
|
</div>
|
|
687
687
|
</div>
|
|
688
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",nn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=yr(t,o),c={x:e,y:i},p=await Cr(o,l),f=vr(gr(r)),h=mr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=ur(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=ur(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),
|
|
688
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",nn(this.slottedElement,this.tooltip,{platform:{...rn,getOffsetParent:t=>rn.getOffsetParent(t,an)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=yr(t,o),c={x:e,y:i},p=await Cr(o,l),f=vr(gr(r)),h=mr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=ur(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=ur(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Er({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}cn.elementDefinitions={"ft-typography":Li},cn.styles=nr,ln([w()],cn.prototype,"text",void 0),ln([w({type:Boolean})],cn.prototype,"manual",void 0),ln([w({type:Boolean})],cn.prototype,"inline",void 0),ln([w({type:Number})],cn.prototype,"delay",void 0),ln([w()],cn.prototype,"position",void 0),ln([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],cn.prototype,"slotNodes",void 0),ln([R(".ft-tooltip--container")],cn.prototype,"container",void 0),ln([R(".ft-tooltip")],cn.prototype,"tooltip",void 0),ln([R(".ft-tooltip--content")],cn.prototype,"tooltipContent",void 0),ln([C()],cn.prototype,"visible",void 0),ln([$({passive:!0})],cn.prototype,"onTouch",null),ln([$({passive:!0})],cn.prototype,"onHover",null),ln([$({passive:!0})],cn.prototype,"onOut",null),I("ft-tooltip")(cn);class pn extends Ko{render(){return to`
|
|
689
689
|
<div class="ft-loader">
|
|
690
690
|
<div></div>
|
|
691
691
|
<div></div>
|
|
692
692
|
<div></div>
|
|
693
693
|
<div></div>
|
|
694
694
|
</div>
|
|
695
|
-
`}}
|
|
695
|
+
`}}pn.styles=Hi,I("ft-loader")(pn);var fn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...t){super(t),this[Go]=this.attachInternals(),this[Go].role=o}setFormValue(t){this[Go].setFormValue(t)}}}(Ko,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(to`
|
|
696
696
|
<button part="button"
|
|
697
697
|
class="${ee(this.buttonClasses)}"
|
|
698
698
|
aria-label="${this.getLabel()}"
|
|
@@ -715,7 +715,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
715
715
|
</ft-tooltip>
|
|
716
716
|
`:t}resolveIcon(){return this.loading?to`
|
|
717
717
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?to`
|
|
718
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
718
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:eo}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}hn.elementDefinitions={"ft-ripple":de,"ft-tooltip":cn,"ft-typography":Li,"ft-icon":Mi,"ft-loader":pn},fn([w({type:String,reflect:!0})],hn.prototype,"role",void 0),fn([w()],hn.prototype,"type",void 0),fn([w({type:Boolean})],hn.prototype,"disabled",void 0),fn([w()],hn.prototype,"label",void 0),fn([w()],hn.prototype,"icon",void 0),fn([w()],hn.prototype,"iconVariant",void 0),fn([w({type:Boolean})],hn.prototype,"trailingIcon",void 0),fn([w({type:Boolean})],hn.prototype,"loading",void 0),fn([w()],hn.prototype,"tooltipPosition",void 0),fn([w({type:Boolean})],hn.prototype,"hideTooltip",void 0),fn([w({type:Boolean})],hn.prototype,"forceTooltip",void 0),fn([R(".ft-button")],hn.prototype,"button",void 0),fn([R(".ft-button--label slot")],hn.prototype,"slottedContent",void 0);var dn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class un extends hn{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"}}un.styles=[Bo,Xi],dn([w({type:Boolean})],un.prototype,"primary",void 0),dn([w({type:Boolean})],un.prototype,"outlined",void 0),dn([w({type:Boolean})],un.prototype,"dense",void 0),dn([w({type:Boolean})],un.prototype,"round",void 0);const yn=[mt`
|
|
719
719
|
:host {
|
|
720
720
|
display: inline-block;
|
|
721
721
|
max-width: 100%;
|
|
@@ -933,7 +933,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
933
933
|
width: ${Co.smallIconOnlyWidth};
|
|
934
934
|
padding: unset;
|
|
935
935
|
}
|
|
936
|
-
`,Zo];var
|
|
936
|
+
`,Zo];var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bn extends hn{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?xe.caption1medium:xe.body2medium}}bn.styles=[Bo,yn],gn([w({type:Boolean})],bn.prototype,"primary",void 0),gn([w({type:Boolean})],bn.prototype,"secondary",void 0),gn([w({type:Boolean})],bn.prototype,"tertiary",void 0),gn([w({type:Boolean})],bn.prototype,"neutral",void 0),gn([w({type:Boolean})],bn.prototype,"small",void 0),I("ft-button")(un),I("ftds-button")(bn);const mn=vo.extend("--ft-chip-color","",$o.colorOnSurface),xn={backgroundColor:vo.extend("--ft-chip-background-color","",$o.colorSurface),color:mn,fontSize:vo.extend("--ft-chip-font-size","",Qe.fontSize),iconSize:vo.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:vo.extend("--ft-chip-ripple-color","",mn),horizontalPadding:vo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:vo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:vo.external($o.colorOutline,"Design system"),opacityDisabled:vo.external($o.colorOpacityDisabled,"Design system")},vn=vo.extend("--ft-chip-highlighted-color","",vo.extend("--ft-chip-color","",$o.colorOnPrimary)),On={backgroundColor:vo.extend("--ft-chip-highlighted-background-color","",vo.extend("--ft-chip-background-color","",$o.colorPrimary)),color:vn,rippleColor:vo.extend("--ft-chip-highlighted-ripple-color","",vn)},Sn=vo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Nn=vo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),wn=[Zo,mt`
|
|
937
937
|
:host {
|
|
938
938
|
display: inline-block;
|
|
939
939
|
max-width: 100%;
|
|
@@ -949,20 +949,20 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
949
949
|
box-sizing: border-box;
|
|
950
950
|
pointer-events: auto;
|
|
951
951
|
|
|
952
|
-
--ft-chip-internal-font-size: ${
|
|
952
|
+
--ft-chip-internal-font-size: ${xn.fontSize};
|
|
953
953
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
954
|
-
${Oo(Zi.size,
|
|
955
|
-
--ft-chip-internal-vertical-padding: ${
|
|
956
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
954
|
+
${Oo(Zi.size,xn.iconSize)};
|
|
955
|
+
--ft-chip-internal-vertical-padding: ${xn.verticalPadding};
|
|
956
|
+
--ft-chip-internal-horizontal-padding: ${xn.horizontalPadding};
|
|
957
957
|
--ft-chip-internal-icon-padding: 3px;
|
|
958
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
958
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${xn.iconSize});
|
|
959
959
|
|
|
960
|
-
border: 1px solid ${
|
|
961
|
-
color: ${
|
|
962
|
-
${Oo(re.color,
|
|
960
|
+
border: 1px solid ${xn.colorOutline};
|
|
961
|
+
color: ${xn.color};
|
|
962
|
+
${Oo(re.color,xn.rippleColor)};
|
|
963
963
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
964
964
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
965
|
-
background-color: ${
|
|
965
|
+
background-color: ${xn.backgroundColor};
|
|
966
966
|
line-height: var(--ft-chip-internal-content-height);
|
|
967
967
|
}
|
|
968
968
|
|
|
@@ -972,8 +972,8 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
972
972
|
|
|
973
973
|
.ft-chip--dense {
|
|
974
974
|
--ft-chip-internal-icon-padding: 3px;
|
|
975
|
-
--ft-chip-internal-vertical-padding: ${
|
|
976
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
975
|
+
--ft-chip-internal-vertical-padding: ${Nn};
|
|
976
|
+
--ft-chip-internal-horizontal-padding: ${Sn};
|
|
977
977
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
978
978
|
}
|
|
979
979
|
|
|
@@ -985,15 +985,15 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
985
985
|
cursor: default;
|
|
986
986
|
pointer-events: none;
|
|
987
987
|
filter: grayscale(1);
|
|
988
|
-
opacity: ${
|
|
988
|
+
opacity: ${xn.opacityDisabled};
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
.ft-chip--highlighted {
|
|
992
992
|
border: none;
|
|
993
993
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
994
|
-
background-color: ${
|
|
995
|
-
${Oo(re.color,
|
|
996
|
-
color: ${
|
|
994
|
+
background-color: ${On.backgroundColor};
|
|
995
|
+
${Oo(re.color,On.rippleColor)};
|
|
996
|
+
color: ${On.color};
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
.ft-chip--clickable {
|
|
@@ -1023,7 +1023,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
.ft-chip--icon-button {
|
|
1026
|
-
${Oo(Ti.iconSize,
|
|
1026
|
+
${Oo(Ti.iconSize,xn.iconSize)};
|
|
1027
1027
|
${Oo(Ti.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1028
1028
|
${Oo(Ti.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1029
1029
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -1070,7 +1070,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1070
1070
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1071
1071
|
order: -1;
|
|
1072
1072
|
}
|
|
1073
|
-
`];var
|
|
1073
|
+
`];var Cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends CustomEvent{constructor(){super("icon-click")}}class En extends Ko{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":qo};return to`
|
|
1074
1074
|
<div class="${ee(t)}"
|
|
1075
1075
|
aria-label="${this.getLabel()}"
|
|
1076
1076
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1093,7 +1093,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1093
1093
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1094
1094
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1095
1095
|
</div>
|
|
1096
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1096
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $n))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $n))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}En.elementDefinitions={"ft-ripple":de,"ft-typography":Li,"ft-icon":Mi,"ft-button":un},En.styles=wn,Cn([w({type:Boolean})],En.prototype,"highlighted",void 0),Cn([w({type:Boolean})],En.prototype,"removable",void 0),Cn([w({type:Boolean})],En.prototype,"disabled",void 0),Cn([w({type:Boolean})],En.prototype,"clickable",void 0),Cn([w({type:Boolean})],En.prototype,"iconClickable",void 0),Cn([w({type:Boolean})],En.prototype,"dense",void 0),Cn([w({type:Boolean})],En.prototype,"multiLine",void 0),Cn([w()],En.prototype,"label",void 0),Cn([w()],En.prototype,"iconLabel",void 0),Cn([w()],En.prototype,"icon",void 0),Cn([w()],En.prototype,"iconVariant",void 0),Cn([w({type:Boolean})],En.prototype,"trailingIcon",void 0),Cn([R("ft-typography slot")],En.prototype,"slottedContent",void 0),I("ft-chip")(En);const Rn={zIndex:vo.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:vo.extend("--ft-file-drop-hint-background-color","",$o.colorSurface),hintColor:vo.extend("--ft-file-drop-hint-color","",$o.colorPrimary),errorColor:vo.extend("--ft-file-drop-error-color","",$o.colorError),borderRadius:vo.extend("--ft-file-drop-border-radius","",$o.borderRadiusL),borderWidth:vo.create("--ft-file-drop-border-width","","SIZE","4px"),borderColor:vo.create("--ft-file-drop-border-color","","COLOR","transparent"),visibleBorderColor:vo.extend("--ft-file-drop-visible-border-color","",$o.colorOutline),activeBorderColor:vo.extend("--ft-file-drop-active-border-color","",$o.colorPrimary)},kn=mt`
|
|
1097
1097
|
:host {
|
|
1098
1098
|
display: block;
|
|
1099
1099
|
position: relative;
|
|
@@ -1102,16 +1102,16 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1102
1102
|
#container {
|
|
1103
1103
|
position: absolute;
|
|
1104
1104
|
inset: 0;
|
|
1105
|
-
border: dashed ${
|
|
1106
|
-
border-radius: ${
|
|
1105
|
+
border: dashed ${Rn.borderWidth} ${Rn.borderColor};
|
|
1106
|
+
border-radius: ${Rn.borderRadius};
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
#container.visible {
|
|
1110
|
-
border-color: ${
|
|
1110
|
+
border-color: ${Rn.visibleBorderColor}
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
1113
|
#container.dragging {
|
|
1114
|
-
border-color: ${
|
|
1114
|
+
border-color: ${Rn.activeBorderColor}
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
slot {
|
|
@@ -1125,7 +1125,7 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1125
1125
|
display: none;
|
|
1126
1126
|
position: absolute;
|
|
1127
1127
|
inset: 0;
|
|
1128
|
-
z-index: ${
|
|
1128
|
+
z-index: ${Rn.zIndex};
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
#container.dragging #overlay {
|
|
@@ -1136,9 +1136,9 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1136
1136
|
z-index: 1;
|
|
1137
1137
|
position: absolute;
|
|
1138
1138
|
inset: 0;
|
|
1139
|
-
background-color: ${
|
|
1139
|
+
background-color: ${Rn.activeBorderColor};
|
|
1140
1140
|
opacity: 0.20;
|
|
1141
|
-
border-radius: ${
|
|
1141
|
+
border-radius: ${Rn.borderRadius};
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
1144
|
#overlay-drop {
|
|
@@ -1158,20 +1158,20 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1158
1158
|
|
|
1159
1159
|
#overlay-content ft-chip {
|
|
1160
1160
|
margin-bottom: 10%;
|
|
1161
|
-
${Oo(
|
|
1162
|
-
${Oo(
|
|
1163
|
-
${Oo(
|
|
1161
|
+
${Oo(xn.color,Rn.hintColor)};
|
|
1162
|
+
${Oo(xn.iconSize,"32px")};
|
|
1163
|
+
${Oo(xn.colorOutline,"transparent")};
|
|
1164
1164
|
}
|
|
1165
1165
|
|
|
1166
1166
|
#overlay-content xft-chip[icon=error] {
|
|
1167
|
-
${Oo(
|
|
1168
|
-
${Oo(
|
|
1167
|
+
${Oo(xn.color,Rn.errorColor)};
|
|
1168
|
+
${Oo(xn.backgroundColor,Rn.hintBackgroundColor)};
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
[hidden] {
|
|
1172
1172
|
display: none;
|
|
1173
1173
|
}
|
|
1174
|
-
`;var
|
|
1174
|
+
`;var Un=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class In extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}class Ln extends Ko{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}render(){let t={dragging:this.dragging,visible:this.visible};return to`
|
|
1175
1175
|
<div id="container"
|
|
1176
1176
|
class="${ee(t)}"
|
|
1177
1177
|
@dragenter=${this.onDragEnter}
|
|
@@ -1189,4 +1189,4 @@ class Wi extends oe{constructor(t){if(super(t),this.et=Q,t.type!==Qo)throw Error
|
|
|
1189
1189
|
</div>
|
|
1190
1190
|
<slot></slot>
|
|
1191
1191
|
</div>
|
|
1192
|
-
`}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];!function(t,o,e){if(0==t.length)return!0;let i=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),r=new RegExp(i),n=o.includes(".")?"."+o.split(".").pop():void 0;return!(!n||!r.test(n))||r.test(e)}(this.accept,o.name,o.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new
|
|
1192
|
+
`}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];!function(t,o,e){if(0==t.length)return!0;let i=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),r=new RegExp(i),n=o.includes(".")?"."+o.split(".").pop():void 0;return!(!n||!r.test(n))||r.test(e)}(this.accept,o.name,o.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new In(o)))}}}Ln.elementDefinitions={"ft-chip":En},Ln.styles=kn,Un([w()],Ln.prototype,"dropHint",void 0),Un([w()],Ln.prototype,"accept",void 0),Un([w()],Ln.prototype,"fileTypeError",void 0),Un([w({type:Boolean})],Ln.prototype,"visible",void 0),Un([C()],Ln.prototype,"dragging",void 0),Un([C()],Ln.prototype,"fileError",void 0),I("ft-file-drop")(Ln),t.FileDropEvent=In,t.FtFileDrop=Ln,t.FtFileDropCssVariables=Rn,t.styles=kn}({});
|