@fluid-topics/ft-text-area 1.1.7 → 1.1.8
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-text-area.min.js +179 -179
- package/package.json +5 -5
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=o.call(r,t);p||(p=f(t),e.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,c,!0)}const
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=o.call(r,t);p||(p=f(t),e.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=n.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=p(o)||window.customElements,i=r._getDefinition(e);return i?y(o,i):a.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(e.has(a)){const t=this.getAttribute(a);r.call(this,a,i),o.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const a=t.prototype.toggleAttribute;a&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);a.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else a.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},y=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new a(e)}})}}try{window.customElements.define("custom-element",null)}catch(mr){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,y=d.trustedTypes,
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,d=globalThis,y=d.trustedTypes,u=y?y.emptyScript:"",g=d.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!s(t,e),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let v=class 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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const a=r?.call(this);i.call(this,e),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...p(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(n(t))}else void 0!==t&&e.push(n(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[b("elementProperties")]=new Map,v[b("finalized")]=new Map,g?.({ReactiveElement:v}),(d.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=N,e,o)=>{const{kind:r,metadata:i}=o;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function w(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -60,29 +60,29 @@ const k=globalThis,L=k.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=
|
|
|
60
60
|
* Copyright 2019 Google LLC
|
|
61
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
62
|
*/
|
|
63
|
-
const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),
|
|
63
|
+
const ht=globalThis,dt=ht.ShadowRoot&&(void 0===ht.ShadyCSS||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),ut=new WeakMap;let gt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(dt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ut.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ut.set(e,t))}return t}toString(){return this.cssText}};const bt=t=>new gt("string"==typeof t?t:t+"",void 0,yt),mt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new gt(o,t,yt)},xt=dt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return bt(e)})(t):t
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/,{is:Ot,defineProperty:
|
|
68
|
+
*/,{is:Ot,defineProperty:vt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:St,getOwnPropertySymbols:wt,getPrototypeOf:Ct}=Object,$t=globalThis,Et=$t.trustedTypes,Rt=Et?Et.emptyScript:"",Ut=$t.reactiveElementPolyfillSupport,It=(t,e)=>t,Wt={toAttribute(t,e){switch(e){case Boolean:t=t?Rt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},kt=(t,e)=>!Ot(t,e),Lt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:kt};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,e=Lt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&vt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const a=r?.call(this);i.call(this,e),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(It("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(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,e=[...St(t),...wt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(xt(t))}else void 0!==t&&e.push(xt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(dt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=ht.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Wt).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Wt;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??kt)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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[It("elementProperties")]=new Map,zt[It("finalized")]=new Map,Ut?.({ReactiveElement:zt}),($t.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Bt=`<${At}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Tt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,te=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ee=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),re=new WeakMap,ie=Pt.createTreeWalker(Pt,129);function ae(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(e):e}const ne=(t,e)=>{const o=t.length-1,r=[];let i,a=2===e?"<svg>":"",n=Gt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,l=n.exec(o),null!==l);)p=n.lastIndex,n===Gt?"!--"===l[1]?n=Yt:void 0!==l[1]?n=Vt:void 0!==l[2]?(Qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),n=Jt):void 0!==l[3]&&(n=Jt):n===Jt?">"===l[0]?(n=i??Gt,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,s=l[1],n=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):n===Xt||n===qt?n=Jt:n===Yt||n===Vt?n=Gt:(n=Jt,i=void 0);const f=n===Jt&&t[e+1].startsWith("/>")?" ":"";a+=n===Gt?o+Bt:c>=0?(r.push(s),o.slice(0,c)+Dt+o.slice(c)+Mt+f):o+Mt+(-2===c?e:f)}return[ae(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class se{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[l,c]=ne(t,e);if(this.el=se.createElement(l,o),ie.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ie.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Dt)){const e=c[a++],o=r.getAttribute(t).split(Mt),n=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:n[2],strings:o,ctor:"."===n[1]?fe:"?"===n[1]?he:"@"===n[1]?de:pe}),r.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(Qt.test(r.tagName)){const t=r.textContent.split(Mt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Ht()),ie.nextNode(),s.push({type:2,index:++i});r.append(t[e],Ht())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Mt,t+1));)s.push({type:7,index:i}),t+=Mt.length-1}i++}}static createElement(t,e){const o=Pt.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===ee)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const a=jt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}class ce{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=le(this,t,e),jt(t)?t===oe||null==t||""===t?(this._$AH!==oe&&this._$AR(),this._$AH=oe):t!==this._$AH&&t!==ee&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oe&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=se.createElement(ae(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??Pt).importNode(e,!0);ie.currentNode=r;let i=ie.nextNode(),a=0,n=0,s=o[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new ce(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++n]}a!==s?.index&&(i=ie.nextNode(),a++)}return ie.currentNode=Pt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=re.get(t.strings);return void 0===e&&re.set(t.strings,e=new se(t)),e}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const i of t)r===e.length?e.push(o=new ce(this.k(Ht()),this.k(Ht()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class pe{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=oe}_$AI(t,e=this,o,r){const i=this.strings;let a=!1;if(void 0===i)t=le(this,t,e,0),a=!jt(t)||t!==this._$AH&&t!==ee,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=le(this,r[o+n],e,n),s===ee&&(s=this._$AH[n]),a||=!jt(s)||s!==this._$AH[n],s===oe?t=oe:t!==oe&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fe extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oe?void 0:t}}class he extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oe)}}class de extends pe{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??oe)===ee)return;const o=this._$AH,r=t===oe&&o!==oe||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==oe&&(o===oe||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ye{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){le(this,t)}}const
|
|
74
|
+
const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Bt=`<${At}>`,Pt=document,Ht=()=>Pt.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Tt="[ \t\n\f\r]",Gt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Jt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),qt=/'/g,Xt=/"/g,Qt=/^(?:script|style|textarea|title)$/i,te=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ee=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),re=new WeakMap,ie=Pt.createTreeWalker(Pt,129);function ae(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(e):e}const ne=(t,e)=>{const o=t.length-1,r=[];let i,a=2===e?"<svg>":"",n=Gt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(n.lastIndex=p,l=n.exec(o),null!==l);)p=n.lastIndex,n===Gt?"!--"===l[1]?n=Yt:void 0!==l[1]?n=Vt:void 0!==l[2]?(Qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),n=Jt):void 0!==l[3]&&(n=Jt):n===Jt?">"===l[0]?(n=i??Gt,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,s=l[1],n=void 0===l[3]?Jt:'"'===l[3]?Xt:qt):n===Xt||n===qt?n=Jt:n===Yt||n===Vt?n=Gt:(n=Jt,i=void 0);const f=n===Jt&&t[e+1].startsWith("/>")?" ":"";a+=n===Gt?o+Bt:c>=0?(r.push(s),o.slice(0,c)+Dt+o.slice(c)+Mt+f):o+Mt+(-2===c?e:f)}return[ae(t,a+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class se{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,a=0;const n=t.length-1,s=this.parts,[l,c]=ne(t,e);if(this.el=se.createElement(l,o),ie.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ie.nextNode())&&s.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Dt)){const e=c[a++],o=r.getAttribute(t).split(Mt),n=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:n[2],strings:o,ctor:"."===n[1]?fe:"?"===n[1]?he:"@"===n[1]?de:pe}),r.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(Qt.test(r.tagName)){const t=r.textContent.split(Mt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Ht()),ie.nextNode(),s.push({type:2,index:++i});r.append(t[e],Ht())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Mt,t+1));)s.push({type:7,index:i}),t+=Mt.length-1}i++}}static createElement(t,e){const o=Pt.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===ee)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const a=jt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}class ce{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=le(this,t,e),jt(t)?t===oe||null==t||""===t?(this._$AH!==oe&&this._$AR(),this._$AH=oe):t!==this._$AH&&t!==ee&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==oe&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=se.createElement(ae(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??Pt).importNode(e,!0);ie.currentNode=r;let i=ie.nextNode(),a=0,n=0,s=o[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new ce(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++n]}a!==s?.index&&(i=ie.nextNode(),a++)}return ie.currentNode=Pt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=re.get(t.strings);return void 0===e&&re.set(t.strings,e=new se(t)),e}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,r=0;for(const i of t)r===e.length?e.push(o=new ce(this.k(Ht()),this.k(Ht()),this,this.options)):o=e[r],o._$AI(i),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class pe{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=oe}_$AI(t,e=this,o,r){const i=this.strings;let a=!1;if(void 0===i)t=le(this,t,e,0),a=!jt(t)||t!==this._$AH&&t!==ee,a&&(this._$AH=t);else{const r=t;let n,s;for(t=i[0],n=0;n<i.length-1;n++)s=le(this,r[o+n],e,n),s===ee&&(s=this._$AH[n]),a||=!jt(s)||s!==this._$AH[n],s===oe?t=oe:t!==oe&&(t+=(s??"")+i[n+1]),this._$AH[n]=s}a&&!r&&this.O(t)}O(t){t===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class fe extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===oe?void 0:t}}class he extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==oe)}}class de extends pe{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??oe)===ee)return;const o=this._$AH,r=t===oe&&o!==oe||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==oe&&(o===oe||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ye{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){le(this,t)}}const ue=Kt.litHtmlPolyfillSupport;ue?.(se,ce),(Kt.litHtmlVersions??=[]).push("3.1.0");
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
79
|
*/
|
|
80
|
-
class ue 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 e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ce(e.insertBefore(Ht(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ee}}ue._$litElement$=!0,ue.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ue});const be=globalThis.litElementPolyfillSupport;be?.({LitElement:ue}),(globalThis.litElementVersions??=[]).push("4.0.2");const me=t=>"string"==typeof t?bt(t):t;class xe{static create(t,e,o,r){const i=t=>me(null!=t?t:r),a=mt`var(${me(t)}, ${i(r)})`;return a.name=t,a.description=e,a.category=o,a.defaultValue=r,a.defaultCssValue=i,a.get=e=>mt`var(${me(t)}, ${i(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),a=mt`var(${me(t)}, ${i(r)})`;return a.name=t,a.description=e,a.category=o.category,a.fallbackVariable=o,a.defaultValue=r,a.defaultCssValue=i,a.get=e=>mt`var(${me(t)}, ${i(e)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),a}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):me(null!=e?e:t.lastResortDefaultValue()),r=mt`var(${me(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>mt`var(${me(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oe(t,e){return me(`${t.name}: ${e}`)}const Ne={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8")},ve={display:{fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Se={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:xe.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:xe.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:xe.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:xe.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)};xe.create("--ft-button-large-height","","SIZE","40px"),xe.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),xe.extend("--ft-button-large-gap","",Ne.spacing2),xe.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),xe.extend("--ft-button-large-icon-size","",Ne.iconSize3),xe.create("--ft-button-large-border-width","","SIZE","1px"),xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),xe.create("--ft-button-small-height","","SIZE","30px"),xe.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),xe.extend("--ft-button-small-gap","",Ne.spacing2),xe.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),xe.extend("--ft-button-small-icon-size","",Ne.iconSize2),xe.create("--ft-button-small-border-width","","SIZE","1px"),xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),xe.extend("--ft-button-primary-background-color","",Se.backgroundActionPrimary),xe.extend("--ft-button-primary-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-icon-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-state-layer-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-button-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-tertiary-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-icon-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),xe.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),xe.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),xe.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-secondary-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-icon-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),xe.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),xe.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),xe.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-button-secondary-border-color","",Se.borderActionPrimary),xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-neutral-icon-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-state-layer-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),xe.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),xe.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),xe.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),xe.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),xe.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),xe.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),xe.extend("--ft-tabs-label-gap","",Ne.spacing1),xe.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),xe.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),xe.extend("--ft-switch-group-gap","",Ne.spacing1),xe.extend("--ft-switch-group-background-color","",Se.backgroundGlobalSurface),xe.extend("--ft-switch-group-border-color","",Se.borderGlobalSubtle),xe.create("--ft-switch-group-border-radius","","SIZE","6px"),xe.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),xe.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),xe.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),xe.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),xe.extend("--ft-switch-focus-focus-ring-color","",Se.borderActionFocusRing),xe.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),xe.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),xe.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-switch-off-color","",Se.contentGlobalSubtle),xe.extend("--ft-switch-off-state-layer-color","",Se.contentGlobalSubtle),xe.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),xe.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),xe.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),xe.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),xe.extend("--ft-chart-3-light","",Ne.colorUltramarine40),xe.extend("--ft-chart-3-base","",Ne.colorUltramarine70),xe.extend("--ft-chart-4-light","",Ne.colorCyan50),xe.extend("--ft-chart-4-base","",Ne.colorCyan100),xe.extend("--ft-chart-5-light","",Ne.colorRed40),xe.extend("--ft-chart-5-base","",Ne.colorRed60),xe.extend("--ft-chart-6-light","",Ne.colorGreen40),xe.extend("--ft-chart-6-base","",Ne.colorGreen70),xe.extend("--ft-chart-7-light","",Ne.colorOrange70),xe.extend("--ft-chart-7-base","",Ne.colorOrange100),xe.extend("--ft-chart-8-light","",Ne.colorAvocado70),xe.extend("--ft-chart-8-base","",Ne.colorAvocado200),xe.extend("--ft-chart-9-light","",Ne.colorBrown50),xe.extend("--ft-chart-9-base","",Ne.colorBrown200),xe.extend("--ft-chart-10-light","",Ne.colorGray50),xe.extend("--ft-chart-10-base","",Ne.colorGray80),xe.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),xe.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),xe.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),xe.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),xe.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),xe.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),xe.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),xe.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),xe.extend("--ft-chip-large-gap","",Ne.spacing1),xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),xe.create("--ft-chip-large-border-width","","SIZE","1px"),xe.extend("--ft-chip-large-icon-size","",Ne.iconSize3),xe.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),xe.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),xe.extend("--ft-chip-medium-gap","",Ne.spacing1),xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),xe.create("--ft-chip-medium-border-width","","SIZE","1px"),xe.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),xe.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),xe.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),xe.extend("--ft-chip-small-gap","",Ne.spacing1),xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),xe.create("--ft-chip-small-border-width","","SIZE","1px"),xe.extend("--ft-chip-small-icon-size","",Ne.iconSize1),xe.extend("--ft-chip-neutral-background-color","",Se.backgroundGlobalOnSurface),xe.extend("--ft-chip-neutral-color","",Se.contentGlobalPrimary),xe.extend("--ft-chip-neutral-border-color","",Se.borderGlobalSubtle),xe.extend("--ft-chip-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-chip-info-color","",Se.contentInfoPrimary),xe.extend("--ft-chip-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-chip-success-background-color","",Se.backgroundSuccessSubtle),xe.extend("--ft-chip-success-color","",Se.contentSuccessPrimary),xe.extend("--ft-chip-success-border-color","",Se.borderSuccessPrimary),xe.extend("--ft-chip-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-chip-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-chip-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-chip-error-background-color","",Se.backgroundErrorSubtle),xe.extend("--ft-chip-error-color","",Se.contentErrorPrimary),xe.extend("--ft-chip-error-border-color","",Se.borderErrorPrimary),xe.create("--ft-notice-border-width","","SIZE","1px"),xe.extend("--ft-notice-horizontal-padding","",Ne.spacing2),xe.extend("--ft-notice-vertical-padding","",Ne.spacing1),xe.extend("--ft-notice-border-radius","",Ne.borderRadiusS),xe.extend("--ft-notice-gap","",Ne.spacing2),xe.extend("--ft-notice-icon-size","",Ne.iconSize3),xe.extend("--ft-notice-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-notice-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-notice-info-color","",Se.contentInfoPrimary),xe.extend("--ft-notice-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-notice-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-notice-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-checkbox-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-checkbox-checked-background-color","",Se.contentActionPrimary),xe.extend("--ft-checkbox-checked-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-checkbox-checked-color","",Se.contentGlobalOnColor),xe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-checkbox-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xe.extend("--ft-checkbox-gap","",Ne.spacing3),xe.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-toggle-off-background-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-off-icon-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-off-state-layer-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-toggle-on-background-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-on-icon-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-on-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-toggle-focus-focus-ring-color","",Se.borderActionFocusRing),xe.extend("--ft-toggle-gap","",Ne.spacing3),xe.extend("--ft-radio-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-radio-selected-color","",Se.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),xe.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),xe.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),xe.extend("--ft-radio-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),xe.extend("--ft-radio-gap","",Ne.spacing3),xe.extend("--ft-notification-icon-size","",Ne.iconSize4),xe.extend("--ft-notification-horizontal-padding","",Ne.spacing4),xe.extend("--ft-notification-vertical-padding","",Ne.spacing4),xe.extend("--ft-notification-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-notification-info-color","",Se.contentInfoPrimary),xe.extend("--ft-notification-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-notification-success-background-color","",Se.backgroundSuccessSubtle),xe.extend("--ft-notification-success-color","",Se.contentSuccessPrimary),xe.extend("--ft-notification-success-border-color","",Se.borderSuccessPrimary),xe.extend("--ft-notification-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-notification-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-notification-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-notification-error-background-color","",Se.backgroundErrorSubtle),xe.extend("--ft-notification-error-color","",Se.contentErrorPrimary),xe.extend("--ft-notification-error-border-color","",Se.borderErrorPrimary),xe.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),xe.create("--ft-notification-border-width","","SIZE","1px"),xe.extend("--ft-notification-gap-leading","",Ne.spacing2),xe.extend("--ft-notification-gap-trailing","",Ne.spacing8);const we={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ce=window,$e=Ce.ShadowRoot&&(void 0===Ce.ShadyCSS||Ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
|
+
class ge 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 e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ce(e.insertBefore(Ht(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ee}}ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});const be=globalThis.litElementPolyfillSupport;be?.({LitElement:ge}),(globalThis.litElementVersions??=[]).push("4.0.2");const me=t=>"string"==typeof t?bt(t):t;class xe{static create(t,e,o,r){const i=t=>me(null!=t?t:r),a=mt`var(${me(t)}, ${i(r)})`;return a.name=t,a.description=e,a.category=o,a.defaultValue=r,a.defaultCssValue=i,a.get=e=>mt`var(${me(t)}, ${i(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),a=mt`var(${me(t)}, ${i(r)})`;return a.name=t,a.description=e,a.category=o.category,a.fallbackVariable=o,a.defaultValue=r,a.defaultCssValue=i,a.get=e=>mt`var(${me(t)}, ${i(e)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),a}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):me(null!=e?e:t.lastResortDefaultValue()),r=mt`var(${me(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>mt`var(${me(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oe(t,e){return me(`${t.name}: ${e}`)}const ve={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Se={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ve.colorBrand0),backgroundErrorPrimary:xe.extend("--ft-background-error-primary","Used as background of error components.",ve.colorRed0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",ve.colorRed10),backgroundInfoPrimary:xe.extend("--ft-background-info-primary","Used as background of information components.",ve.colorCyan200),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",ve.colorCyan10),backgroundWarningPrimary:xe.extend("--ft-background-warning-primary","Used as background of warning components.",ve.colorOrange300),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ve.colorOrange10),backgroundSuccessPrimary:xe.extend("--ft-background-success-primary","Used as background of success components.",ve.colorGreen200),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",ve.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",ve.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ve.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ve.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ve.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ve.colorOrange300),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ve.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ve.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",ve.colorRed0),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ve.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",ve.colorCyan0),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",ve.colorGreen0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ve.colorGreen200),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",ve.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ve.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ve.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",ve.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",ve.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ve.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for warning components.",ve.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success components.",ve.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for error components.",ve.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for information components.",ve.colorCyan30),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ve.colorGray30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",ve.colorGray50),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ve.colorGray80)};xe.create("--ft-button-large-height","","SIZE","40px"),xe.extend("--ft-button-large-horizontal-padding","",ve.spacing4),xe.extend("--ft-button-large-gap","",ve.spacing2),xe.extend("--ft-button-large-border-radius","",ve.borderRadiusS),xe.extend("--ft-button-large-icon-size","",ve.iconSize3),xe.create("--ft-button-large-border-width","","SIZE","1px"),xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),xe.create("--ft-button-small-height","","SIZE","30px"),xe.extend("--ft-button-small-horizontal-padding","",ve.spacing3),xe.extend("--ft-button-small-gap","",ve.spacing2),xe.extend("--ft-button-small-border-radius","",ve.borderRadiusS),xe.extend("--ft-button-small-icon-size","",ve.iconSize2),xe.create("--ft-button-small-border-width","","SIZE","1px"),xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),xe.extend("--ft-button-primary-background-color","",Se.backgroundActionPrimary),xe.extend("--ft-button-primary-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-icon-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-state-layer-color","",Se.contentGlobalOnColor),xe.extend("--ft-button-primary-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-button-primary-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-button-primary-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-button-primary-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-button-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-tertiary-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-icon-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-button-tertiary-state-layer-opacity-hover","",ve.opacity8),xe.extend("--ft-button-tertiary-state-layer-opacity-focus","",ve.opacity8),xe.extend("--ft-button-tertiary-state-layer-opacity-active","",ve.opacity16),xe.extend("--ft-button-tertiary-component-opacity-disabled","",ve.opacity40),xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-secondary-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-icon-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-button-secondary-state-layer-opacity-hover","",ve.opacity8),xe.extend("--ft-button-secondary-state-layer-opacity-focus","",ve.opacity8),xe.extend("--ft-button-secondary-state-layer-opacity-active","",ve.opacity16),xe.extend("--ft-button-secondary-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-button-secondary-border-color","",Se.borderActionPrimary),xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),xe.extend("--ft-button-neutral-icon-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-state-layer-color","",Se.contentGlobalSecondary),xe.extend("--ft-button-neutral-state-layer-opacity-hover","",ve.opacity8),xe.extend("--ft-button-neutral-state-layer-opacity-focus","",ve.opacity8),xe.extend("--ft-button-neutral-state-layer-opacity-active","",ve.opacity16),xe.extend("--ft-button-neutral-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-tabs-top-left-border-radius","",ve.borderRadiusS),xe.extend("--ft-tabs-top-right-border-radius","",ve.borderRadiusS),xe.extend("--ft-tabs-label-horizontal-padding","",ve.spacing4),xe.extend("--ft-tabs-label-vertical-padding","",ve.spacing3),xe.extend("--ft-tabs-label-gap","",ve.spacing1),xe.extend("--ft-switch-group-horizontal-padding","",ve.spacing1),xe.extend("--ft-switch-group-vertical-padding","",ve.spacing1),xe.extend("--ft-switch-group-gap","",ve.spacing1),xe.extend("--ft-switch-group-background-color","",Se.backgroundGlobalSurface),xe.extend("--ft-switch-group-border-color","",Se.borderGlobalSubtle),xe.create("--ft-switch-group-border-radius","","SIZE","6px"),xe.extend("--ft-switch-label-horizontal-padding","",ve.spacing2),xe.extend("--ft-switch-label-vertical-padding","",ve.spacing1),xe.extend("--ft-switch-icon-horizontal-padding","",ve.spacing1),xe.extend("--ft-switch-icon-vertical-padding","",ve.spacing1),xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),xe.extend("--ft-switch-focus-focus-ring-color","",Se.borderActionFocusRing),xe.extend("--ft-switch-option-border-radius","",ve.borderRadiusS),xe.extend("--ft-switch-off-state-layer-opacity-hover","",ve.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-focus","",ve.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-active","",ve.opacity16),xe.extend("--ft-switch-off-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-switch-off-color","",Se.contentGlobalSubtle),xe.extend("--ft-switch-off-state-layer-color","",Se.contentGlobalSubtle),xe.extend("--ft-chart-1-light","for area color charts",ve.colorBrand40),xe.extend("--ft-chart-1-base","for line charts",ve.colorBrand0),xe.extend("--ft-chart-2-light","for area color charts",ve.colorYellow60),xe.extend("--ft-chart-2-base","for line charts",ve.colorYellow100),xe.extend("--ft-chart-3-light","",ve.colorUltramarine40),xe.extend("--ft-chart-3-base","",ve.colorUltramarine70),xe.extend("--ft-chart-4-light","",ve.colorCyan50),xe.extend("--ft-chart-4-base","",ve.colorCyan100),xe.extend("--ft-chart-5-light","",ve.colorRed40),xe.extend("--ft-chart-5-base","",ve.colorRed60),xe.extend("--ft-chart-6-light","",ve.colorGreen40),xe.extend("--ft-chart-6-base","",ve.colorGreen70),xe.extend("--ft-chart-7-light","",ve.colorOrange70),xe.extend("--ft-chart-7-base","",ve.colorOrange100),xe.extend("--ft-chart-8-light","",ve.colorAvocado70),xe.extend("--ft-chart-8-base","",ve.colorAvocado200),xe.extend("--ft-chart-9-light","",ve.colorBrown50),xe.extend("--ft-chart-9-base","",ve.colorBrown200),xe.extend("--ft-chart-10-light","",ve.colorGray50),xe.extend("--ft-chart-10-base","",ve.colorGray80),xe.extend("--ft-chart-monochrome-10","",ve.colorBrand10),xe.extend("--ft-chart-monochrome-20","",ve.colorBrand20),xe.extend("--ft-chart-monochrome-30","",ve.colorBrand40),xe.extend("--ft-chart-monochrome-40","",ve.colorBrand60),xe.extend("--ft-chart-monochrome-50","",ve.colorBrand0),xe.extend("--ft-chart-monochrome-60","",ve.colorBrand200),xe.extend("--ft-chip-large-horizontal-padding","",ve.spacing4),xe.extend("--ft-chip-large-vertical-padding","",ve.spacing2),xe.extend("--ft-chip-large-gap","",ve.spacing1),xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-large-border-radius","",ve.borderRadiusPill),xe.create("--ft-chip-large-border-width","","SIZE","1px"),xe.extend("--ft-chip-large-icon-size","",ve.iconSize3),xe.extend("--ft-chip-medium-horizontal-padding","",ve.spacing3),xe.extend("--ft-chip-medium-vertical-padding","",ve.spacing1),xe.extend("--ft-chip-medium-gap","",ve.spacing1),xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-medium-border-radius","",ve.borderRadiusPill),xe.create("--ft-chip-medium-border-width","","SIZE","1px"),xe.extend("--ft-chip-medium-icon-size","",ve.iconSize2),xe.extend("--ft-chip-small-horizontal-padding","",ve.spacing2),xe.extend("--ft-chip-small-vertical-padding","",ve.spacing05),xe.extend("--ft-chip-small-gap","",ve.spacing1),xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-small-border-radius","",ve.borderRadiusPill),xe.create("--ft-chip-small-border-width","","SIZE","1px"),xe.extend("--ft-chip-small-icon-size","",ve.iconSize1),xe.extend("--ft-chip-neutral-background-color","",Se.backgroundGlobalOnSurface),xe.extend("--ft-chip-neutral-color","",Se.contentGlobalPrimary),xe.extend("--ft-chip-neutral-border-color","",Se.borderGlobalSubtle),xe.extend("--ft-chip-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-chip-info-color","",Se.contentInfoPrimary),xe.extend("--ft-chip-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-chip-success-background-color","",Se.backgroundSuccessSubtle),xe.extend("--ft-chip-success-color","",Se.contentSuccessPrimary),xe.extend("--ft-chip-success-border-color","",Se.borderSuccessPrimary),xe.extend("--ft-chip-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-chip-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-chip-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-chip-error-background-color","",Se.backgroundErrorSubtle),xe.extend("--ft-chip-error-color","",Se.contentErrorPrimary),xe.extend("--ft-chip-error-border-color","",Se.borderErrorPrimary),xe.create("--ft-notice-border-width","","SIZE","1px"),xe.extend("--ft-notice-horizontal-padding","",ve.spacing2),xe.extend("--ft-notice-vertical-padding","",ve.spacing1),xe.extend("--ft-notice-border-radius","",ve.borderRadiusS),xe.extend("--ft-notice-gap","",ve.spacing2),xe.extend("--ft-notice-icon-size","",ve.iconSize3),xe.extend("--ft-notice-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-notice-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-notice-info-color","",Se.contentInfoPrimary),xe.extend("--ft-notice-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-notice-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-notice-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-checkbox-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-checkbox-checked-background-color","",Se.contentActionPrimary),xe.extend("--ft-checkbox-checked-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-checkbox-checked-color","",Se.contentGlobalOnColor),xe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-checkbox-checked-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-checkbox-unchecked-border-color","",ve.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-color","",ve.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-checkbox-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xe.extend("--ft-checkbox-gap","",ve.spacing3),xe.extend("--ft-toggle-off-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-toggle-off-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-toggle-off-background-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-off-icon-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-off-state-layer-color","",Se.contentGlobalSubtle),xe.extend("--ft-toggle-on-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-toggle-on-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-toggle-on-background-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-on-icon-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-on-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-toggle-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-toggle-focus-focus-ring-color","",Se.borderActionFocusRing),xe.extend("--ft-toggle-gap","",ve.spacing3),xe.extend("--ft-radio-label-color","",Se.contentGlobalPrimary),xe.extend("--ft-radio-selected-color","",Se.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-color","",Se.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-radio-selected-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-radio-unselected-state-layer-color","",ve.colorGray80),xe.extend("--ft-radio-unselected-state-layer-opacity-hover","",ve.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-focus","",ve.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-active","",ve.opacity24),xe.extend("--ft-radio-unselected-component-opacity-disabled","",ve.opacity40),xe.extend("--ft-radio-focus-focus-ring-color","",Se.borderActionFocusRing),xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),xe.extend("--ft-radio-gap","",ve.spacing3),xe.extend("--ft-notification-icon-size","",ve.iconSize4),xe.extend("--ft-notification-horizontal-padding","",ve.spacing4),xe.extend("--ft-notification-vertical-padding","",ve.spacing4),xe.extend("--ft-notification-info-background-color","",Se.backgroundInfoSubtle),xe.extend("--ft-notification-info-color","",Se.contentInfoPrimary),xe.extend("--ft-notification-info-border-color","",Se.borderInfoPrimary),xe.extend("--ft-notification-success-background-color","",Se.backgroundSuccessSubtle),xe.extend("--ft-notification-success-color","",Se.contentSuccessPrimary),xe.extend("--ft-notification-success-border-color","",Se.borderSuccessPrimary),xe.extend("--ft-notification-warning-background-color","",Se.backgroundWarningSubtle),xe.extend("--ft-notification-warning-color","",Se.contentWarningPrimary),xe.extend("--ft-notification-warning-border-color","",Se.borderWarningPrimary),xe.extend("--ft-notification-error-background-color","",Se.backgroundErrorSubtle),xe.extend("--ft-notification-error-color","",Se.contentErrorPrimary),xe.extend("--ft-notification-error-border-color","",Se.borderErrorPrimary),xe.extend("--ft-notification-border-radius","",ve.borderRadiusPill),xe.create("--ft-notification-border-width","","SIZE","1px"),xe.extend("--ft-notification-gap-leading","",ve.spacing2),xe.extend("--ft-notification-gap-trailing","",ve.spacing8);const we={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ce=window,$e=Ce.ShadowRoot&&(void 0===Ce.ShadyCSS||Ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2019 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/class Ee extends
|
|
85
|
+
*/class Ee extends ge{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{$e?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ce.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Re,Ue=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const Ie=Symbol("constructorPrototype"),We=Symbol("constructorName"),ke=Symbol("exportpartsDebouncer");class Le extends Ee{constructor(){super(),this[Re]=new U(5),this[We]=this.constructor.name,this[Ie]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[We]&&Object.setPrototypeOf(this,this[Ie])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,a,n;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Re=ke,Ue([w()],Le.prototype,"exportpartsPrefix",void 0),Ue([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Le.prototype,"exportpartsPrefixes",void 0),Ue([w()],Le.prototype,"customStylesheet",void 0);const ze=xe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
86
86
|
.highlight-html-match {
|
|
87
87
|
background: ${ze};
|
|
88
88
|
}
|
|
@@ -95,7 +95,7 @@ class ue extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
95
95
|
-ms-user-select: none;
|
|
96
96
|
user-select: none;
|
|
97
97
|
}
|
|
98
|
-
`;mt`
|
|
98
|
+
`;function Ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Fe,De,Me;mt`
|
|
99
99
|
.ft-word-wrap {
|
|
100
100
|
white-space: normal;
|
|
101
101
|
word-wrap: break-word;
|
|
@@ -118,118 +118,118 @@ class ue extends zt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
118
118
|
display: inline-block;
|
|
119
119
|
width: 0;
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
`;const Ae=Symbol("internalReduxEventsUnsubscribers"),Be=Symbol("internalStoresUnsubscribers"),Pe=Symbol("internalStores");class He extends Le{constructor(){super(...arguments),this[Fe]=new Map,this[De]=new Map,this[Me]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Pe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Pe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Pe].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Pe].delete(e)}setupStore(t,e){this[Pe].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Pe].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Be].has(t.store):this[Be].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Be].set(t,e.subscribe((()=>this.updateFromStores()))),Ze(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ae].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Be].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ae].forEach((t=>t())),this[Ae]=[]}unsubscribeFromStore(t){this[Be].has(t)&&this[Be].get(t)(),this[Be].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Fe=Be,De=Pe,Me=Ae,He.reduxProperties=new Map,He.reduxReactiveProperties=new Set,He.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const je=Symbol("elementInternals");var _e,Te;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Te=null===(_e=window.safari)||void 0===_e?void 0:_e.pushNotification)||void 0===Te||Te.toString());
|
|
122
122
|
/**
|
|
123
123
|
* @license
|
|
124
124
|
* Copyright 2017 Google LLC
|
|
125
125
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
126
|
*/
|
|
127
|
-
const
|
|
127
|
+
const Ge=1,Ye=2,Ve=t=>(...e)=>({_$litDirective$:t,values:e});let Je=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
128
128
|
/**
|
|
129
129
|
* @license
|
|
130
130
|
* Copyright 2018 Google LLC
|
|
131
131
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
132
|
-
*/const
|
|
132
|
+
*/const qe=Ve(class extends Je{constructor(t){if(super(t),t.type!==Ge||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return X}}),Xe=Symbol.for(""),Qe=t=>{if(t?.r===Xe)return t?._$litStatic$},to=t=>({_$litStatic$:t,r:Xe}),eo=new Map,oo=(t=>(e,...o)=>{const r=o.length;let i,a;const n=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(a=o[c],i=Qe(a));)l+=i+e[++c],p=!0;c!==r&&s.push(a),n.push(l),c++}if(c===r&&n.push(e[r]),p){const t=n.join("$$lit$$");void 0===(e=eo.get(t))&&(n.raw=n,eo.set(t,e=n)),o=s}return t(e,...o)})(q);
|
|
133
133
|
/**
|
|
134
134
|
* @license
|
|
135
135
|
* Copyright 2020 Google LLC
|
|
136
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/var
|
|
137
|
+
*/var ro;!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"}(ro||(ro={}));const io=xe.extend("--ft-typography-font-family","",we.titleFont),ao=xe.extend("--ft-typography-font-family","",we.contentFont),no={fontFamily:ao,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},so=xe.extend("--ft-typography-title-font-family","",io),lo=xe.extend("--ft-typography-title-font-size","",no.fontSize,"20px"),co=xe.extend("--ft-typography-title-font-weight","",no.fontWeight,"normal"),po=xe.extend("--ft-typography-title-letter-spacing","",no.letterSpacing,"0.15px"),fo=xe.extend("--ft-typography-title-line-height","",no.lineHeight,"1.2"),ho=xe.extend("--ft-typography-title-text-transform","",no.textTransform,"inherit"),yo=xe.extend("--ft-typography-title-dense-font-family","",io),uo=xe.extend("--ft-typography-title-dense-font-size","",no.fontSize,"14px"),go=xe.extend("--ft-typography-title-dense-font-weight","",no.fontWeight,"normal"),bo=xe.extend("--ft-typography-title-dense-letter-spacing","",no.letterSpacing,"0.105px"),mo=xe.extend("--ft-typography-title-dense-line-height","",no.lineHeight,"1.7"),xo=xe.extend("--ft-typography-title-dense-text-transform","",no.textTransform,"inherit"),Oo=xe.extend("--ft-typography-subtitle1-font-family","",ao),vo=xe.extend("--ft-typography-subtitle1-font-size","",no.fontSize,"16px"),No=xe.extend("--ft-typography-subtitle1-font-weight","",no.fontWeight,"600"),So=xe.extend("--ft-typography-subtitle1-letter-spacing","",no.letterSpacing,"0.144px"),wo=xe.extend("--ft-typography-subtitle1-line-height","",no.lineHeight,"1.5"),Co=xe.extend("--ft-typography-subtitle1-text-transform","",no.textTransform,"inherit"),$o=xe.extend("--ft-typography-subtitle2-font-family","",ao),Eo=xe.extend("--ft-typography-subtitle2-font-size","",no.fontSize,"14px"),Ro=xe.extend("--ft-typography-subtitle2-font-weight","",no.fontWeight,"normal"),Uo=xe.extend("--ft-typography-subtitle2-letter-spacing","",no.letterSpacing,"0.098px"),Io=xe.extend("--ft-typography-subtitle2-line-height","",no.lineHeight,"1.7"),Wo=xe.extend("--ft-typography-subtitle2-text-transform","",no.textTransform,"inherit"),ko={fontFamily:xe.extend("--ft-typography-body1-font-family","",ao),fontSize:xe.extend("--ft-typography-body1-font-size","",no.fontSize,"16px"),fontWeight:xe.extend("--ft-typography-body1-font-weight","",no.fontWeight,"normal"),letterSpacing:xe.extend("--ft-typography-body1-letter-spacing","",no.letterSpacing,"0.496px"),lineHeight:xe.extend("--ft-typography-body1-line-height","",no.lineHeight,"1.5"),textTransform:xe.extend("--ft-typography-body1-text-transform","",no.textTransform,"inherit")},Lo=xe.extend("--ft-typography-body2-font-family","",ao),zo=xe.extend("--ft-typography-body2-font-size","",no.fontSize,"14px"),Ko=xe.extend("--ft-typography-body2-font-weight","",no.fontWeight,"normal"),Zo=xe.extend("--ft-typography-body2-letter-spacing","",no.letterSpacing,"0.252px"),Fo=xe.extend("--ft-typography-body2-line-height","",no.lineHeight,"1.4"),Do=xe.extend("--ft-typography-body2-text-transform","",no.textTransform,"inherit"),Mo={fontFamily:xe.extend("--ft-typography-caption-font-family","",ao),fontSize:xe.extend("--ft-typography-caption-font-size","",no.fontSize,"12px"),fontWeight:xe.extend("--ft-typography-caption-font-weight","",no.fontWeight,"normal"),letterSpacing:xe.extend("--ft-typography-caption-letter-spacing","",no.letterSpacing,"0.396px"),lineHeight:xe.extend("--ft-typography-caption-line-height","",no.lineHeight,"1.33"),textTransform:xe.extend("--ft-typography-caption-text-transform","",no.textTransform,"inherit")},Ao=xe.extend("--ft-typography-breadcrumb-font-family","",ao),Bo=xe.extend("--ft-typography-breadcrumb-font-size","",no.fontSize,"10px"),Po=xe.extend("--ft-typography-breadcrumb-font-weight","",no.fontWeight,"normal"),Ho=xe.extend("--ft-typography-breadcrumb-letter-spacing","",no.letterSpacing,"0.33px"),jo=xe.extend("--ft-typography-breadcrumb-line-height","",no.lineHeight,"1.6"),_o=xe.extend("--ft-typography-breadcrumb-text-transform","",no.textTransform,"inherit"),To=xe.extend("--ft-typography-overline-font-family","",ao),Go=xe.extend("--ft-typography-overline-font-size","",no.fontSize,"10px"),Yo=xe.extend("--ft-typography-overline-font-weight","",no.fontWeight,"normal"),Vo=xe.extend("--ft-typography-overline-letter-spacing","",no.letterSpacing,"1.5px"),Jo=xe.extend("--ft-typography-overline-line-height","",no.lineHeight,"1.6"),qo=xe.extend("--ft-typography-overline-text-transform","",no.textTransform,"uppercase"),Xo=xe.extend("--ft-typography-button-font-family","",ao),Qo=xe.extend("--ft-typography-button-font-size","",no.fontSize,"14px"),tr=xe.extend("--ft-typography-button-font-weight","",no.fontWeight,"600"),er=xe.extend("--ft-typography-button-letter-spacing","",no.letterSpacing,"1.246px"),or=xe.extend("--ft-typography-button-line-height","",no.lineHeight,"1.15"),rr=xe.extend("--ft-typography-button-text-transform","",no.textTransform,"uppercase"),ir=mt`
|
|
138
138
|
.ft-typography--title {
|
|
139
|
-
font-family: ${
|
|
140
|
-
font-size: ${
|
|
141
|
-
font-weight: ${
|
|
142
|
-
letter-spacing: ${
|
|
143
|
-
line-height: ${
|
|
144
|
-
text-transform: ${
|
|
145
|
-
}
|
|
146
|
-
`,
|
|
139
|
+
font-family: ${so};
|
|
140
|
+
font-size: ${lo};
|
|
141
|
+
font-weight: ${co};
|
|
142
|
+
letter-spacing: ${po};
|
|
143
|
+
line-height: ${fo};
|
|
144
|
+
text-transform: ${ho};
|
|
145
|
+
}
|
|
146
|
+
`,ar=mt`
|
|
147
147
|
.ft-typography--title-dense {
|
|
148
|
-
font-family: ${
|
|
149
|
-
font-size: ${
|
|
150
|
-
font-weight: ${
|
|
151
|
-
letter-spacing: ${
|
|
152
|
-
line-height: ${
|
|
153
|
-
text-transform: ${
|
|
154
|
-
}
|
|
155
|
-
`,
|
|
148
|
+
font-family: ${yo};
|
|
149
|
+
font-size: ${uo};
|
|
150
|
+
font-weight: ${go};
|
|
151
|
+
letter-spacing: ${bo};
|
|
152
|
+
line-height: ${mo};
|
|
153
|
+
text-transform: ${xo};
|
|
154
|
+
}
|
|
155
|
+
`,nr=mt`
|
|
156
156
|
.ft-typography--subtitle1 {
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
160
|
-
letter-spacing: ${
|
|
161
|
-
line-height: ${
|
|
162
|
-
text-transform: ${
|
|
163
|
-
}
|
|
164
|
-
`,
|
|
157
|
+
font-family: ${Oo};
|
|
158
|
+
font-size: ${vo};
|
|
159
|
+
font-weight: ${No};
|
|
160
|
+
letter-spacing: ${So};
|
|
161
|
+
line-height: ${wo};
|
|
162
|
+
text-transform: ${Co};
|
|
163
|
+
}
|
|
164
|
+
`,sr=mt`
|
|
165
165
|
.ft-typography--subtitle2 {
|
|
166
|
-
font-family: ${
|
|
167
|
-
font-size: ${
|
|
168
|
-
font-weight: ${
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
171
|
-
text-transform: ${
|
|
166
|
+
font-family: ${$o};
|
|
167
|
+
font-size: ${Eo};
|
|
168
|
+
font-weight: ${Ro};
|
|
169
|
+
letter-spacing: ${Uo};
|
|
170
|
+
line-height: ${Io};
|
|
171
|
+
text-transform: ${Wo};
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
`,
|
|
174
|
+
`,lr=mt`
|
|
175
175
|
.ft-typography--body1 {
|
|
176
|
-
font-family: ${
|
|
177
|
-
font-size: ${
|
|
178
|
-
font-weight: ${
|
|
179
|
-
letter-spacing: ${
|
|
180
|
-
line-height: ${
|
|
181
|
-
text-transform: ${
|
|
182
|
-
}
|
|
183
|
-
`,
|
|
176
|
+
font-family: ${ko.fontFamily};
|
|
177
|
+
font-size: ${ko.fontSize};
|
|
178
|
+
font-weight: ${ko.fontWeight};
|
|
179
|
+
letter-spacing: ${ko.letterSpacing};
|
|
180
|
+
line-height: ${ko.lineHeight};
|
|
181
|
+
text-transform: ${ko.textTransform};
|
|
182
|
+
}
|
|
183
|
+
`,cr=mt`
|
|
184
184
|
.ft-typography--body2 {
|
|
185
|
-
font-family: ${
|
|
186
|
-
font-size: ${
|
|
187
|
-
font-weight: ${
|
|
188
|
-
letter-spacing: ${
|
|
189
|
-
line-height: ${
|
|
190
|
-
text-transform: ${
|
|
191
|
-
}
|
|
192
|
-
`,
|
|
185
|
+
font-family: ${Lo};
|
|
186
|
+
font-size: ${zo};
|
|
187
|
+
font-weight: ${Ko};
|
|
188
|
+
letter-spacing: ${Zo};
|
|
189
|
+
line-height: ${Fo};
|
|
190
|
+
text-transform: ${Do};
|
|
191
|
+
}
|
|
192
|
+
`,pr=mt`
|
|
193
193
|
.ft-typography--caption {
|
|
194
|
-
font-family: ${
|
|
195
|
-
font-size: ${
|
|
196
|
-
font-weight: ${
|
|
197
|
-
letter-spacing: ${
|
|
198
|
-
line-height: ${
|
|
199
|
-
text-transform: ${
|
|
200
|
-
}
|
|
201
|
-
`,
|
|
194
|
+
font-family: ${Mo.fontFamily};
|
|
195
|
+
font-size: ${Mo.fontSize};
|
|
196
|
+
font-weight: ${Mo.fontWeight};
|
|
197
|
+
letter-spacing: ${Mo.letterSpacing};
|
|
198
|
+
line-height: ${Mo.lineHeight};
|
|
199
|
+
text-transform: ${Mo.textTransform};
|
|
200
|
+
}
|
|
201
|
+
`,fr=mt`
|
|
202
202
|
.ft-typography--breadcrumb {
|
|
203
|
-
font-family: ${
|
|
204
|
-
font-size: ${
|
|
205
|
-
font-weight: ${
|
|
206
|
-
letter-spacing: ${
|
|
207
|
-
line-height: ${
|
|
208
|
-
text-transform: ${
|
|
209
|
-
}
|
|
210
|
-
`,
|
|
203
|
+
font-family: ${Ao};
|
|
204
|
+
font-size: ${Bo};
|
|
205
|
+
font-weight: ${Po};
|
|
206
|
+
letter-spacing: ${Ho};
|
|
207
|
+
line-height: ${jo};
|
|
208
|
+
text-transform: ${_o};
|
|
209
|
+
}
|
|
210
|
+
`,hr=mt`
|
|
211
211
|
.ft-typography--overline {
|
|
212
|
-
font-family: ${
|
|
213
|
-
font-size: ${
|
|
214
|
-
font-weight: ${
|
|
215
|
-
letter-spacing: ${
|
|
216
|
-
line-height: ${
|
|
217
|
-
text-transform: ${
|
|
218
|
-
}
|
|
219
|
-
`,
|
|
212
|
+
font-family: ${To};
|
|
213
|
+
font-size: ${Go};
|
|
214
|
+
font-weight: ${Yo};
|
|
215
|
+
letter-spacing: ${Vo};
|
|
216
|
+
line-height: ${Jo};
|
|
217
|
+
text-transform: ${qo};
|
|
218
|
+
}
|
|
219
|
+
`,dr=mt`
|
|
220
220
|
.ft-typography--button {
|
|
221
|
-
font-family: ${
|
|
222
|
-
font-size: ${
|
|
223
|
-
font-weight: ${
|
|
224
|
-
letter-spacing: ${
|
|
225
|
-
line-height: ${
|
|
226
|
-
text-transform: ${
|
|
227
|
-
}
|
|
228
|
-
`,
|
|
221
|
+
font-family: ${Xo};
|
|
222
|
+
font-size: ${Qo};
|
|
223
|
+
font-weight: ${tr};
|
|
224
|
+
letter-spacing: ${er};
|
|
225
|
+
line-height: ${or};
|
|
226
|
+
text-transform: ${rr};
|
|
227
|
+
}
|
|
228
|
+
`,yr=mt`
|
|
229
229
|
.ft-typography {
|
|
230
230
|
vertical-align: inherit;
|
|
231
231
|
}
|
|
232
|
-
`,
|
|
232
|
+
`,ur=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return mt`
|
|
233
233
|
.ft-typography--${bt(t)} {
|
|
234
234
|
font-family: ${e.fontFamily};
|
|
235
235
|
font-size: ${e.fontSize};
|
|
@@ -238,20 +238,20 @@ const Me=1,Ae=2,Be=t=>(...e)=>({_$litDirective$:t,values:e});let Pe=class{constr
|
|
|
238
238
|
line-height: ${e.lineHeight};
|
|
239
239
|
text-transform: ${e.textCase};
|
|
240
240
|
}
|
|
241
|
-
`}(t)))];var
|
|
242
|
-
<${
|
|
241
|
+
`}(t)))];var gr=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class br extends Le{constructor(){super(...arguments),this.variant=ro.body1}render(){return this.element?oo`
|
|
242
|
+
<${to(this.element)}
|
|
243
243
|
class="ft-typography ft-typography--${this.variant}">
|
|
244
244
|
<slot></slot>
|
|
245
|
-
</${
|
|
246
|
-
`:
|
|
245
|
+
</${to(this.element)}>
|
|
246
|
+
`:oo`
|
|
247
247
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
248
|
-
`}}
|
|
248
|
+
`}}br.styles=[ir,ar,nr,sr,lr,cr,pr,fr,hr,dr,yr,...ur],gr([w()],br.prototype,"element",void 0),gr([w()],br.prototype,"variant",void 0),W("ft-typography")(br);
|
|
249
249
|
/**
|
|
250
250
|
* @license
|
|
251
251
|
* Copyright 2017 Google LLC
|
|
252
252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
253
253
|
*/
|
|
254
|
-
class
|
|
254
|
+
class mr extends Je{constructor(t){if(super(t),this.et=Q,t.type!==Ye)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}mr.directiveName="unsafeHTML",mr.resultType=1;const xr=Ve(mr);var Or,vr;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Or||(Or={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(vr||(vr={})),new Map([...["abw"].map((t=>[t,vr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,vr.AUDIO])),...["avi"].map((t=>[t,vr.AVI])),...["chm","xhs"].map((t=>[t,vr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,vr.CODE])),...["csv"].map((t=>[t,vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,vr.DITA])),...["epub"].map((t=>[t,vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,vr.EXCEL])),...["flac"].map((t=>[t,vr.FLAC])),...["gif"].map((t=>[t,vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,vr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,vr.JPEG])),...["json"].map((t=>[t,vr.JSON])),...["m4a","m4p"].map((t=>[t,vr.M4A])),...["mov","qt"].map((t=>[t,vr.MOV])),...["mp3"].map((t=>[t,vr.MP3])),...["mp4","m4v"].map((t=>[t,vr.MP4])),...["ogg","oga"].map((t=>[t,vr.OGG])),...["pdf","ps"].map((t=>[t,vr.PDF])),...["png"].map((t=>[t,vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,vr.POWERPOINT])),...["rar"].map((t=>[t,vr.RAR])),...["stp"].map((t=>[t,vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,vr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,vr.VIDEO])),...["wav"].map((t=>[t,vr.WAV])),...["wma"].map((t=>[t,vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,vr.YAML])),...["zip"].map((t=>[t,vr.ZIP]))]);const Nr=xe.create("--ft-icon-font-size","","SIZE","24px"),Sr=xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),wr=xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Cr=xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),$r=xe.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Er=mt`
|
|
255
255
|
:host, i.ft-icon {
|
|
256
256
|
display: inline-flex;
|
|
257
257
|
align-items: center;
|
|
@@ -260,14 +260,14 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
:host {
|
|
263
|
-
width: ${
|
|
264
|
-
height: ${
|
|
263
|
+
width: ${Nr};
|
|
264
|
+
height: ${Nr};
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
i.ft-icon {
|
|
268
268
|
width: 100%;
|
|
269
269
|
height: 100%;
|
|
270
|
-
font-size: ${
|
|
270
|
+
font-size: ${Nr};
|
|
271
271
|
line-height: 1;
|
|
272
272
|
font-weight: normal;
|
|
273
273
|
text-transform: none;
|
|
@@ -278,33 +278,33 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
278
278
|
text-rendering: auto;
|
|
279
279
|
-webkit-font-smoothing: antialiased;
|
|
280
280
|
-moz-osx-font-smoothing: grayscale;
|
|
281
|
-
vertical-align: ${
|
|
281
|
+
vertical-align: ${$r};
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
i.ft-icon.ft-icon--fluid-topics {
|
|
285
|
-
font-family: ${
|
|
285
|
+
font-family: ${Sr}, ft-icons, fticons, sans-serif;
|
|
286
286
|
|
|
287
287
|
/* Ugly fix because font is broken */
|
|
288
|
-
font-size: calc(0.75 * ${
|
|
289
|
-
line-height: ${
|
|
288
|
+
font-size: calc(0.75 * ${Nr});
|
|
289
|
+
line-height: ${Nr};
|
|
290
290
|
position: relative;
|
|
291
291
|
top: -4%;
|
|
292
292
|
justify-content: center;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.ft-icon--file-format {
|
|
296
|
-
font-family: ${
|
|
296
|
+
font-family: ${wr}, ft-mime, sans-serif;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.ft-icon--material {
|
|
300
|
-
font-family: ${
|
|
300
|
+
font-family: ${Cr}, "Material Icons", sans-serif;
|
|
301
301
|
}
|
|
302
|
-
`;var
|
|
302
|
+
`;var Rr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Rr||(Rr={}));var Ur=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ir extends Le{constructor(){super(...arguments),this.resolvedIcon=oe}render(){const t=this.variant&&Object.values(Rr).includes(this.variant)?this.variant:Rr.fluid_topics,e=t!==Rr.material||!!this.value;return te`
|
|
303
303
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
304
|
-
${
|
|
304
|
+
${xr(this.resolvedIcon)}
|
|
305
305
|
<slot ?hidden=${e}></slot>
|
|
306
306
|
</i>
|
|
307
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
307
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Rr.file_format:this.resolvedIcon=null!==(t=vr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Rr.material:this.resolvedIcon=this.value||oe;break;default:this.resolvedIcon=null!==(e=Or[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ir.elementDefinitions={},Ir.styles=Er,Ur([w()],Ir.prototype,"variant",void 0),Ur([w()],Ir.prototype,"value",void 0),Ur([C()],Ir.prototype,"resolvedIcon",void 0),Ur([R("slot")],Ir.prototype,"slottedContent",void 0),W("ft-icon")(Ir);const Wr=xe.external(we.colorOutline,"Design system"),kr=xe.external(we.colorOnSurfaceMedium,"Design system"),Lr=mt`
|
|
308
308
|
:host {
|
|
309
309
|
display: block;
|
|
310
310
|
}
|
|
@@ -315,14 +315,14 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
315
315
|
|
|
316
316
|
ft-icon {
|
|
317
317
|
transform: rotate(-45deg);
|
|
318
|
-
color: ${
|
|
318
|
+
color: ${Wr};
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.ft-resizer--dragging ft-icon,
|
|
322
322
|
.ft-resizer:hover ft-icon {
|
|
323
|
-
color: ${
|
|
323
|
+
color: ${kr};
|
|
324
324
|
}
|
|
325
|
-
`;var
|
|
325
|
+
`;var zr=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Kr extends CustomEvent{constructor(t,e){super("resize",{detail:{width:t,height:e}})}}class Zr extends Le{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=Rr.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=t=>this.doDrag(t.clientX,t.clientY),this.doDragFromTouch=t=>this.doDrag(t.touches[0].clientX,t.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return te`
|
|
326
326
|
<style>
|
|
327
327
|
.ft-resizer {
|
|
328
328
|
cursor: ${bt(this.cursor)}
|
|
@@ -333,25 +333,25 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
333
333
|
@touchstart=${this.initDragFromTouch}>
|
|
334
334
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
335
335
|
</div>
|
|
336
|
-
`}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let o=this.fixedWidth+t-this.startX,r=this.fixedHeight+e-this.startY;this.dispatchEvent(new
|
|
336
|
+
`}initDragFromMouse(t){this.initDrag(t.clientX,t.clientY)}initDragFromTouch(t){t.preventDefault(),t.stopPropagation(),this.initDrag(t.touches[0].clientX,t.touches[0].clientY)}initDrag(t,e){this.dragging=!0,this.startX=t,this.startY=e,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(t,e){let o=this.fixedWidth+t-this.startX,r=this.fixedHeight+e-this.startY;this.dispatchEvent(new Kr(o,r))}}Zr.elementDefinitions={"ft-icon":Ir},Zr.styles=[Ke,Lr],zr([w({type:Number})],Zr.prototype,"initialWidth",void 0),zr([w({type:Number})],Zr.prototype,"initialHeight",void 0),zr([w()],Zr.prototype,"icon",void 0),zr([w()],Zr.prototype,"iconVariant",void 0),zr([w()],Zr.prototype,"cursor",void 0),zr([C()],Zr.prototype,"dragging",void 0),zr([$({passive:!0})],Zr.prototype,"initDragFromMouse",null),zr([$({passive:!0})],Zr.prototype,"initDragFromTouch",null),W("ft-resizer")(Zr);const Fr={fontSize:xe.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:xe.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:xe.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:xe.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:xe.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:xe.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:xe.extend("--ft-input-label-border-color","",we.colorOutline),textColor:xe.extend("--ft-input-label-text-color","",we.colorOnSurfaceMedium),disabledTextColor:xe.extend("--ft-input-label-disabled-text-color","",we.colorOnSurfaceDisabled),colorSurface:xe.external(we.colorSurface,"Design system"),borderRadiusS:xe.external(we.borderRadiusS,"Design system"),colorError:xe.external(we.colorError,"Design system")},Dr=mt`
|
|
337
337
|
.ft-input-label {
|
|
338
338
|
position: absolute;
|
|
339
339
|
inset: 0;
|
|
340
340
|
display: flex;
|
|
341
|
-
background-color: ${
|
|
342
|
-
border-radius: ${
|
|
341
|
+
background-color: ${Fr.colorSurface};
|
|
342
|
+
border-radius: ${Fr.borderRadiusS} ${Fr.borderRadiusS} 0 0;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
.ft-input-label--outlined {
|
|
346
|
-
border-radius: ${
|
|
346
|
+
border-radius: ${Fr.borderRadiusS};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
.ft-input-label {
|
|
350
|
-
border-color: ${
|
|
350
|
+
border-color: ${Fr.borderColor};
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.ft-input-label.ft-input-label--in-error {
|
|
354
|
-
border-color: ${
|
|
354
|
+
border-color: ${Fr.colorError}
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
.ft-input-label:before,
|
|
@@ -364,7 +364,7 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
.ft-input-label:before {
|
|
367
|
-
width: calc(${
|
|
367
|
+
width: calc(${Fr.horizontalSpacing} - 4px);
|
|
368
368
|
flex-shrink: 0;
|
|
369
369
|
}
|
|
370
370
|
|
|
@@ -380,20 +380,20 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
380
380
|
border-bottom-width: 1px;
|
|
381
381
|
border-bottom-style: solid;
|
|
382
382
|
border-color: inherit;
|
|
383
|
-
color: ${
|
|
383
|
+
color: ${Fr.textColor};
|
|
384
384
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
385
|
-
max-width: calc(${
|
|
385
|
+
max-width: calc(${Fr.labelMaxWidth} - 2 * (${Fr.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
386
386
|
text-overflow: ellipsis;
|
|
387
|
-
${Oe(
|
|
388
|
-
${Oe(
|
|
387
|
+
${Oe(Mo.fontSize,Fr.fontSize)};
|
|
388
|
+
${Oe(Mo.lineHeight,Fr.fontSize)};
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
.ft-input-label--in-error .ft-input-label--text {
|
|
392
|
-
color: ${
|
|
392
|
+
color: ${Fr.colorError}
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
.ft-input-label--disabled .ft-input-label--text {
|
|
396
|
-
color: ${
|
|
396
|
+
color: ${Fr.disabledTextColor};
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
.ft-input-label--hidden-text {
|
|
@@ -410,19 +410,19 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
410
410
|
overflow: hidden;
|
|
411
411
|
white-space: nowrap;
|
|
412
412
|
text-overflow: ellipsis;
|
|
413
|
-
padding: ${
|
|
414
|
-
margin: calc(${
|
|
413
|
+
padding: ${Fr.verticalSpacing} 4px;
|
|
414
|
+
margin: calc(${Fr.verticalSpacing} * -1) 0;
|
|
415
415
|
max-width: 100%;
|
|
416
416
|
box-sizing: border-box;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.ft-input-label--raised .ft-input-label--text {
|
|
420
|
-
${Oe(
|
|
421
|
-
${Oe(
|
|
420
|
+
${Oe(Mo.fontSize,Fr.raisedFontSize)};
|
|
421
|
+
${Oe(Mo.lineHeight,Fr.raisedFontSize)};
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
425
|
-
top: ${
|
|
425
|
+
top: ${Fr.verticalSpacing};
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -435,28 +435,28 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
435
435
|
.ft-input-label--outlined:before {
|
|
436
436
|
border-left-width: 1px;
|
|
437
437
|
border-left-style: solid;
|
|
438
|
-
border-radius: ${
|
|
438
|
+
border-radius: ${Fr.borderRadiusS} 0 0 ${Fr.borderRadiusS};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.ft-input-label--outlined:after {
|
|
442
442
|
border-right-width: 1px;
|
|
443
443
|
border-right-style: solid;
|
|
444
|
-
border-radius: 0 ${
|
|
444
|
+
border-radius: 0 ${Fr.borderRadiusS} ${Fr.borderRadiusS} 0;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
448
448
|
padding: 2px 4px;
|
|
449
|
-
z-index: ${
|
|
450
|
-
background-color: ${
|
|
451
|
-
border-radius: ${
|
|
449
|
+
z-index: ${Fr.raisedZIndex};
|
|
450
|
+
background-color: ${Fr.colorSurface};
|
|
451
|
+
border-radius: ${Fr.borderRadiusS};
|
|
452
452
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
456
456
|
border-top: none;
|
|
457
457
|
}
|
|
458
|
-
`;var
|
|
459
|
-
<div class="${
|
|
458
|
+
`;var Mr=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ar extends Le{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return te`
|
|
459
|
+
<div class="${qe(t)}">
|
|
460
460
|
${this.text?te`
|
|
461
461
|
<div class="ft-input-label--text ft-typography--caption">
|
|
462
462
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
@@ -464,7 +464,7 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
464
464
|
</div>
|
|
465
465
|
`:null}
|
|
466
466
|
</div>
|
|
467
|
-
`}}
|
|
467
|
+
`}}Ar.elementDefinitions={},Ar.styles=[pr,Dr],Mr([w({type:String})],Ar.prototype,"text",void 0),Mr([w({type:Boolean})],Ar.prototype,"raised",void 0),Mr([w({type:Boolean})],Ar.prototype,"outlined",void 0),Mr([w({type:Boolean})],Ar.prototype,"disabled",void 0),Mr([w({type:Boolean})],Ar.prototype,"error",void 0),W("ft-input-label")(Ar);const Br=xe.extend("--ft-ripple-color","",we.colorContent),Pr={color:Br,backgroundColor:xe.extend("--ft-ripple-background-color","",Br),opacityContentOnSurfacePressed:xe.external(we.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external(we.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external(we.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external(we.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},Hr=xe.extend("--ft-ripple-color","",we.colorPrimary),jr=Hr,_r=xe.extend("--ft-ripple-background-color","",Hr),Tr=xe.extend("--ft-ripple-color","",we.colorSecondary),Gr=Tr,Yr=xe.extend("--ft-ripple-background-color","",Tr),Vr=mt`
|
|
468
468
|
:host {
|
|
469
469
|
display: contents;
|
|
470
470
|
}
|
|
@@ -477,7 +477,7 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
477
477
|
|
|
478
478
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
479
479
|
overflow: hidden;
|
|
480
|
-
border-radius: ${
|
|
480
|
+
border-radius: ${Pr.borderRadius};
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-ripple .ft-ripple--background,
|
|
@@ -511,27 +511,27 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
.ft-ripple .ft-ripple--background {
|
|
514
|
-
background-color: ${
|
|
514
|
+
background-color: ${Pr.backgroundColor};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-ripple .ft-ripple--effect {
|
|
518
|
-
background-color: ${
|
|
518
|
+
background-color: ${Pr.color};
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
522
|
-
background-color: ${
|
|
522
|
+
background-color: ${Yr};
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
526
|
-
background-color: ${
|
|
526
|
+
background-color: ${Gr};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
530
|
-
background-color: ${
|
|
530
|
+
background-color: ${_r};
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
534
|
-
background-color: ${
|
|
534
|
+
background-color: ${jr};
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-ripple .ft-ripple--background {
|
|
@@ -561,33 +561,33 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
564
|
-
opacity: ${
|
|
564
|
+
opacity: ${Pr.opacityContentOnSurfaceHover};
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
568
|
-
opacity: ${
|
|
568
|
+
opacity: ${Pr.opacityContentOnSurfaceSelected};
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
572
|
-
opacity: ${
|
|
572
|
+
opacity: ${Pr.opacityContentOnSurfaceFocused};
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
576
|
-
opacity: ${
|
|
576
|
+
opacity: ${Pr.opacityContentOnSurfacePressed};
|
|
577
577
|
transform: translate(-50%, -50%) scale(1);
|
|
578
578
|
}
|
|
579
|
-
`;var
|
|
579
|
+
`;var Jr=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class qr extends Le{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),a=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return te`
|
|
580
580
|
<style>
|
|
581
581
|
.ft-ripple .ft-ripple--effect {
|
|
582
582
|
left: ${this.originX}px;
|
|
583
583
|
top: ${this.originY}px;
|
|
584
584
|
}
|
|
585
585
|
</style>
|
|
586
|
-
<div class="${
|
|
586
|
+
<div class="${qe(t)}">
|
|
587
587
|
<div class="ft-ripple--background"></div>
|
|
588
588
|
<div class="ft-ripple--effect"></div>
|
|
589
589
|
</div>
|
|
590
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",o,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",o,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
590
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",o,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",o,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}qr.elementDefinitions={},qr.styles=Vr,Jr([w({type:Boolean})],qr.prototype,"primary",void 0),Jr([w({type:Boolean})],qr.prototype,"secondary",void 0),Jr([w({type:Boolean})],qr.prototype,"unbounded",void 0),Jr([w({type:Boolean})],qr.prototype,"activated",void 0),Jr([w({type:Boolean})],qr.prototype,"selected",void 0),Jr([w({type:Boolean})],qr.prototype,"disabled",void 0),Jr([C()],qr.prototype,"hovered",void 0),Jr([C()],qr.prototype,"focused",void 0),Jr([C()],qr.prototype,"pressed",void 0),Jr([C()],qr.prototype,"rippling",void 0),Jr([C()],qr.prototype,"originX",void 0),Jr([C()],qr.prototype,"originY",void 0),Jr([R(".ft-ripple")],qr.prototype,"ripple",void 0),Jr([R(".ft-ripple--effect")],qr.prototype,"rippleEffect",void 0),W("ft-ripple")(qr);const Xr={fontSize:xe.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:xe.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:xe.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:xe.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:xe.extend("--ft-text-area-helper-color","",we.colorOnSurfaceMedium),colorPrimary:xe.external(we.colorPrimary,"Design system"),colorOnSurface:xe.external(we.colorOnSurface,"Design system"),colorOnSurfaceDisabled:xe.external(we.colorOnSurfaceDisabled,"Design system"),borderRadiusS:xe.external(we.borderRadiusS,"Design system"),colorError:xe.external(we.colorError,"Design system")},Qr=mt`
|
|
591
591
|
*:focus {
|
|
592
592
|
outline: none;
|
|
593
593
|
}
|
|
@@ -599,10 +599,10 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
ft-input-label {
|
|
602
|
-
${Oe(
|
|
603
|
-
${Oe(
|
|
604
|
-
${Oe(
|
|
605
|
-
${Oe(
|
|
602
|
+
${Oe(Fr.fontSize,Xr.fontSize)};
|
|
603
|
+
${Oe(Fr.raisedFontSize,Xr.labelSize)};
|
|
604
|
+
${Oe(Fr.verticalSpacing,Xr.verticalSpacing)};
|
|
605
|
+
${Oe(Fr.horizontalSpacing,Xr.horizontalSpacing)};
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
.ft-text-area--main-panel {
|
|
@@ -620,8 +620,8 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
.ft-text-area--input-panel ft-ripple {
|
|
623
|
-
${Oe(
|
|
624
|
-
${Oe(
|
|
623
|
+
${Oe(Pr.opacityContentOnSurfaceHover,"0.08")};
|
|
624
|
+
${Oe(Pr.opacityContentOnSurfacePressed,"0.04")};
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
.ft-text-area--input {
|
|
@@ -633,12 +633,12 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
633
633
|
align-self: stretch;
|
|
634
634
|
resize: none;
|
|
635
635
|
|
|
636
|
-
${Oe(
|
|
637
|
-
${Oe(
|
|
638
|
-
color: ${
|
|
636
|
+
${Oe(ko.fontSize,Xr.fontSize)};
|
|
637
|
+
${Oe(ko.lineHeight,Xr.fontSize)};
|
|
638
|
+
color: ${Xr.colorOnSurface};
|
|
639
639
|
|
|
640
|
-
padding: 0 ${
|
|
641
|
-
margin: calc(${
|
|
640
|
+
padding: 0 ${Xr.horizontalSpacing};
|
|
641
|
+
margin: calc(${Xr.verticalSpacing} + ${Xr.labelSize} / 2) 0 ${Xr.verticalSpacing} 0;
|
|
642
642
|
|
|
643
643
|
border: none;
|
|
644
644
|
background: none;
|
|
@@ -647,7 +647,7 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
.ft-text-area--disabled .ft-text-area--input {
|
|
650
|
-
color: ${
|
|
650
|
+
color: ${Xr.colorOnSurfaceDisabled};
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
|
|
@@ -655,49 +655,49 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
.ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
|
|
658
|
-
${Oe(
|
|
659
|
-
${Oe(
|
|
658
|
+
${Oe(Fr.borderColor,Xr.colorPrimary)};
|
|
659
|
+
${Oe(Fr.textColor,Xr.colorPrimary)};
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
.ft-text-area--filled .ft-text-area--input-panel {
|
|
663
|
-
border-radius: ${
|
|
663
|
+
border-radius: ${Xr.borderRadiusS} ${Xr.borderRadiusS} 0 0;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
667
667
|
align-self: stretch;
|
|
668
|
-
margin-bottom: ${
|
|
669
|
-
margin-top: calc(${
|
|
668
|
+
margin-bottom: ${Xr.verticalSpacing};
|
|
669
|
+
margin-top: calc(${Xr.labelSize} + 2 * ${Xr.verticalSpacing});
|
|
670
670
|
}
|
|
671
671
|
|
|
672
672
|
.ft-text-area--outlined .ft-text-area--input-panel {
|
|
673
|
-
border-radius: ${
|
|
673
|
+
border-radius: ${Xr.borderRadiusS};
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
.ft-text-area--helper-text {
|
|
677
|
-
padding: 0 12px 0 ${
|
|
678
|
-
color: ${
|
|
677
|
+
padding: 0 12px 0 ${Xr.horizontalSpacing};
|
|
678
|
+
color: ${Xr.helperColor};
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
.ft-text-area--in-error .ft-text-area--input,
|
|
682
682
|
.ft-text-area--in-error .ft-text-area--helper-text {
|
|
683
|
-
color: ${
|
|
683
|
+
color: ${Xr.colorError};
|
|
684
684
|
}
|
|
685
685
|
|
|
686
686
|
ft-resizer {
|
|
687
687
|
position: absolute;
|
|
688
688
|
bottom: 0;
|
|
689
689
|
}
|
|
690
|
-
`;var
|
|
690
|
+
`;var ti=function(t,e,o,r){for(var i,a=arguments.length,n=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(n=(a<3?i(n):a>3?i(e,o,n):i(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class ei extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[je].form}constructor(...t){super(t),this[je]=this.attachInternals(),this[je].role=e}setFormValue(t){this[je].setFormValue(t)}}}(Le,"textbox")){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){const t={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return te`
|
|
691
691
|
<style>
|
|
692
692
|
.ft-text-area--main-panel {
|
|
693
|
-
height: calc(4 * ${
|
|
693
|
+
height: calc(4 * ${Xr.verticalSpacing} + ${Xr.labelSize} + ${Xr.fontSize} + ${this.height}px);
|
|
694
694
|
}
|
|
695
695
|
|
|
696
696
|
ft-resizer {
|
|
697
697
|
right: ${null!=this.textarea?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
|
|
698
698
|
}
|
|
699
699
|
</style>
|
|
700
|
-
<div class="${
|
|
700
|
+
<div class="${qe(t)}">
|
|
701
701
|
<div class="ft-text-area--main-panel">
|
|
702
702
|
<ft-input-label text="${this.label}"
|
|
703
703
|
?disabled=${this.disabled}
|
|
@@ -729,4 +729,4 @@ class pr extends Pe{constructor(t){if(super(t),this.et=Q,t.type!==Ae)throw Error
|
|
|
729
729
|
${this.helper}
|
|
730
730
|
</ft-typography>`:void 0}
|
|
731
731
|
</div>
|
|
732
|
-
`}setValue(t,e=!1){this.value=t,this.setFormValue(t),e&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.requestUpdate()}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}
|
|
732
|
+
`}setValue(t,e=!1){this.value=t,this.setFormValue(t),e&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.requestUpdate()}onKeyDown(t){"Enter"!==t.key&&" "!==t.key||t.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var t;this.value=(null===(t=this.textarea)||void 0===t?void 0:t.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(t){t.detail.height>=50&&(this.height=t.detail.height)}}ei.elementDefinitions={"ft-input-label":Ar,"ft-resizer":Zr,"ft-ripple":qr,"ft-typography":br},ei.styles=[lr,Qr],ti([w({type:String})],ei.prototype,"label",void 0),ti([w({reflect:!0})],ei.prototype,"value",void 0),ti([w({type:String})],ei.prototype,"helper",void 0),ti([w({type:Boolean})],ei.prototype,"outlined",void 0),ti([w({type:Boolean})],ei.prototype,"disabled",void 0),ti([w({type:Boolean})],ei.prototype,"error",void 0),ti([w({type:Number,reflect:!0})],ei.prototype,"height",void 0),ti([R("textarea")],ei.prototype,"textarea",void 0),ti([C()],ei.prototype,"focused",void 0),W("ft-text-area")(ei),t.FtTextArea=ei,t.FtTextAreaCssVariables=Xr,t.styles=Qr}({});
|