@fluid-topics/ft-filterable-table 1.1.2 → 1.1.4
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-filterable-table.light.js +295 -295
- package/build/ft-filterable-table.min.js +164 -164
- package/package.json +6 -6
|
@@ -12,38 +12,38 @@
|
|
|
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,i=window.customElements,r=new WeakMap,n=new WeakMap,a=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,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 i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.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),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=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},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(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)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(co){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)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(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,y=u?u.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y: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),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=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=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(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=[...f(t),...p(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(a(t))}else void 0!==t&&e.push(a(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,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r: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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(h.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 w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function
|
|
36
|
+
*/}function N(t){return $({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/const
|
|
41
|
+
*/const C=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/;function
|
|
46
|
+
*/;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return C(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return C(0,0,{get(){return n(this)}})}}
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2021 Google LLC
|
|
@@ -54,45 +54,45 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,
|
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
56
|
*/
|
|
57
|
-
function
|
|
57
|
+
function k(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}class R{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function U(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright 2017 Google LLC
|
|
61
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
62
|
*/
|
|
63
|
-
const
|
|
63
|
+
const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,K="?"+Z,D=`<${K}>`,B=document,A=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(e):e}const rt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?J:Y):a===J||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const p=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+Z+p):o+Z+(-2===c?e:p)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let nt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=rt(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?pt:"@"===i[1]?dt:ct}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===K)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=M(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=at(t,r._$AS(t,e.values),r,i)),e}let st=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,i=(t?.creationScope??B).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ht(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=B,i}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++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=at(this,t,e),M(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(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!==tt&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new nt(t)),e}T(e){P(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.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))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,e,0),n=!M(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},pt=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},dt=class extends ct{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ht=class{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){at(this,t)}};const ut={j:F,P:Z,A:K,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:pt,N:dt,U:ft,B:ht},yt=L.litHtmlPolyfillSupport;yt?.(nt,lt),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2019 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
const
|
|
69
|
+
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)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(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=xt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),wt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>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[i+1]),t[0]);return new vt(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
73
73
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
|
-
*/,{is
|
|
74
|
+
*/,{is:$t,defineProperty:Nt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:kt,getPrototypeOf:Rt}=Object,Ut=globalThis,It=Ut.trustedTypes,Lt=It?It.emptyScript:"",Wt=Ut.reactiveElementPolyfillSupport,zt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Lt: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}},Zt=(t,e)=>!$t(t,e),Kt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Dt 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=Kt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Ct(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Kt}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,e=[...Et(t),...kt(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(St(t))}else void 0!==t&&e.push(St(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(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=gt.litNonce;void 0!==i&&e.setAttribute("nonce",i),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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ft;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Zt)(i?r: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){}}Dt.elementStyles=[],Dt.shadowRootOptions={mode:"open"},Dt[zt("elementProperties")]=new Map,Dt[zt("finalized")]=new Map,Wt?.({ReactiveElement:Dt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
79
|
*/
|
|
80
|
-
const Bt=globalThis,At=Bt.trustedTypes,Mt=At?At.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,te=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}const
|
|
80
|
+
const Bt=globalThis,At=Bt.trustedTypes,Mt=At?At.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,te=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===qt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ie.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=te):void 0!==l[3]&&(a=te):a===te?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?te:'"'===l[3]?oe:ee):a===oe||a===ee?a=te:a===Xt||a===Qt?a=qt:(a=te,r=void 0);const p=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+Tt:c>=0?(i.push(s),o.slice(0,c)+Pt+o.slice(c)+Ht+p):o+Ht+(-2===c?e:p)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class pe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fe(t,e);if(this.el=pe.createElement(l,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=le.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const e=c[n++],o=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:ue}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ie.test(i.tagName)){const t=i.textContent.split(Ht),e=t.length-1;if(e>0){i.textContent=At?At.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Gt()),le.nextNode(),s.push({type:2,index:++r});i.append(t[e],Gt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,i){if(e===ne)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Vt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=de(t,r._$AS(t,e.values),r,i)),e}class he{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=de(this,t,e),Vt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(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!==ae&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=pe.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)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,i=(t?.creationScope??_t).importNode(e,!0);le.currentNode=i;let r=le.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new he(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new me(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=le.nextNode(),n++)}return le.currentNode=_t,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new pe(t)),e}T(t){Yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new he(this.k(Gt()),this.k(Gt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$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 ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=de(this,t,e,0),n=!Vt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=de(this,i[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}}class ge extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}}class be extends ue{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??ae)===ne)return;const o=this._$AH,i=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ae&&(o===ae||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class me{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){de(this,t)}}const xe=Bt.litHtmlPolyfillSupport;xe?.(pe,he),(Bt.litHtmlVersions??=[]).push("3.1.0");
|
|
81
81
|
/**
|
|
82
82
|
* @license
|
|
83
83
|
* Copyright 2017 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
85
|
*/
|
|
86
|
-
let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Ot(t):t;class Se{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function we(t,e){return $e(`${t.name}: ${e}`)}const Ne={colorWhite:Se.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Se.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Se.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Se.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Se.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Se.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Se.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Se.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Se.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Se.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Se.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Se.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Se.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Se.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Se.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Se.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Se.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Se.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Se.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Se.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Se.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Se.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Se.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Se.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Se.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Se.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Se.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Se.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Se.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Se.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Se.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Se.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Se.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Se.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Se.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Se.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Se.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Se.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Se.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Se.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Se.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Se.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Se.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Se.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Se.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Se.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Se.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Se.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Se.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Se.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Se.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Se.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Se.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Se.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Se.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Se.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Se.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Se.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Se.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Se.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Se.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Se.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Se.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Se.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Se.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Se.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Se.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Se.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Se.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Se.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Se.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Se.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Se.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Se.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Se.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Se.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Se.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Se.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Se.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Se.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Se.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Se.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Se.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Se.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Se.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Se.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Se.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Se.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Se.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Se.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Se.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Se.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Se.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Se.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Se.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Se.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Se.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Se.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Se.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Se.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Se.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Se.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Se.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Se.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Se.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Se.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Se.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Se.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Se.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Se.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Se.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Se.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Se.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Se.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Se.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Se.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Se.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Se.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Se.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Se.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Se.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Se.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Se.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Se.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Se.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Se.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Se.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Se.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Se.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Se.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Se.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Se.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Se.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Se.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Se.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Se.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Se.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Se.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Se.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Se.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Se.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Se.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Se.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Se.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Se.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Se.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Se.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Se.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Se.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Se.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Se.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Se.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Se.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Se.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Se.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Se.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Se.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Se.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Se.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Se.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Se.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Se.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Se.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Se.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Se.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Se.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Se.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Se.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Se.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Se.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Se.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Se.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Se.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Se.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Se.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Se.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Se.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Se.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Se.create("--ft-opacity-0","","NUMBER","0"),opacity8:Se.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Se.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Se.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Se.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Se.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Se.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Se.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Se.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Se.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Se.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Se.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Se.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Se.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Se.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Se.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Se.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Se.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Se.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Se.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Se.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Se.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Se.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Se.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Se.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Se.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Se.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Se.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Se.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Se.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Se.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Se.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Se.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Se.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:Se.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:Se.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:Se.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:Se.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:Se.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:Se.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:Se.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:Se.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:Se.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:Se.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:Se.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:Se.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:Se.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:Se.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:Se.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:Se.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:Se.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:Se.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:Se.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:Se.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:Se.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:Se.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:Se.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:Se.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:Se.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:Se.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:Se.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:Se.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:Se.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:Se.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:Se.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:Se.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:Se.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},ke={largeHeight:Se.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Se.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:Se.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:Se.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:Se.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:Se.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Se.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Se.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Se.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Se.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Se.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:Se.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:Se.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:Se.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:Se.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Se.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Se.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Se.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Se.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:Se.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:Se.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:Se.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:Se.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:Se.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:Se.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:Se.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:Se.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:Se.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Se.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:Se.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:Se.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:Se.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:Se.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:Se.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:Se.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:Se.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Se.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:Se.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:Se.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:Se.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:Se.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:Se.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:Se.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:Se.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:Se.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Se.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:Se.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:Se.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:Se.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:Se.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:Se.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:Se.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};Se.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),Se.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),Se.extend("--ft-tabs-label-gap","",Ne.spacing1),Se.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-group-gap","",Ne.spacing1),Se.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Se.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Se.create("--ft-switch-group-border-radius","","SIZE","6px"),Se.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),Se.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),Se.create("--ft-switch-focus-outline-width","","SIZE","2px"),Se.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),Se.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),Se.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Se.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),Se.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),Se.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),Se.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),Se.extend("--ft-chart-3-light","",Ne.colorUltramarine40),Se.extend("--ft-chart-3-base","",Ne.colorUltramarine70),Se.extend("--ft-chart-4-light","",Ne.colorCyan50),Se.extend("--ft-chart-4-base","",Ne.colorCyan100),Se.extend("--ft-chart-5-light","",Ne.colorRed40),Se.extend("--ft-chart-5-base","",Ne.colorRed60),Se.extend("--ft-chart-6-light","",Ne.colorGreen40),Se.extend("--ft-chart-6-base","",Ne.colorGreen70),Se.extend("--ft-chart-7-light","",Ne.colorOrange70),Se.extend("--ft-chart-7-base","",Ne.colorOrange100),Se.extend("--ft-chart-8-light","",Ne.colorAvocado70),Se.extend("--ft-chart-8-base","",Ne.colorAvocado200),Se.extend("--ft-chart-9-light","",Ne.colorBrown50),Se.extend("--ft-chart-9-base","",Ne.colorBrown200),Se.extend("--ft-chart-10-light","",Ne.colorGray50),Se.extend("--ft-chart-10-base","",Ne.colorGray80),Se.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),Se.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),Se.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),Se.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),Se.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),Se.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),Se.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),Se.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),Se.extend("--ft-chip-large-gap","",Ne.spacing1),Se.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-large-border-width","","SIZE","1px"),Se.extend("--ft-chip-large-icon-size","",Ne.iconSize3),Se.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),Se.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),Se.extend("--ft-chip-medium-gap","",Ne.spacing1),Se.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-medium-border-width","","SIZE","1px"),Se.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),Se.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),Se.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),Se.extend("--ft-chip-small-gap","",Ne.spacing1),Se.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-small-border-width","","SIZE","1px"),Se.extend("--ft-chip-small-icon-size","",Ne.iconSize1),Se.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Se.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Se.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Se.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Se.create("--ft-notice-border-width","","SIZE","1px"),Se.extend("--ft-notice-horizontal-padding","",Ne.spacing2),Se.extend("--ft-notice-vertical-padding","",Ne.spacing1),Se.extend("--ft-notice-border-radius","",Ne.borderRadiusS),Se.extend("--ft-notice-gap","",Ne.spacing2),Se.extend("--ft-notice-icon-size","",Ne.iconSize3),Se.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Se.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Se.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Se.extend("--ft-checkbox-gap","",Ne.spacing3),Se.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-toggle-gap","",Ne.spacing3),Se.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),Se.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Se.create("--ft-radio-focus-outline-width","","SIZE","2px"),Se.extend("--ft-radio-gap","",Ne.spacing3),Se.extend("--ft-notification-icon-size","",Ne.iconSize4),Se.extend("--ft-notification-horizontal-padding","",Ne.spacing4),Se.extend("--ft-notification-vertical-padding","",Ne.spacing4),Se.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Se.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),Se.create("--ft-notification-border-width","","SIZE","1px"),Se.extend("--ft-notification-gap-leading","",Ne.spacing2),Se.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:Se.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Se.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Se.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Se.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Se.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Se.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Se.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Se.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Se.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Se.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Se.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Se.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Se.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Se.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Se.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Se.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Se.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Se.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Se.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Se.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Se.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Se.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Se.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Se.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Se.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Se.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Se.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Se.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Se.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Se.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Se.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Se.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Se.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Se.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Se.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Se.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Se.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Se.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Se.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Se.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Se.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Se.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Se.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Se.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Se.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Se.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Se.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Se.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Se.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
86
|
+
let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const we=t=>"string"==typeof t?Ot(t):t;class Se{static create(t,e,o,i){const r=t=>we(null!=t?t:i),n=wt`var(${we(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>wt`var(${we(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=wt`var(${we(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>wt`var(${we(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):we(null!=e?e:t.lastResortDefaultValue()),i=wt`var(${we(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>wt`var(${we(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return we(`${t.name}: ${e}`)}const Ne={colorWhite:Se.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Se.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Se.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Se.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Se.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Se.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Se.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Se.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Se.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Se.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Se.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Se.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Se.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Se.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Se.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Se.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Se.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Se.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Se.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Se.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Se.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Se.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Se.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Se.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Se.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Se.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Se.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Se.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Se.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Se.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Se.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Se.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Se.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Se.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Se.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Se.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Se.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Se.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Se.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Se.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Se.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Se.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Se.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Se.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Se.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Se.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Se.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Se.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Se.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Se.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Se.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Se.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Se.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Se.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Se.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Se.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Se.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Se.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Se.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Se.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Se.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Se.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Se.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Se.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Se.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Se.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Se.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Se.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Se.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Se.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Se.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Se.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Se.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Se.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Se.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Se.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Se.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Se.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Se.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Se.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Se.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Se.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Se.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Se.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Se.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Se.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Se.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Se.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Se.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Se.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Se.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Se.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Se.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Se.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Se.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Se.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Se.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Se.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Se.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Se.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Se.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Se.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Se.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Se.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Se.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Se.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Se.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Se.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Se.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Se.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Se.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Se.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Se.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Se.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Se.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Se.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Se.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Se.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Se.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Se.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Se.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Se.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Se.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Se.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Se.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Se.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Se.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Se.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Se.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Se.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Se.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Se.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Se.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Se.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Se.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Se.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Se.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Se.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Se.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Se.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Se.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Se.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Se.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Se.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Se.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Se.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Se.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Se.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Se.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Se.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Se.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Se.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Se.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Se.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Se.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Se.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Se.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Se.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Se.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Se.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Se.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Se.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Se.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Se.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Se.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Se.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Se.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Se.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Se.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Se.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Se.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Se.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Se.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Se.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Se.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Se.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Se.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Se.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Se.create("--ft-opacity-0","","NUMBER","0"),opacity8:Se.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Se.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Se.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Se.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Se.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Se.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Se.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Se.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Se.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Se.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Se.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Se.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Se.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Se.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Se.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Se.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Se.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Se.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Se.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Se.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Se.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Se.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Se.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Se.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Se.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Se.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Se.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Se.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Se.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Se.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Se.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Se.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Se.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:Se.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:Se.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:Se.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:Se.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:Se.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:Se.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:Se.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:Se.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:Se.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:Se.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:Se.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:Se.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:Se.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:Se.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:Se.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:Se.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:Se.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:Se.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:Se.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:Se.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:Se.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:Se.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:Se.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:Se.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:Se.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:Se.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:Se.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:Se.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:Se.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:Se.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:Se.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:Se.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:Se.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},ke={largeHeight:Se.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Se.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:Se.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:Se.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:Se.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:Se.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Se.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Se.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Se.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Se.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Se.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:Se.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:Se.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:Se.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:Se.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Se.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Se.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Se.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Se.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:Se.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:Se.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:Se.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:Se.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:Se.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:Se.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:Se.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:Se.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:Se.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Se.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:Se.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:Se.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:Se.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:Se.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:Se.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:Se.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:Se.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Se.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:Se.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:Se.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:Se.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:Se.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:Se.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:Se.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:Se.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:Se.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Se.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:Se.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:Se.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:Se.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:Se.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:Se.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:Se.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};Se.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),Se.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),Se.extend("--ft-tabs-label-gap","",Ne.spacing1),Se.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-group-gap","",Ne.spacing1),Se.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Se.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Se.create("--ft-switch-group-border-radius","","SIZE","6px"),Se.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),Se.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),Se.create("--ft-switch-focus-outline-width","","SIZE","2px"),Se.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),Se.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),Se.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Se.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),Se.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),Se.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),Se.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),Se.extend("--ft-chart-3-light","",Ne.colorUltramarine40),Se.extend("--ft-chart-3-base","",Ne.colorUltramarine70),Se.extend("--ft-chart-4-light","",Ne.colorCyan50),Se.extend("--ft-chart-4-base","",Ne.colorCyan100),Se.extend("--ft-chart-5-light","",Ne.colorRed40),Se.extend("--ft-chart-5-base","",Ne.colorRed60),Se.extend("--ft-chart-6-light","",Ne.colorGreen40),Se.extend("--ft-chart-6-base","",Ne.colorGreen70),Se.extend("--ft-chart-7-light","",Ne.colorOrange70),Se.extend("--ft-chart-7-base","",Ne.colorOrange100),Se.extend("--ft-chart-8-light","",Ne.colorAvocado70),Se.extend("--ft-chart-8-base","",Ne.colorAvocado200),Se.extend("--ft-chart-9-light","",Ne.colorBrown50),Se.extend("--ft-chart-9-base","",Ne.colorBrown200),Se.extend("--ft-chart-10-light","",Ne.colorGray50),Se.extend("--ft-chart-10-base","",Ne.colorGray80),Se.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),Se.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),Se.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),Se.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),Se.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),Se.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),Se.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),Se.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),Se.extend("--ft-chip-large-gap","",Ne.spacing1),Se.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-large-border-width","","SIZE","1px"),Se.extend("--ft-chip-large-icon-size","",Ne.iconSize3),Se.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),Se.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),Se.extend("--ft-chip-medium-gap","",Ne.spacing1),Se.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-medium-border-width","","SIZE","1px"),Se.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),Se.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),Se.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),Se.extend("--ft-chip-small-gap","",Ne.spacing1),Se.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-small-border-width","","SIZE","1px"),Se.extend("--ft-chip-small-icon-size","",Ne.iconSize1),Se.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Se.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Se.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Se.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Se.create("--ft-notice-border-width","","SIZE","1px"),Se.extend("--ft-notice-horizontal-padding","",Ne.spacing2),Se.extend("--ft-notice-vertical-padding","",Ne.spacing1),Se.extend("--ft-notice-border-radius","",Ne.borderRadiusS),Se.extend("--ft-notice-gap","",Ne.spacing2),Se.extend("--ft-notice-icon-size","",Ne.iconSize3),Se.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Se.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Se.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Se.extend("--ft-checkbox-gap","",Ne.spacing3),Se.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-toggle-gap","",Ne.spacing3),Se.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),Se.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Se.create("--ft-radio-focus-outline-width","","SIZE","2px"),Se.extend("--ft-radio-gap","",Ne.spacing3),Se.extend("--ft-notification-icon-size","",Ne.iconSize4),Se.extend("--ft-notification-horizontal-padding","",Ne.spacing4),Se.extend("--ft-notification-vertical-padding","",Ne.spacing4),Se.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Se.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),Se.create("--ft-notification-border-width","","SIZE","1px"),Se.extend("--ft-notification-gap-leading","",Ne.spacing2),Se.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:Se.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Se.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Se.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Se.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Se.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Se.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Se.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Se.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Se.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Se.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Se.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Se.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Se.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Se.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Se.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Se.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Se.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Se.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Se.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Se.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Se.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Se.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Se.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Se.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Se.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Se.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Se.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Se.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Se.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Se.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Se.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Se.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Se.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Se.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Se.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Se.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Se.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Se.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Se.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Se.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Se.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Se.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Se.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Se.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.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:Se.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Se.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Se.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Se.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Se.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Se.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
87
87
|
/**
|
|
88
88
|
* @license
|
|
89
89
|
* Copyright 2019 Google LLC
|
|
90
90
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
91
|
-
*/class
|
|
91
|
+
*/class Le extends ve{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)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var We,ze=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fe=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class De extends Le{constructor(){super(),this[We]=new R(5),this[Ze]=this.constructor.name,this[Fe]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Fe])}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,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}We=Ke,ze([$()],De.prototype,"exportpartsPrefix",void 0),ze([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({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)=>!U(t,e),...null!=e?e:{}})}([])],De.prototype,"exportpartsPrefixes",void 0),ze([$()],De.prototype,"customStylesheet",void 0);const Be=Se.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
|
|
92
92
|
.highlight-html-match {
|
|
93
93
|
background: ${Be};
|
|
94
94
|
}
|
|
95
|
-
`;const Ae
|
|
95
|
+
`;const Ae=wt`
|
|
96
96
|
.ft-no-text-select {
|
|
97
97
|
-webkit-touch-callout: none;
|
|
98
98
|
-webkit-user-select: none;
|
|
@@ -101,7 +101,7 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
101
101
|
-ms-user-select: none;
|
|
102
102
|
user-select: none;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
`;wt`
|
|
105
105
|
.ft-word-wrap {
|
|
106
106
|
white-space: normal;
|
|
107
107
|
word-wrap: break-word;
|
|
@@ -113,7 +113,7 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
113
113
|
-webkit-hyphens: auto;
|
|
114
114
|
hyphens: auto
|
|
115
115
|
}
|
|
116
|
-
`;const Me
|
|
116
|
+
`;const Me=wt`
|
|
117
117
|
.ft-safari-ellipsis-fix {
|
|
118
118
|
margin-right: 0;
|
|
119
119
|
|
|
@@ -134,7 +134,7 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
134
134
|
* @license
|
|
135
135
|
* Copyright 2020 Google LLC
|
|
136
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
137
|
-
*/const{D:Xe}=ut,Qe=()=>document.createComment(""),to=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Qe(),r),n=i.insertBefore(Qe(),r);o=new Xe(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},eo=(t,e,o=t)=>(t._$AI(e,o),t),oo={},io=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ro=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},no=Je(class extends qe{constructor(t){if(super(t),t.type!==Ye)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p
|
|
137
|
+
*/const{D:Xe}=ut,Qe=()=>document.createComment(""),to=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Qe(),r),n=i.insertBefore(Qe(),r);o=new Xe(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},eo=(t,e,o=t)=>(t._$AI(e,o),t),oo={},io=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ro=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},no=Je(class extends qe{constructor(t){if(super(t),t.type!==Ye)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=r.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===r[p])p++;else if(null===r[d])d--;else if(s[p]===a[h])l[h]=eo(r[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=eo(r[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=eo(r[p],n[u]),to(t,l[u+1],r[p]),p++,u--;else if(s[d]===a[h])l[h]=eo(r[d],n[h]),to(t,r[p],r[d]),d--,h++;else if(void 0===c&&(c=ro(a,h,u),f=ro(s,p,d)),c.has(s[p]))if(c.has(s[d])){const e=f.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=to(t,r[p]);eo(e,n[h]),l[h]=e}else l[h]=eo(o,n[h]),to(t,r[p],o),r[e]=null;h++}else io(r[d]),d--;else io(r[p]),p++;for(;h<=u;){const e=to(t,l[u+1]);eo(e,n[h]),l[h++]=e}for(;p<=d;){const t=r[p++];null!==t&&io(t)}return this.dt=a,((t,e=oo)=>{t._$AH=e})(t,l),Q}});
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2017 Google LLC
|
|
@@ -145,21 +145,21 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
145
145
|
* Copyright 2017 Google LLC
|
|
146
146
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
147
147
|
*/
|
|
148
|
-
let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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:[]}}};ao.directiveName="unsafeHTML",ao.resultType=1;const so=Je(ao),lo=Je(class extends qe{constructor(t){if(super(t),t.type!==Ve||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),co=Symbol.for(""),
|
|
148
|
+
let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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:[]}}};ao.directiveName="unsafeHTML",ao.resultType=1;const so=Je(ao),lo=Je(class extends qe{constructor(t){if(super(t),t.type!==Ve||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),co=Symbol.for(""),fo=t=>{if(t?.r===co)return t?._$litStatic$},po=t=>({_$litStatic$:t,r:co}),ho=new Map,uo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=fo(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ho.get(t))&&(a.raw=a,ho.set(t,e=a)),o=s}return t(e,...o)})(X);
|
|
149
149
|
/**
|
|
150
150
|
* @license
|
|
151
151
|
* Copyright 2018 Google LLC
|
|
152
152
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
153
|
-
*/var
|
|
153
|
+
*/var yo;!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"}(yo||(yo={}));const go=Se.extend("--ft-typography-font-family","",Re.titleFont),bo=Se.extend("--ft-typography-font-family","",Re.contentFont),mo={fontFamily:bo,fontSize:Se.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Se.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Se.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Se.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Se.create("--ft-typography-text-transform","","UNKNOWN","inherit")},xo=Se.extend("--ft-typography-title-font-family","",go),vo=Se.extend("--ft-typography-title-font-size","",mo.fontSize,"20px"),Oo=Se.extend("--ft-typography-title-font-weight","",mo.fontWeight,"normal"),wo=Se.extend("--ft-typography-title-letter-spacing","",mo.letterSpacing,"0.15px"),So=Se.extend("--ft-typography-title-line-height","",mo.lineHeight,"1.2"),$o=Se.extend("--ft-typography-title-text-transform","",mo.textTransform,"inherit"),No=Se.extend("--ft-typography-title-dense-font-family","",go),Co=Se.extend("--ft-typography-title-dense-font-size","",mo.fontSize,"14px"),Eo=Se.extend("--ft-typography-title-dense-font-weight","",mo.fontWeight,"normal"),ko=Se.extend("--ft-typography-title-dense-letter-spacing","",mo.letterSpacing,"0.105px"),Ro=Se.extend("--ft-typography-title-dense-line-height","",mo.lineHeight,"1.7"),Uo=Se.extend("--ft-typography-title-dense-text-transform","",mo.textTransform,"inherit"),Io=Se.extend("--ft-typography-subtitle1-font-family","",bo),Lo=Se.extend("--ft-typography-subtitle1-font-size","",mo.fontSize,"16px"),Wo=Se.extend("--ft-typography-subtitle1-font-weight","",mo.fontWeight,"600"),zo=Se.extend("--ft-typography-subtitle1-letter-spacing","",mo.letterSpacing,"0.144px"),Fo=Se.extend("--ft-typography-subtitle1-line-height","",mo.lineHeight,"1.5"),Zo=Se.extend("--ft-typography-subtitle1-text-transform","",mo.textTransform,"inherit"),Ko=Se.extend("--ft-typography-subtitle2-font-family","",bo),Do=Se.extend("--ft-typography-subtitle2-font-size","",mo.fontSize,"14px"),Bo=Se.extend("--ft-typography-subtitle2-font-weight","",mo.fontWeight,"normal"),Ao=Se.extend("--ft-typography-subtitle2-letter-spacing","",mo.letterSpacing,"0.098px"),Mo=Se.extend("--ft-typography-subtitle2-line-height","",mo.lineHeight,"1.7"),Po=Se.extend("--ft-typography-subtitle2-text-transform","",mo.textTransform,"inherit"),Ho={fontFamily:Se.extend("--ft-typography-body1-font-family","",bo),fontSize:Se.extend("--ft-typography-body1-font-size","",mo.fontSize,"16px"),fontWeight:Se.extend("--ft-typography-body1-font-weight","",mo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-body1-letter-spacing","",mo.letterSpacing,"0.496px"),lineHeight:Se.extend("--ft-typography-body1-line-height","",mo.lineHeight,"1.5"),textTransform:Se.extend("--ft-typography-body1-text-transform","",mo.textTransform,"inherit")},jo=Se.extend("--ft-typography-body2-font-family","",bo),To=Se.extend("--ft-typography-body2-font-size","",mo.fontSize,"14px"),_o=Se.extend("--ft-typography-body2-font-weight","",mo.fontWeight,"normal"),Go=Se.extend("--ft-typography-body2-letter-spacing","",mo.letterSpacing,"0.252px"),Vo=Se.extend("--ft-typography-body2-line-height","",mo.lineHeight,"1.4"),Yo=Se.extend("--ft-typography-body2-text-transform","",mo.textTransform,"inherit"),Jo={fontFamily:Se.extend("--ft-typography-caption-font-family","",bo),fontSize:Se.extend("--ft-typography-caption-font-size","",mo.fontSize,"12px"),fontWeight:Se.extend("--ft-typography-caption-font-weight","",mo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-caption-letter-spacing","",mo.letterSpacing,"0.396px"),lineHeight:Se.extend("--ft-typography-caption-line-height","",mo.lineHeight,"1.33"),textTransform:Se.extend("--ft-typography-caption-text-transform","",mo.textTransform,"inherit")},qo=Se.extend("--ft-typography-breadcrumb-font-family","",bo),Xo=Se.extend("--ft-typography-breadcrumb-font-size","",mo.fontSize,"10px"),Qo=Se.extend("--ft-typography-breadcrumb-font-weight","",mo.fontWeight,"normal"),ti=Se.extend("--ft-typography-breadcrumb-letter-spacing","",mo.letterSpacing,"0.33px"),ei=Se.extend("--ft-typography-breadcrumb-line-height","",mo.lineHeight,"1.6"),oi=Se.extend("--ft-typography-breadcrumb-text-transform","",mo.textTransform,"inherit"),ii=Se.extend("--ft-typography-overline-font-family","",bo),ri=Se.extend("--ft-typography-overline-font-size","",mo.fontSize,"10px"),ni=Se.extend("--ft-typography-overline-font-weight","",mo.fontWeight,"normal"),ai=Se.extend("--ft-typography-overline-letter-spacing","",mo.letterSpacing,"1.5px"),si=Se.extend("--ft-typography-overline-line-height","",mo.lineHeight,"1.6"),li=Se.extend("--ft-typography-overline-text-transform","",mo.textTransform,"uppercase"),ci={fontFamily:Se.extend("--ft-typography-button-font-family","",bo),fontSize:Se.extend("--ft-typography-button-font-size","",mo.fontSize,"14px"),fontWeight:Se.extend("--ft-typography-button-font-weight","",mo.fontWeight,"600"),letterSpacing:Se.extend("--ft-typography-button-letter-spacing","",mo.letterSpacing,"1.246px"),lineHeight:Se.extend("--ft-typography-button-line-height","",mo.lineHeight,"1.15"),textTransform:Se.extend("--ft-typography-button-text-transform","",mo.textTransform,"uppercase")},fi=wt`
|
|
154
154
|
.ft-typography--title {
|
|
155
155
|
font-family: ${xo};
|
|
156
156
|
font-size: ${vo};
|
|
157
157
|
font-weight: ${Oo};
|
|
158
|
-
letter-spacing: ${
|
|
158
|
+
letter-spacing: ${wo};
|
|
159
159
|
line-height: ${So};
|
|
160
|
-
text-transform: ${
|
|
160
|
+
text-transform: ${$o};
|
|
161
161
|
}
|
|
162
|
-
`,
|
|
162
|
+
`,pi=wt`
|
|
163
163
|
.ft-typography--title-dense {
|
|
164
164
|
font-family: ${No};
|
|
165
165
|
font-size: ${Co};
|
|
@@ -168,18 +168,18 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
168
168
|
line-height: ${Ro};
|
|
169
169
|
text-transform: ${Uo};
|
|
170
170
|
}
|
|
171
|
-
`,di
|
|
171
|
+
`,di=wt`
|
|
172
172
|
.ft-typography--subtitle1 {
|
|
173
173
|
font-family: ${Io};
|
|
174
|
-
font-size: ${
|
|
175
|
-
font-weight: ${
|
|
174
|
+
font-size: ${Lo};
|
|
175
|
+
font-weight: ${Wo};
|
|
176
176
|
letter-spacing: ${zo};
|
|
177
|
-
line-height: ${
|
|
178
|
-
text-transform: ${
|
|
177
|
+
line-height: ${Fo};
|
|
178
|
+
text-transform: ${Zo};
|
|
179
179
|
}
|
|
180
|
-
`,hi
|
|
180
|
+
`,hi=wt`
|
|
181
181
|
.ft-typography--subtitle2 {
|
|
182
|
-
font-family: ${
|
|
182
|
+
font-family: ${Ko};
|
|
183
183
|
font-size: ${Do};
|
|
184
184
|
font-weight: ${Bo};
|
|
185
185
|
letter-spacing: ${Ao};
|
|
@@ -187,7 +187,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
187
187
|
text-transform: ${Po};
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
`,ui
|
|
190
|
+
`,ui=wt`
|
|
191
191
|
.ft-typography--body1 {
|
|
192
192
|
font-family: ${Ho.fontFamily};
|
|
193
193
|
font-size: ${Ho.fontSize};
|
|
@@ -196,7 +196,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
196
196
|
line-height: ${Ho.lineHeight};
|
|
197
197
|
text-transform: ${Ho.textTransform};
|
|
198
198
|
}
|
|
199
|
-
`,
|
|
199
|
+
`,yi=wt`
|
|
200
200
|
.ft-typography--body2 {
|
|
201
201
|
font-family: ${jo};
|
|
202
202
|
font-size: ${To};
|
|
@@ -205,7 +205,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
205
205
|
line-height: ${Vo};
|
|
206
206
|
text-transform: ${Yo};
|
|
207
207
|
}
|
|
208
|
-
`,
|
|
208
|
+
`,gi=wt`
|
|
209
209
|
.ft-typography--caption {
|
|
210
210
|
font-family: ${Jo.fontFamily};
|
|
211
211
|
font-size: ${Jo.fontSize};
|
|
@@ -214,7 +214,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
214
214
|
line-height: ${Jo.lineHeight};
|
|
215
215
|
text-transform: ${Jo.textTransform};
|
|
216
216
|
}
|
|
217
|
-
`,bi
|
|
217
|
+
`,bi=wt`
|
|
218
218
|
.ft-typography--breadcrumb {
|
|
219
219
|
font-family: ${qo};
|
|
220
220
|
font-size: ${Xo};
|
|
@@ -223,7 +223,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
223
223
|
line-height: ${ei};
|
|
224
224
|
text-transform: ${oi};
|
|
225
225
|
}
|
|
226
|
-
`,mi
|
|
226
|
+
`,mi=wt`
|
|
227
227
|
.ft-typography--overline {
|
|
228
228
|
font-family: ${ii};
|
|
229
229
|
font-size: ${ri};
|
|
@@ -232,7 +232,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
232
232
|
line-height: ${si};
|
|
233
233
|
text-transform: ${li};
|
|
234
234
|
}
|
|
235
|
-
`,xi
|
|
235
|
+
`,xi=wt`
|
|
236
236
|
.ft-typography--button {
|
|
237
237
|
font-family: ${ci.fontFamily};
|
|
238
238
|
font-size: ${ci.fontSize};
|
|
@@ -241,11 +241,11 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
241
241
|
line-height: ${ci.lineHeight};
|
|
242
242
|
text-transform: ${ci.textTransform};
|
|
243
243
|
}
|
|
244
|
-
`,vi
|
|
244
|
+
`,vi=wt`
|
|
245
245
|
.ft-typography {
|
|
246
246
|
vertical-align: inherit;
|
|
247
247
|
}
|
|
248
|
-
`,Oi=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return
|
|
248
|
+
`,Oi=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return wt`
|
|
249
249
|
.ft-typography--${Ot(t)} {
|
|
250
250
|
font-family: ${e.fontFamily};
|
|
251
251
|
font-size: ${e.fontSize};
|
|
@@ -254,32 +254,32 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
254
254
|
line-height: ${e.lineHeight};
|
|
255
255
|
text-transform: ${e.textCase};
|
|
256
256
|
}
|
|
257
|
-
`}(t)))];var
|
|
258
|
-
<${
|
|
257
|
+
`}(t)))];var wi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Si extends De{constructor(){super(...arguments),this.variant=yo.body1}render(){return this.element?uo`
|
|
258
|
+
<${po(this.element)}
|
|
259
259
|
class="ft-typography ft-typography--${this.variant}">
|
|
260
260
|
<slot></slot>
|
|
261
|
-
</${
|
|
261
|
+
</${po(this.element)}>
|
|
262
262
|
`:uo`
|
|
263
263
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
264
|
-
`}}Si.styles=[pi,
|
|
264
|
+
`}}Si.styles=[fi,pi,di,hi,ui,yi,gi,bi,mi,xi,vi,...Oi],wi([$()],Si.prototype,"element",void 0),wi([$()],Si.prototype,"variant",void 0),I("ft-typography")(Si);const $i={fontSize:Se.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Se.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Se.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Se.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Se.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Se.extend("--ft-input-label-border-color","",Re.colorOutline),textColor:Se.extend("--ft-input-label-text-color","",Re.colorOnSurfaceMedium),disabledTextColor:Se.extend("--ft-input-label-disabled-text-color","",Re.colorOnSurfaceDisabled),colorSurface:Se.external(Re.colorSurface,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system")},Ni=wt`
|
|
265
265
|
.ft-input-label {
|
|
266
266
|
position: absolute;
|
|
267
267
|
inset: 0;
|
|
268
268
|
display: flex;
|
|
269
|
-
background-color: ${
|
|
270
|
-
border-radius: ${
|
|
269
|
+
background-color: ${$i.colorSurface};
|
|
270
|
+
border-radius: ${$i.borderRadiusS} ${$i.borderRadiusS} 0 0;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
.ft-input-label--outlined {
|
|
274
|
-
border-radius: ${
|
|
274
|
+
border-radius: ${$i.borderRadiusS};
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
.ft-input-label {
|
|
278
|
-
border-color: ${
|
|
278
|
+
border-color: ${$i.borderColor};
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.ft-input-label.ft-input-label--in-error {
|
|
282
|
-
border-color: ${
|
|
282
|
+
border-color: ${$i.colorError}
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.ft-input-label:before,
|
|
@@ -292,7 +292,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.ft-input-label:before {
|
|
295
|
-
width: calc(${
|
|
295
|
+
width: calc(${$i.horizontalSpacing} - 4px);
|
|
296
296
|
flex-shrink: 0;
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -308,20 +308,20 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
308
308
|
border-bottom-width: 1px;
|
|
309
309
|
border-bottom-style: solid;
|
|
310
310
|
border-color: inherit;
|
|
311
|
-
color: ${
|
|
311
|
+
color: ${$i.textColor};
|
|
312
312
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
313
|
-
max-width: calc(${
|
|
313
|
+
max-width: calc(${$i.labelMaxWidth} - 2 * (${$i.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
314
314
|
text-overflow: ellipsis;
|
|
315
|
-
${
|
|
316
|
-
${
|
|
315
|
+
${$e(Jo.fontSize,$i.fontSize)};
|
|
316
|
+
${$e(Jo.lineHeight,$i.fontSize)};
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
.ft-input-label--in-error .ft-input-label--text {
|
|
320
|
-
color: ${
|
|
320
|
+
color: ${$i.colorError}
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.ft-input-label--disabled .ft-input-label--text {
|
|
324
|
-
color: ${
|
|
324
|
+
color: ${$i.disabledTextColor};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
.ft-input-label--hidden-text {
|
|
@@ -338,19 +338,19 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
338
338
|
overflow: hidden;
|
|
339
339
|
white-space: nowrap;
|
|
340
340
|
text-overflow: ellipsis;
|
|
341
|
-
padding: ${
|
|
342
|
-
margin: calc(${
|
|
341
|
+
padding: ${$i.verticalSpacing} 4px;
|
|
342
|
+
margin: calc(${$i.verticalSpacing} * -1) 0;
|
|
343
343
|
max-width: 100%;
|
|
344
344
|
box-sizing: border-box;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.ft-input-label--raised .ft-input-label--text {
|
|
348
|
-
${
|
|
349
|
-
${
|
|
348
|
+
${$e(Jo.fontSize,$i.raisedFontSize)};
|
|
349
|
+
${$e(Jo.lineHeight,$i.raisedFontSize)};
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
353
|
-
top: ${
|
|
353
|
+
top: ${$i.verticalSpacing};
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -363,20 +363,20 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
363
363
|
.ft-input-label--outlined:before {
|
|
364
364
|
border-left-width: 1px;
|
|
365
365
|
border-left-style: solid;
|
|
366
|
-
border-radius: ${
|
|
366
|
+
border-radius: ${$i.borderRadiusS} 0 0 ${$i.borderRadiusS};
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
.ft-input-label--outlined:after {
|
|
370
370
|
border-right-width: 1px;
|
|
371
371
|
border-right-style: solid;
|
|
372
|
-
border-radius: 0 ${
|
|
372
|
+
border-radius: 0 ${$i.borderRadiusS} ${$i.borderRadiusS} 0;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
376
376
|
padding: 2px 4px;
|
|
377
|
-
z-index: ${
|
|
378
|
-
background-color: ${
|
|
379
|
-
border-radius: ${
|
|
377
|
+
z-index: ${$i.raisedZIndex};
|
|
378
|
+
background-color: ${$i.colorSurface};
|
|
379
|
+
border-radius: ${$i.borderRadiusS};
|
|
380
380
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -392,7 +392,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
392
392
|
</div>
|
|
393
393
|
`:null}
|
|
394
394
|
</div>
|
|
395
|
-
`}}Ei.elementDefinitions={},Ei.styles=[
|
|
395
|
+
`}}Ei.elementDefinitions={},Ei.styles=[gi,Ni],Ci([$({type:String})],Ei.prototype,"text",void 0),Ci([$({type:Boolean})],Ei.prototype,"raised",void 0),Ci([$({type:Boolean})],Ei.prototype,"outlined",void 0),Ci([$({type:Boolean})],Ei.prototype,"disabled",void 0),Ci([$({type:Boolean})],Ei.prototype,"error",void 0),I("ft-input-label")(Ei);const ki=Se.extend("--ft-ripple-color","",Re.colorContent),Ri={color:ki,backgroundColor:Se.extend("--ft-ripple-background-color","",ki),opacityContentOnSurfacePressed:Se.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Se.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Se.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Se.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Se.create("--ft-ripple-border-radius","","SIZE","0px")},Ui=Se.extend("--ft-ripple-color","",Re.colorPrimary),Ii=Ui,Li=Se.extend("--ft-ripple-background-color","",Ui),Wi=Se.extend("--ft-ripple-color","",Re.colorSecondary),zi=Wi,Fi=Se.extend("--ft-ripple-background-color","",Wi),Zi=wt`
|
|
396
396
|
:host {
|
|
397
397
|
display: contents;
|
|
398
398
|
}
|
|
@@ -447,7 +447,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
450
|
-
background-color: ${
|
|
450
|
+
background-color: ${Fi};
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -455,7 +455,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
458
|
-
background-color: ${
|
|
458
|
+
background-color: ${Li};
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
@@ -504,7 +504,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
504
504
|
opacity: ${Ri.opacityContentOnSurfacePressed};
|
|
505
505
|
transform: translate(-50%, -50%) scale(1);
|
|
506
506
|
}
|
|
507
|
-
`;var
|
|
507
|
+
`;var Ki,Di,Bi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ai extends De{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 R(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 R(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return re`
|
|
508
508
|
<style>
|
|
509
509
|
.ft-ripple .ft-ripple--effect {
|
|
510
510
|
left: ${this.originX}px;
|
|
@@ -515,7 +515,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
515
515
|
<div class="ft-ripple--background"></div>
|
|
516
516
|
<div class="ft-ripple--effect"></div>
|
|
517
517
|
</div>
|
|
518
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ai.elementDefinitions={},Ai.styles=Ki,Bi([N({type:Boolean})],Ai.prototype,"primary",void 0),Bi([N({type:Boolean})],Ai.prototype,"secondary",void 0),Bi([N({type:Boolean})],Ai.prototype,"unbounded",void 0),Bi([N({type:Boolean})],Ai.prototype,"activated",void 0),Bi([N({type:Boolean})],Ai.prototype,"selected",void 0),Bi([N({type:Boolean})],Ai.prototype,"disabled",void 0),Bi([C()],Ai.prototype,"hovered",void 0),Bi([C()],Ai.prototype,"focused",void 0),Bi([C()],Ai.prototype,"pressed",void 0),Bi([C()],Ai.prototype,"rippling",void 0),Bi([C()],Ai.prototype,"originX",void 0),Bi([C()],Ai.prototype,"originY",void 0),Bi([k(".ft-ripple")],Ai.prototype,"ripple",void 0),Bi([k(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),I("ft-ripple")(Ai),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=""}(Fi||(Fi={})),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=""}(Di||(Di={})),new Map([...["abw"].map((t=>[t,Di.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,Di.AUDIO])),...["avi"].map((t=>[t,Di.AVI])),...["chm","xhs"].map((t=>[t,Di.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,Di.CODE])),...["csv"].map((t=>[t,Di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Di.DITA])),...["epub"].map((t=>[t,Di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Di.EXCEL])),...["flac"].map((t=>[t,Di.FLAC])),...["gif"].map((t=>[t,Di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Di.GZIP])),...["html","htm","xhtml"].map((t=>[t,Di.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,Di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Di.JPEG])),...["json"].map((t=>[t,Di.JSON])),...["m4a","m4p"].map((t=>[t,Di.M4A])),...["mov","qt"].map((t=>[t,Di.MOV])),...["mp3"].map((t=>[t,Di.MP3])),...["mp4","m4v"].map((t=>[t,Di.MP4])),...["ogg","oga"].map((t=>[t,Di.OGG])),...["pdf","ps"].map((t=>[t,Di.PDF])),...["png"].map((t=>[t,Di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Di.POWERPOINT])),...["rar"].map((t=>[t,Di.RAR])),...["stp"].map((t=>[t,Di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Di.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,Di.VIDEO])),...["wav"].map((t=>[t,Di.WAV])),...["wma"].map((t=>[t,Di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Di.WORD])),...["xml","xsl","rdf"].map((t=>[t,Di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Di.YAML])),...["zip"].map((t=>[t,Di.ZIP]))]);const Mi={size:Se.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Se.extend("--ft-icon-fluid-topics-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Se.extend("--ft-icon-file-format-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Se.extend("--ft-icon-material-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Se.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pi=$t`
|
|
518
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ai.elementDefinitions={},Ai.styles=Zi,Bi([$({type:Boolean})],Ai.prototype,"primary",void 0),Bi([$({type:Boolean})],Ai.prototype,"secondary",void 0),Bi([$({type:Boolean})],Ai.prototype,"unbounded",void 0),Bi([$({type:Boolean})],Ai.prototype,"activated",void 0),Bi([$({type:Boolean})],Ai.prototype,"selected",void 0),Bi([$({type:Boolean})],Ai.prototype,"disabled",void 0),Bi([N()],Ai.prototype,"hovered",void 0),Bi([N()],Ai.prototype,"focused",void 0),Bi([N()],Ai.prototype,"pressed",void 0),Bi([N()],Ai.prototype,"rippling",void 0),Bi([N()],Ai.prototype,"originX",void 0),Bi([N()],Ai.prototype,"originY",void 0),Bi([E(".ft-ripple")],Ai.prototype,"ripple",void 0),Bi([E(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),I("ft-ripple")(Ai),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=""}(Ki||(Ki={})),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=""}(Di||(Di={})),new Map([...["abw"].map((t=>[t,Di.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,Di.AUDIO])),...["avi"].map((t=>[t,Di.AVI])),...["chm","xhs"].map((t=>[t,Di.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,Di.CODE])),...["csv"].map((t=>[t,Di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Di.DITA])),...["epub"].map((t=>[t,Di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Di.EXCEL])),...["flac"].map((t=>[t,Di.FLAC])),...["gif"].map((t=>[t,Di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Di.GZIP])),...["html","htm","xhtml"].map((t=>[t,Di.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,Di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Di.JPEG])),...["json"].map((t=>[t,Di.JSON])),...["m4a","m4p"].map((t=>[t,Di.M4A])),...["mov","qt"].map((t=>[t,Di.MOV])),...["mp3"].map((t=>[t,Di.MP3])),...["mp4","m4v"].map((t=>[t,Di.MP4])),...["ogg","oga"].map((t=>[t,Di.OGG])),...["pdf","ps"].map((t=>[t,Di.PDF])),...["png"].map((t=>[t,Di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Di.POWERPOINT])),...["rar"].map((t=>[t,Di.RAR])),...["stp"].map((t=>[t,Di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Di.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,Di.VIDEO])),...["wav"].map((t=>[t,Di.WAV])),...["wma"].map((t=>[t,Di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Di.WORD])),...["xml","xsl","rdf"].map((t=>[t,Di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Di.YAML])),...["zip"].map((t=>[t,Di.ZIP]))]);const Mi={size:Se.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Se.extend("--ft-icon-fluid-topics-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Se.extend("--ft-icon-file-format-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Se.extend("--ft-icon-material-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Se.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pi=wt`
|
|
519
519
|
:host, i.ft-icon {
|
|
520
520
|
display: inline-flex;
|
|
521
521
|
align-items: center;
|
|
@@ -568,7 +568,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
568
568
|
${so(this.resolvedIcon)}
|
|
569
569
|
<slot ?hidden=${e}></slot>
|
|
570
570
|
</i>
|
|
571
|
-
`}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 Hi.file_format:this.resolvedIcon=null!==(t=Di[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Hi.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=
|
|
571
|
+
`}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 Hi.file_format:this.resolvedIcon=null!==(t=Di[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Hi.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=Ki[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ti.elementDefinitions={},Ti.styles=Pi,ji([$()],Ti.prototype,"variant",void 0),ji([$()],Ti.prototype,"value",void 0),ji([N()],Ti.prototype,"resolvedIcon",void 0),ji([E("slot")],Ti.prototype,"slottedContent",void 0),I("ft-icon")(Ti);const _i={labelSize:Se.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Se.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Se.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Se.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Se.extend("--ft-select-selected-option-color","",Re.colorOnSurface),helperColor:Se.extend("--ft-select-helper-color","",Re.colorOnSurfaceMedium),optionsColor:Se.extend("--ft-select-options-color","",Re.colorOnSurface),optionsZIndex:Se.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),colorPrimary:Se.external(Re.colorPrimary,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),colorError:Se.external(Re.colorError,"Design system")},Gi=wt`
|
|
572
572
|
*:focus {
|
|
573
573
|
outline: none;
|
|
574
574
|
}
|
|
@@ -595,13 +595,13 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
595
595
|
padding-right: ${_i.horizontalSpacing};
|
|
596
596
|
gap: 8px;
|
|
597
597
|
color: ${_i.selectedOptionColor};
|
|
598
|
-
${
|
|
598
|
+
${$e(Ri.color,_i.selectedOptionColor)};
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
.ft-select--input-panel,
|
|
602
602
|
.ft-select--option {
|
|
603
|
-
${
|
|
604
|
-
${
|
|
603
|
+
${$e(Ri.opacityContentOnSurfaceHover,"0.08")};
|
|
604
|
+
${$e(Ri.opacityContentOnSurfacePressed,"0.04")};
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -620,11 +620,11 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
ft-input-label {
|
|
623
|
-
${
|
|
624
|
-
${
|
|
625
|
-
${
|
|
626
|
-
${
|
|
627
|
-
${
|
|
623
|
+
${$e($i.fontSize,_i.selectedOptionSize)};
|
|
624
|
+
${$e($i.raisedFontSize,_i.labelSize)};
|
|
625
|
+
${$e($i.verticalSpacing,_i.verticalSpacing)};
|
|
626
|
+
${$e($i.horizontalSpacing,_i.horizontalSpacing)};
|
|
627
|
+
${$e($i.labelMaxWidth,`calc(100% - ${Mi.size} - 8px)`)};
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
@@ -632,8 +632,8 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
632
632
|
}
|
|
633
633
|
|
|
634
634
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
635
|
-
${
|
|
636
|
-
${
|
|
635
|
+
${$e($i.borderColor,_i.colorPrimary)};
|
|
636
|
+
${$e($i.textColor,_i.colorPrimary)};
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-select--selected-option {
|
|
@@ -643,8 +643,8 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
643
643
|
overflow: hidden;
|
|
644
644
|
white-space: nowrap;
|
|
645
645
|
text-overflow: ellipsis;
|
|
646
|
-
${
|
|
647
|
-
${
|
|
646
|
+
${$e(Ho.fontSize,_i.selectedOptionSize)};
|
|
647
|
+
${$e(Ho.lineHeight,_i.selectedOptionSize)};
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -717,7 +717,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
717
717
|
.ft-select--in-error .ft-select--helper-text {
|
|
718
718
|
color: ${_i.colorError};
|
|
719
719
|
}
|
|
720
|
-
`;var Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends De{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return re``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Yi.elementDefinitions={},Vi([
|
|
720
|
+
`;var Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends De{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return re``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Yi.elementDefinitions={},Vi([$({type:String})],Yi.prototype,"label",void 0),Vi([$({type:Object,converter:t=>t})],Yi.prototype,"value",void 0),Vi([$({type:Boolean,reflect:!0})],Yi.prototype,"selected",void 0);class Ji extends De{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return re`
|
|
721
721
|
<div class="${lo(l)}" part="container">
|
|
722
722
|
<div class="ft-select--main-panel" part="main-panel">
|
|
723
723
|
<ft-input-label text="${this.label}"
|
|
@@ -765,13 +765,13 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
|
|
|
765
765
|
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
766
766
|
<span>${t.label}</span>
|
|
767
767
|
</div>
|
|
768
|
-
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ji.elementDefinitions={"ft-input-label":Ei,"ft-typography":Si,"ft-ripple":Ai,"ft-icon":Ti},Ji.styles=[gi,
|
|
768
|
+
`}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ji.elementDefinitions={"ft-input-label":Ei,"ft-typography":Si,"ft-ripple":Ai,"ft-icon":Ti},Ji.styles=[yi,gi,Gi],Vi([$({type:String})],Ji.prototype,"label",void 0),Vi([$({type:String})],Ji.prototype,"helper",void 0),Vi([$({type:Boolean})],Ji.prototype,"outlined",void 0),Vi([$({type:Boolean})],Ji.prototype,"disabled",void 0),Vi([$({type:Boolean})],Ji.prototype,"error",void 0),Vi([$({type:Boolean})],Ji.prototype,"fixedMenuPosition",void 0),Vi([$({type:Array})],Ji.prototype,"options",void 0),Vi([N()],Ji.prototype,"selectedOption",void 0),Vi([N()],Ji.prototype,"optionsDisplayed",void 0),Vi([N()],Ji.prototype,"focusOptions",void 0),Vi([E(".ft-select")],Ji.prototype,"container",void 0),Vi([E(".ft-select--options")],Ji.prototype,"optionsMenu",void 0),Vi([E(".ft-select--input-panel")],Ji.prototype,"mainPanel",void 0),Vi([E(".ft-select--option:first-child")],Ji.prototype,"firstOption",void 0),Vi([E(".ft-select--option:focus")],Ji.prototype,"focusedOption",void 0),Vi([E(".ft-select--option.ft-select--option-selected")],Ji.prototype,"selectedOptionElement",void 0),Vi([E(".ft-select--option:last-child")],Ji.prototype,"lastOption",void 0),Vi([E("slot")],Ji.prototype,"optionsSlot",void 0),I("ft-select")(Ji),I("ft-select-option")(Yi);
|
|
769
769
|
/**
|
|
770
770
|
* @license
|
|
771
771
|
* Copyright 2018 Google LLC
|
|
772
772
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
773
773
|
*/
|
|
774
|
-
const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Se.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Se.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Se.extend("--ft-text-field-helper-color","",Re.colorOnSurfaceMedium),colorPrimary:Se.external(Re.colorPrimary,"Design system"),colorOnSurface:Se.external(Re.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system"),prefixColor:Se.extend("--ft-text-field-prefix-color","",Re.colorOnSurfaceMedium),iconColor:Se.extend("--ft-text-field-icon-color","",Re.colorOnSurfaceMedium),floatingZIndex:Se.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOutline:Se.external(Re.colorOutline,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),suggestSize:Se.create("--ft-text-field-suggest-size","","SIZE","300px")},Xi
|
|
774
|
+
const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Se.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Se.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Se.extend("--ft-text-field-helper-color","",Re.colorOnSurfaceMedium),colorPrimary:Se.external(Re.colorPrimary,"Design system"),colorOnSurface:Se.external(Re.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system"),prefixColor:Se.extend("--ft-text-field-prefix-color","",Re.colorOnSurfaceMedium),iconColor:Se.extend("--ft-text-field-icon-color","",Re.colorOnSurfaceMedium),floatingZIndex:Se.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOutline:Se.external(Re.colorOutline,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),suggestSize:Se.create("--ft-text-field-suggest-size","","SIZE","300px")},Xi=wt`
|
|
775
775
|
*:focus {
|
|
776
776
|
outline: none;
|
|
777
777
|
}
|
|
@@ -784,10 +784,10 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
ft-input-label {
|
|
787
|
-
${
|
|
788
|
-
${
|
|
789
|
-
${
|
|
790
|
-
${
|
|
787
|
+
${$e($i.fontSize,qi.fontSize)};
|
|
788
|
+
${$e($i.raisedFontSize,qi.labelSize)};
|
|
789
|
+
${$e($i.verticalSpacing,qi.verticalSpacing)};
|
|
790
|
+
${$e($i.horizontalSpacing,qi.horizontalSpacing)};
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
.ft-text-field--main-panel {
|
|
@@ -804,13 +804,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
804
804
|
overflow: hidden;
|
|
805
805
|
padding: 0 ${qi.horizontalSpacing};
|
|
806
806
|
|
|
807
|
-
${
|
|
808
|
-
${
|
|
807
|
+
${$e(Ho.fontSize,qi.fontSize)};
|
|
808
|
+
${$e(Ho.lineHeight,qi.fontSize)};
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
.ft-text-field--input-panel ft-ripple {
|
|
812
|
-
${
|
|
813
|
-
${
|
|
812
|
+
${$e(Ri.opacityContentOnSurfaceHover,"0.08")};
|
|
813
|
+
${$e(Ri.opacityContentOnSurfacePressed,"0.04")};
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
@@ -859,8 +859,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
859
859
|
}
|
|
860
860
|
|
|
861
861
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
862
|
-
${
|
|
863
|
-
${
|
|
862
|
+
${$e($i.borderColor,qi.colorPrimary)};
|
|
863
|
+
${$e($i.textColor,qi.colorPrimary)};
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
@@ -921,13 +921,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
.ft-text-field--with-icon {
|
|
924
|
-
${
|
|
924
|
+
${$e($i.labelMaxWidth,`calc(100% - ${Mi.size} - ${$i.horizontalSpacing})`)};
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
.ft-text-field--with-password ft-icon:hover {
|
|
928
928
|
cursor: pointer;
|
|
929
929
|
}
|
|
930
|
-
`;var Qi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tr extends(He(De,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=
|
|
930
|
+
`;var Qi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tr extends(He(De,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Ki.EYE_SLASH,this.passwordRevealedIcon=Ki.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return re`
|
|
931
931
|
<div class="${lo(t)}">
|
|
932
932
|
<div class="ft-text-field--main-panel"
|
|
933
933
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -978,7 +978,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
978
978
|
.variant=${this.iconVariant}
|
|
979
979
|
.value=${this.icon}
|
|
980
980
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
981
|
-
`:ae}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}tr.elementDefinitions={"ft-input-label":Ei,"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},tr.styles=[ui,Xi],Qi([
|
|
981
|
+
`:ae}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}tr.elementDefinitions={"ft-input-label":Ei,"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},tr.styles=[ui,Xi],Qi([$()],tr.prototype,"label",void 0),Qi([$({noAccessor:!0})],tr.prototype,"value",null),Qi([N()],tr.prototype,"dispatchedValue",void 0),Qi([$()],tr.prototype,"helper",void 0),Qi([$({type:Boolean})],tr.prototype,"outlined",void 0),Qi([$({type:Boolean})],tr.prototype,"disabled",void 0),Qi([$({type:Boolean})],tr.prototype,"error",void 0),Qi([$()],tr.prototype,"prefix",void 0),Qi([$()],tr.prototype,"icon",void 0),Qi([$()],tr.prototype,"passwordHiddenIcon",void 0),Qi([$()],tr.prototype,"passwordRevealedIcon",void 0),Qi([$()],tr.prototype,"iconVariant",void 0),Qi([$({type:Boolean})],tr.prototype,"filterSuggestions",void 0),Qi([$({type:Number})],tr.prototype,"maxLength",void 0),Qi([$({type:Boolean})],tr.prototype,"password",void 0),Qi([N()],tr.prototype,"focused",void 0),Qi([N()],tr.prototype,"hidePassword",void 0),Qi([N()],tr.prototype,"suggestionsOnTop",void 0),Qi([N()],tr.prototype,"hideSuggestions",void 0),Qi([N()],tr.prototype,"visibleSuggestions",void 0),Qi([E(".ft-text-field--main-panel")],tr.prototype,"mainPanel",void 0),Qi([E(".ft-text-field--input")],tr.prototype,"input",void 0),Qi([E(".ft-text-field--suggestions")],tr.prototype,"suggestionsContainer",void 0),Qi([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],tr.prototype,"suggestions",void 0);const er=wt`
|
|
982
982
|
.ft-text-field-suggestion {
|
|
983
983
|
position: relative;
|
|
984
984
|
padding: 8px 16px;
|
|
@@ -1015,7 +1015,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1015
1015
|
<slot></slot>
|
|
1016
1016
|
</ft-typography>
|
|
1017
1017
|
</div>
|
|
1018
|
-
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new ir(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}rr.elementDefinitions={"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},rr.styles=er,or([
|
|
1018
|
+
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new ir(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}rr.elementDefinitions={"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},rr.styles=er,or([$()],rr.prototype,"value",void 0),or([E(".ft-text-field-suggestion")],rr.prototype,"container",void 0),or([k()],rr.prototype,"assignedNodes",void 0),I("ft-text-field")(tr),I("ft-text-field-suggestion")(rr);const nr={color:Se.extend("--ft-loader-color","",Re.colorPrimary),size:Se.create("--ft-loader-size","","SIZE","80px")},ar=wt`
|
|
1019
1019
|
:host {
|
|
1020
1020
|
line-height: 0;
|
|
1021
1021
|
}
|
|
@@ -1084,7 +1084,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1084
1084
|
transform: translate(calc(0.35 * ${nr.size}), 0);
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
|
-
`,sr=Se.extend("--ft-button-color","",Re.colorPrimary),lr={backgroundColor:Se.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:Se.extend("--ft-button-border-radius","",Re.borderRadiusL),color:sr,fontSize:Se.extend("--ft-button-font-size","",ci.fontSize),iconSize:Se.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Se.extend("--ft-button-ripple-color","",sr),verticalPadding:Se.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Se.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Se.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Se.external(Re.colorOpacityDisabled,"Design system")},cr=Se.extend("--ft-button-primary-color","",Se.extend("--ft-button-color","",Re.colorOnPrimary)),
|
|
1087
|
+
`,sr=Se.extend("--ft-button-color","",Re.colorPrimary),lr={backgroundColor:Se.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:Se.extend("--ft-button-border-radius","",Re.borderRadiusL),color:sr,fontSize:Se.extend("--ft-button-font-size","",ci.fontSize),iconSize:Se.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Se.extend("--ft-button-ripple-color","",sr),verticalPadding:Se.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Se.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Se.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Se.external(Re.colorOpacityDisabled,"Design system")},cr=Se.extend("--ft-button-primary-color","",Se.extend("--ft-button-color","",Re.colorOnPrimary)),fr={backgroundColor:Se.extend("--ft-button-primary-background-color","",Se.extend("--ft-button-background-color","",Re.colorPrimary)),color:cr,rippleColor:Se.extend("--ft-button-primary-ripple-color","",cr)},pr=Se.extend("--ft-button-dense-border-radius","",Se.extend("--ft-button-border-radius","",Re.borderRadiusM)),dr=Se.create("--ft-button-dense-vertical-padding","","SIZE","2px"),hr=Se.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ur=Se.create("--ft-button-dense-icon-padding","","SIZE","4px"),yr=[wt`
|
|
1088
1088
|
:host {
|
|
1089
1089
|
display: inline-block;
|
|
1090
1090
|
max-width: 100%;
|
|
@@ -1126,8 +1126,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1126
1126
|
|
|
1127
1127
|
--ft-button-internal-line-height: max(calc(${lr.fontSize} + 2px), ${lr.iconSize});
|
|
1128
1128
|
--ft-button-internal-color: ${lr.color};
|
|
1129
|
-
${
|
|
1130
|
-
${
|
|
1129
|
+
${$e(Mi.size,lr.iconSize)};
|
|
1130
|
+
${$e(Ri.color,lr.rippleColor)};
|
|
1131
1131
|
|
|
1132
1132
|
border-radius: ${lr.borderRadius};
|
|
1133
1133
|
padding: ${lr.verticalPadding} ${lr.horizontalPadding};
|
|
@@ -1143,7 +1143,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1143
1143
|
|
|
1144
1144
|
.ft-button.ft-button--dense {
|
|
1145
1145
|
padding: ${dr} ${hr};
|
|
1146
|
-
border-radius: ${
|
|
1146
|
+
border-radius: ${pr};
|
|
1147
1147
|
gap: ${ur};
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
@@ -1169,9 +1169,9 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
.ft-button.ft-button--primary {
|
|
1172
|
-
background-color: ${
|
|
1173
|
-
--ft-button-internal-color: ${
|
|
1174
|
-
${
|
|
1172
|
+
background-color: ${fr.backgroundColor};
|
|
1173
|
+
--ft-button-internal-color: ${fr.color};
|
|
1174
|
+
${$e(Ri.color,fr.rippleColor)};
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
1177
|
.ft-button:focus {
|
|
@@ -1185,8 +1185,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1185
1185
|
text-overflow: ellipsis;
|
|
1186
1186
|
display: block;
|
|
1187
1187
|
margin: 0 ${lr.iconPadding};
|
|
1188
|
-
${
|
|
1189
|
-
${
|
|
1188
|
+
${$e(ci.fontSize,"1em")};
|
|
1189
|
+
${$e(ci.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
1192
|
.ft-button--dense .ft-button--label {
|
|
@@ -1218,10 +1218,10 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
1220
|
ft-loader {
|
|
1221
|
-
${
|
|
1222
|
-
${
|
|
1221
|
+
${$e(nr.size,lr.iconSize)};
|
|
1222
|
+
${$e(nr.color,"var(--ft-button-internal-color)")};
|
|
1223
1223
|
}
|
|
1224
|
-
`,Ae],
|
|
1224
|
+
`,Ae],gr=Se.create("--ft-tooltip-distance","","SIZE","4px"),br=Se.create("--ft-tooltip-color","","COLOR","#FFFFFF"),mr=Se.create("--ft-tooltip-background-color","","COLOR","#666666"),xr=Se.create("--ft-tooltip-z-index","","NUMBER","100"),vr=Se.external(Re.borderRadiusS,"Design system"),Or=Se.create("--ft-tooltip-max-width","","SIZE","150px"),wr=wt`
|
|
1225
1225
|
.ft-tooltip--container {
|
|
1226
1226
|
display: block;
|
|
1227
1227
|
}
|
|
@@ -1238,7 +1238,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1238
1238
|
width: max-content;
|
|
1239
1239
|
max-width: ${Or};
|
|
1240
1240
|
text-align: center;
|
|
1241
|
-
padding: ${
|
|
1241
|
+
padding: ${gr};
|
|
1242
1242
|
z-index: ${xr};
|
|
1243
1243
|
}
|
|
1244
1244
|
|
|
@@ -1250,7 +1250,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1250
1250
|
position: relative;
|
|
1251
1251
|
word-break: break-word;
|
|
1252
1252
|
}
|
|
1253
|
-
`;var Sr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wr extends De{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
1253
|
+
`,Sr=["start","end"],$r=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Sr[0],e+"-"+Sr[1])),[]),Nr=Math.min,Cr=Math.max,Er=Math.round,kr=t=>({x:t,y:t}),Rr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Ir(t,e,o){return Cr(t,Nr(e,o))}function Lr(t,e){return"function"==typeof t?t(e):t}function Wr(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Fr(t){return"x"===t?"y":"x"}function Zr(t){return"y"===t?"height":"width"}function Kr(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Dr(t){return Fr(Kr(t))}function Br(t){return t.replace(/left|right|bottom|top/g,(t=>Rr[t]))}function Ar(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,e,o){let{reference:i,floating:r}=t;const n=Kr(e),a=Dr(e),s=Zr(a),l=Wr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(zr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Pr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Lr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Ar(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ar(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Hr(t,e,o){return(t?[...o.filter((e=>zr(e)===t)),...o.filter((e=>zr(e)!==t))]:o.filter((t=>Wr(t)===t))).filter((o=>!t||(zr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(o)!==o)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Lr(t,e),y=void 0!==p||d===$r?Hr(p||null,h,d):d,g=await Pr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=zr(t),r=Dr(t),n=Zr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Br(a)),[a,Br(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Wr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=zr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Tr(t){return Vr(t)?(t.nodeName||"").toLowerCase():"#document"}function _r(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Gr(t){var e;return null==(e=(Vr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Vr(t){return t instanceof Node||t instanceof _r(t).Node}function Yr(t){return t instanceof Element||t instanceof _r(t).Element}function Jr(t){return t instanceof HTMLElement||t instanceof _r(t).HTMLElement}function qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _r(t).ShadowRoot)}function Xr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=rn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Qr(t){return["table","td","th"].includes(Tr(t))}function tn(t){const e=en(),o=rn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function en(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function on(t){return["html","body","#document"].includes(Tr(t))}function rn(t){return _r(t).getComputedStyle(t)}function nn(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function an(t){if("html"===Tr(t))return t;const e=t.assignedSlot||t.parentNode||qr(t)&&t.host||Gr(t);return qr(e)?e.host:e}function sn(t){const e=an(t);return on(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(e)&&Xr(e)?e:sn(e)}function ln(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=sn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=_r(r);return n?e.concat(a,a.visualViewport||[],Xr(r)?r:[],a.frameElement&&o?ln(a.frameElement):[]):e.concat(r,ln(r,[],o))}function cn(t){const e=rn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Jr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Er(o)!==n||Er(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function fn(t){return Yr(t)?t:t.contextElement}function pn(t){const e=fn(t);if(!Jr(e))return kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=cn(e);let a=(n?Er(o.width):o.width)/i,s=(n?Er(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const dn=kr(0);function hn(t){const e=_r(t);return en()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:dn}function un(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=fn(t);let a=kr(1);e&&(i?Yr(i)&&(a=pn(i)):a=pn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==_r(t))&&e}(n,o,i)?hn(n):kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=_r(n),e=i&&Yr(i)?_r(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=pn(o),e=o.getBoundingClientRect(),i=rn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=_r(o).frameElement}}return Ar({width:f,height:p,x:l,y:c})}function yn(t){return un(Gr(t)).left+nn(t).scrollLeft}function gn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=_r(t),i=Gr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=en();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Gr(t),o=nn(t),i=t.ownerDocument.body,r=Cr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Cr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+yn(t);const s=-o.scrollTop;return"rtl"===rn(i).direction&&(a+=Cr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Gr(t));else if(Yr(e))i=function(t,e){const o=un(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Jr(t)?pn(t):kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=hn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ar(i)}function bn(t,e){const o=an(t);return!(o===e||!Yr(o)||on(o))&&("fixed"===rn(o).position||bn(o,e))}function mn(t,e,o){const i=Jr(e),r=Gr(e),n="fixed"===o,a=un(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=kr(0);if(i||!i&&!n)if(("body"!==Tr(e)||Xr(r))&&(s=nn(e)),i){const t=un(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=yn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function xn(t,e){return Jr(t)&&"fixed"!==rn(t).position?e?e(t):t.offsetParent:null}function vn(t,e){const o=_r(t);if(!Jr(t))return o;let i=xn(t,e);for(;i&&Qr(i)&&"static"===rn(i).position;)i=xn(i,e);return i&&("html"===Tr(i)||"body"===Tr(i)&&"static"===rn(i).position&&!tn(i))?o:i||function(t){let e=an(t);for(;Jr(e)&&!on(e);){if(tn(e))return e;e=an(e)}return null}(t)||o}const On={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Jr(o),n=Gr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=kr(1);const l=kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Tr(o)||Xr(n))&&(a=nn(o)),Jr(o))){const t=un(o);s=pn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Gr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=ln(t,[],!1).filter((t=>Yr(t)&&"body"!==Tr(t))),r=null;const n="fixed"===rn(t).position;let a=n?an(t):t;for(;Yr(a)&&!on(a);){const e=rn(a),o=tn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Xr(a)&&!o&&bn(t,a))?i=i.filter((t=>t!==a)):r=e,a=an(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=gn(e,o,r);return t.top=Cr(i.top,t.top),t.right=Nr(i.right,t.right),t.bottom=Nr(i.bottom,t.bottom),t.left=Cr(i.left,t.left),t}),gn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:vn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||vn,n=this.getDimensions;return{reference:mn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return cn(t)},getScale:pn,isElement:Yr,isRTL:function(t){return"rtl"===rn(t).direction}},wn=(t,e,o)=>{const i=new Map,r={platform:On,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Mr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Mr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var Sn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $n extends De{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new R,this.revealDebouncer=new R}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
1254
1254
|
<div part="container"
|
|
1255
1255
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1256
1256
|
@mouseenter=${this.onHover}
|
|
@@ -1268,14 +1268,14 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1268
1268
|
</div>
|
|
1269
1269
|
</div>
|
|
1270
1270
|
</div>
|
|
1271
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent()
|
|
1271
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",wn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Lr(t,e),c={x:o,y:i},f=await Pr(e,l),p=Kr(Wr(r)),d=Fr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ir(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ir(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),jr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}$n.elementDefinitions={"ft-typography":Si},$n.styles=wr,Sn([$()],$n.prototype,"text",void 0),Sn([$({type:Boolean})],$n.prototype,"manual",void 0),Sn([$({type:Boolean})],$n.prototype,"inline",void 0),Sn([$({type:Number})],$n.prototype,"delay",void 0),Sn([$()],$n.prototype,"position",void 0),Sn([k()],$n.prototype,"slotNodes",void 0),Sn([E(".ft-tooltip--container")],$n.prototype,"container",void 0),Sn([E(".ft-tooltip")],$n.prototype,"tooltip",void 0),Sn([E(".ft-tooltip--content")],$n.prototype,"tooltipContent",void 0),Sn([N()],$n.prototype,"visible",void 0),I("ft-tooltip")($n);class Nn extends De{render(){return re`
|
|
1272
1272
|
<div class="ft-loader">
|
|
1273
1273
|
<div></div>
|
|
1274
1274
|
<div></div>
|
|
1275
1275
|
<div></div>
|
|
1276
1276
|
<div></div>
|
|
1277
1277
|
</div>
|
|
1278
|
-
`}}
|
|
1278
|
+
`}}Nn.styles=ar,I("ft-loader")(Nn);var Cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends(He(De,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
|
|
1279
1279
|
<button part="button"
|
|
1280
1280
|
class="${lo(this.buttonClasses)}"
|
|
1281
1281
|
aria-label="${this.getLabel()}"
|
|
@@ -1298,7 +1298,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1298
1298
|
</ft-tooltip>
|
|
1299
1299
|
`:t}resolveIcon(){return this.loading?re`
|
|
1300
1300
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?re`
|
|
1301
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
1301
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}En.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":$n,"ft-typography":Si,"ft-icon":Ti,"ft-loader":Nn},Cn([$({type:String,reflect:!0})],En.prototype,"role",void 0),Cn([$()],En.prototype,"type",void 0),Cn([$({type:Boolean})],En.prototype,"disabled",void 0),Cn([$()],En.prototype,"label",void 0),Cn([$()],En.prototype,"icon",void 0),Cn([$()],En.prototype,"iconVariant",void 0),Cn([$({type:Boolean})],En.prototype,"trailingIcon",void 0),Cn([$({type:Boolean})],En.prototype,"loading",void 0),Cn([$()],En.prototype,"tooltipPosition",void 0),Cn([$({type:Boolean})],En.prototype,"hideTooltip",void 0),Cn([$({type:Boolean})],En.prototype,"forceTooltip",void 0),Cn([E(".ft-button")],En.prototype,"button",void 0),Cn([E(".ft-button--label slot")],En.prototype,"slottedContent",void 0);var kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rn extends En{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Rn.styles=[Me,yr],kn([$({type:Boolean})],Rn.prototype,"primary",void 0),kn([$({type:Boolean})],Rn.prototype,"outlined",void 0),kn([$({type:Boolean})],Rn.prototype,"dense",void 0),kn([$({type:Boolean})],Rn.prototype,"round",void 0);const Un=[wt`
|
|
1302
1302
|
:host {
|
|
1303
1303
|
display: inline-block;
|
|
1304
1304
|
max-width: 100%;
|
|
@@ -1377,13 +1377,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1377
1377
|
/** Primary styles **/
|
|
1378
1378
|
|
|
1379
1379
|
.ft-button--primary {
|
|
1380
|
-
${
|
|
1380
|
+
${$e(nr.color,ke.primaryIconColor)};
|
|
1381
1381
|
|
|
1382
|
-
${
|
|
1383
|
-
${
|
|
1384
|
-
${
|
|
1385
|
-
${
|
|
1386
|
-
${
|
|
1382
|
+
${$e(Ri.color,ke.primaryStateLayerColor)};
|
|
1383
|
+
${$e(Ri.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
|
|
1384
|
+
${$e(Ri.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
|
|
1385
|
+
${$e(Ri.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
|
|
1386
|
+
${$e(Ri.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
|
|
1387
1387
|
|
|
1388
1388
|
background-color: ${ke.primaryBackgroundColor};
|
|
1389
1389
|
color: ${ke.primaryColor};
|
|
@@ -1401,13 +1401,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1401
1401
|
/** Secondary styles **/
|
|
1402
1402
|
|
|
1403
1403
|
.ft-button--secondary {
|
|
1404
|
-
${
|
|
1404
|
+
${$e(nr.color,ke.secondaryIconColor)};
|
|
1405
1405
|
|
|
1406
|
-
${
|
|
1407
|
-
${
|
|
1408
|
-
${
|
|
1409
|
-
${
|
|
1410
|
-
${
|
|
1406
|
+
${$e(Ri.color,ke.secondaryStateLayerColor)};
|
|
1407
|
+
${$e(Ri.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
|
|
1408
|
+
${$e(Ri.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
|
|
1409
|
+
${$e(Ri.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
|
|
1410
|
+
${$e(Ri.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
|
|
1411
1411
|
|
|
1412
1412
|
background-color: ${ke.secondaryBackgroundColor};
|
|
1413
1413
|
color: ${ke.secondaryColor};
|
|
@@ -1426,13 +1426,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1426
1426
|
/** Tertiary styles **/
|
|
1427
1427
|
|
|
1428
1428
|
.ft-button--tertiary {
|
|
1429
|
-
${
|
|
1429
|
+
${$e(nr.color,ke.tertiaryIconColor)};
|
|
1430
1430
|
|
|
1431
|
-
${
|
|
1432
|
-
${
|
|
1433
|
-
${
|
|
1434
|
-
${
|
|
1435
|
-
${
|
|
1431
|
+
${$e(Ri.color,ke.tertiaryStateLayerColor)};
|
|
1432
|
+
${$e(Ri.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
|
|
1433
|
+
${$e(Ri.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
|
|
1434
|
+
${$e(Ri.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
|
|
1435
|
+
${$e(Ri.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
|
|
1436
1436
|
|
|
1437
1437
|
background-color: ${ke.tertiaryBackgroundColor};
|
|
1438
1438
|
color: ${ke.tertiaryColor};
|
|
@@ -1450,13 +1450,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1450
1450
|
/** Neutral styles **/
|
|
1451
1451
|
|
|
1452
1452
|
.ft-button--neutral {
|
|
1453
|
-
${
|
|
1453
|
+
${$e(nr.color,ke.neutralIconColor)};
|
|
1454
1454
|
|
|
1455
|
-
${
|
|
1456
|
-
${
|
|
1457
|
-
${
|
|
1458
|
-
${
|
|
1459
|
-
${
|
|
1455
|
+
${$e(Ri.backgroundColor,ke.neutralStateLayerColor)};
|
|
1456
|
+
${$e(Ri.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
|
|
1457
|
+
${$e(Ri.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
|
|
1458
|
+
${$e(Ri.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
|
|
1459
|
+
${$e(Ri.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
|
|
1460
1460
|
|
|
1461
1461
|
background-color: ${ke.neutralBackgroundColor};
|
|
1462
1462
|
color: ${ke.neutralColor};
|
|
@@ -1474,8 +1474,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1474
1474
|
/** Large styles **/
|
|
1475
1475
|
|
|
1476
1476
|
.ft-button--large {
|
|
1477
|
-
${
|
|
1478
|
-
${
|
|
1477
|
+
${$e(Mi.size,ke.largeIconSize)};
|
|
1478
|
+
${$e(nr.size,ke.largeIconSize)};
|
|
1479
1479
|
|
|
1480
1480
|
height: ${ke.largeHeight};
|
|
1481
1481
|
padding: 0 ${ke.largeHorizontalPadding};
|
|
@@ -1497,8 +1497,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1497
1497
|
/** Small styles **/
|
|
1498
1498
|
|
|
1499
1499
|
.ft-button--small {
|
|
1500
|
-
${
|
|
1501
|
-
${
|
|
1500
|
+
${$e(Mi.size,ke.smallIconSize)};
|
|
1501
|
+
${$e(nr.size,ke.smallIconSize)};
|
|
1502
1502
|
|
|
1503
1503
|
height: ${ke.smallHeight};
|
|
1504
1504
|
padding: 0 ${ke.smallHorizontalPadding};
|
|
@@ -1516,7 +1516,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1516
1516
|
width: ${ke.smallIconOnlyWidth};
|
|
1517
1517
|
padding: unset;
|
|
1518
1518
|
}
|
|
1519
|
-
`,Ae];var
|
|
1519
|
+
`,Ae];var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends En{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?yo.caption1medium:yo.body2medium}}Ln.styles=[Me,Un],In([$({type:Boolean})],Ln.prototype,"primary",void 0),In([$({type:Boolean})],Ln.prototype,"secondary",void 0),In([$({type:Boolean})],Ln.prototype,"tertiary",void 0),In([$({type:Boolean})],Ln.prototype,"neutral",void 0),In([$({type:Boolean})],Ln.prototype,"small",void 0),I("ft-button")(Rn),I("ftds-button")(Ln);class Wn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const zn={headerBackground:Se.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Se.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Se.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Se.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Se.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Se.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Se.external(Re.colorOnSurfaceHigh,"Design system"),titleFont:Se.external(Re.titleFont,"Design system"),contentFont:Se.external(Re.contentFont,"Design system")},Fn=wt`
|
|
1520
1520
|
:host {
|
|
1521
1521
|
display: block;
|
|
1522
1522
|
}
|
|
@@ -1532,15 +1532,15 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1532
1532
|
.header-cell {
|
|
1533
1533
|
display: flex;
|
|
1534
1534
|
flex-direction: column;
|
|
1535
|
-
background: ${
|
|
1536
|
-
color: ${
|
|
1535
|
+
background: ${zn.headerBackground};
|
|
1536
|
+
color: ${zn.colorOnSurfaceHigh};
|
|
1537
1537
|
padding: .5rem 1rem;
|
|
1538
|
-
font-family: ${
|
|
1538
|
+
font-family: ${zn.titleFont};
|
|
1539
1539
|
}
|
|
1540
1540
|
|
|
1541
1541
|
.header-cell--sticky {
|
|
1542
1542
|
top: 0;
|
|
1543
|
-
z-index: ${
|
|
1543
|
+
z-index: ${zn.stickyHeaderZIndex};
|
|
1544
1544
|
position: sticky;
|
|
1545
1545
|
}
|
|
1546
1546
|
|
|
@@ -1558,8 +1558,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
.column-title-container ft-button {
|
|
1561
|
-
${
|
|
1562
|
-
${
|
|
1561
|
+
${$e(lr.backgroundColor,zn.headerBackground)};
|
|
1562
|
+
${$e(lr.color,zn.colorOnSurfaceHigh)};
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
1565
|
.column-title {
|
|
@@ -1588,31 +1588,31 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1588
1588
|
|
|
1589
1589
|
.cell {
|
|
1590
1590
|
padding: 1rem;
|
|
1591
|
-
border-left-color: ${
|
|
1591
|
+
border-left-color: ${zn.headerBackground};
|
|
1592
1592
|
border-left-style: solid;
|
|
1593
|
-
border-left-width: ${
|
|
1594
|
-
border-bottom: 1px solid ${
|
|
1593
|
+
border-left-width: ${zn.cellVerticalBorderWidth};
|
|
1594
|
+
border-bottom: 1px solid ${zn.headerBackground};
|
|
1595
1595
|
overflow-x: auto;
|
|
1596
1596
|
display: flex;
|
|
1597
1597
|
align-items: center;
|
|
1598
|
-
font-family: ${
|
|
1598
|
+
font-family: ${zn.contentFont};
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
1601
1601
|
/* Even is 2n+1 and odd is 2n because of the header */
|
|
1602
1602
|
.row:nth-child(2n) > .cell {
|
|
1603
|
-
background: ${
|
|
1603
|
+
background: ${zn.oddRowBackground};
|
|
1604
1604
|
}
|
|
1605
1605
|
|
|
1606
1606
|
.row:nth-child(2n + 1) > .cell {
|
|
1607
|
-
background: ${
|
|
1607
|
+
background: ${zn.evenRowBackground};
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
1610
|
.row:hover > .cell {
|
|
1611
|
-
background: ${
|
|
1611
|
+
background: ${zn.rowHoverBackground};
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
1614
|
.cell:last-of-type {
|
|
1615
|
-
border-right: 1px solid ${
|
|
1615
|
+
border-right: 1px solid ${zn.headerBackground};
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
.row:last-of-type .cell:first-of-type {
|
|
@@ -1626,7 +1626,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1626
1626
|
.hidden {
|
|
1627
1627
|
visibility: hidden;
|
|
1628
1628
|
}
|
|
1629
|
-
`;var
|
|
1629
|
+
`;var Zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Kn=t=>re`${t}`,Dn=(t,e)=>t-e;class Bn extends De{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return re`
|
|
1630
1630
|
<style>
|
|
1631
1631
|
.table {
|
|
1632
1632
|
grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
|
|
@@ -1638,12 +1638,12 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1638
1638
|
</div>
|
|
1639
1639
|
${no(t,((t,e)=>"row-"+e),((t,e)=>re`
|
|
1640
1640
|
<div class="row"
|
|
1641
|
-
@click=${()=>this.dispatchEvent(new
|
|
1641
|
+
@click=${()=>this.dispatchEvent(new Wn(t))}>
|
|
1642
1642
|
${no(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
|
|
1643
1643
|
</div>
|
|
1644
1644
|
`))}
|
|
1645
1645
|
</div>
|
|
1646
|
-
`}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:
|
|
1646
|
+
`}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Dn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return re`
|
|
1647
1647
|
<div class="${lo(o)}"
|
|
1648
1648
|
part="${this.columnPart("header-cell",e)}">
|
|
1649
1649
|
<div class="column-title-container">
|
|
@@ -1685,9 +1685,9 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1685
1685
|
`))}
|
|
1686
1686
|
</ft-select>
|
|
1687
1687
|
</div>
|
|
1688
|
-
`:ae}return ae}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:
|
|
1688
|
+
`:ae}return ae}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Kn;return re`
|
|
1689
1689
|
<div class="cell"
|
|
1690
1690
|
part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
|
|
1691
1691
|
${(t=>{const e=n(t,i);return"string"==typeof e?so(e):e})(this.getValue(t,o))}
|
|
1692
1692
|
</div>
|
|
1693
|
-
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}
|
|
1693
|
+
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Bn.styles=Fn,Zn([$({attribute:!1})],Bn.prototype,"data",void 0),Zn([$({attribute:!1})],Bn.prototype,"columns",void 0),Zn([$({attribute:!1})],Bn.prototype,"sort",void 0),Zn([$()],Bn.prototype,"stickyHeaders",void 0),Zn([N()],Bn.prototype,"currentSort",void 0),I("ft-filterable-table")(Bn),t.FtFilterableTable=Bn,t.FtFilterableTableCssVariables=zn,t.RowClickEvent=Wn,t.styles=Fn}({});
|