@fluid-topics/ft-text-field 1.0.62 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-text-field-suggestion.d.ts +1 -1
- package/build/ft-text-field.d.ts +1 -1
- package/build/ft-text-field.light.js +166 -166
- package/build/ft-text-field.min.js +285 -265
- package/package.json +8 -8
|
@@ -1,73 +1,88 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let s;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 l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);d(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(n.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)a.delete(t),g(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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=s;if(e)return s=void 0,e;const o=n.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?g(o,r):a.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.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 a=t.toLowerCase();if(e.has(a)){const t=this.getAttribute(a);i.call(this,a,r),o.call(this,a,t,r)}else i.call(this,a,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)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(o)},g=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),s=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&l.set(t,this),y.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){y.push(this),o.set.call(this,t),y.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)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const e=new Map;t.forEach(((t,o)=>{const 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 n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new a(e)}})}}try{window.customElements.define("custom-element",null)}catch(Oo){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)}}}class e{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}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
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||[]);h(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 p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),g(t,c,!0)}const u=this._whenDefinedPromises.get(t);return void 0!==u&&(u.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?g(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)}},h=(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)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},g=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},u=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=u.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.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){y.push(this),o.set.call(this,t),y.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(Ni){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)}}}class e{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}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2019 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)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(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2017 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,g=globalThis,u=g.trustedTypes,y=u?u.emptyScript:"",b=g.reactiveElementPolyfillSupport,m=(t,e)=>t,x={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}},O=(t,e)=>!l(t,e),v={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let N=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&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=p(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(m("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(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...f(t),...h(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(s(t))}else void 0!==t&&e.push(s(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(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.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:x).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:x;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??O)(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){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(g.reactiveElementVersions??=[]).push("2.0.2");
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:O},w=(t=S,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 C(t){return(e,o)=>"object"==typeof o?w(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)
|
|
33
32
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2017 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/}function $(t){return C({...t,state:!0,attribute:!1})}
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/;function R(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 E(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 E(0,0,{get(){return n(this)}})}}
|
|
48
47
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const d=window,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g=Symbol(),u=new WeakMap;let y=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==g)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(h&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=u.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&u.set(e,t))}return t}toString(){return this.cssText}};const b=t=>new y("string"==typeof t?t:t+"",void 0,g),m=(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 y(o,t,g)},x=(t,e)=>{h?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=d.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},O=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return b(e)})(t):t
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2021 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
+
*/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)};
|
|
54
52
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/
|
|
57
|
+
const k=globalThis,W=k.trustedTypes,L=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+z,F=`<${Z}>`,D=document,A=()=>D.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,P="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,_=/>/g,T=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,V=/"/g,Y=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=D.createTreeWalker(D,129);function et(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==L?L.createHTML(e):e}let ot=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,p]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=H;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===H?"!--"===l[1]?a=j:void 0!==l[1]?a=_:void 0!==l[2]?(Y.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=T):void 0!==l[3]&&(a=T):a===T?">"===l[0]?(a=r??H,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?T:'"'===l[3]?V:G):a===V||a===G?a=T:a===j||a===_?a=H:(a=T,r=void 0);const f=a===T&&t[e+1].startsWith("/>")?" ":"";n+=a===H?o+F:c>=0?(i.push(s),o.slice(0,c)+K+o.slice(c)+z+f):o+z+(-2===c?e:f)}return[et(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(e,o);if(this.el=t.createElement(c,i),tt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const e=p[a++],o=r.getAttribute(t).split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?at:"?"===i[1]?st:"@"===i[1]?lt:nt}),r.removeAttribute(t)}else t.startsWith(z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(Y.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()),tt.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===Z)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=D.createElement("template");return o.innerHTML=t,o}};function it(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=it(t,r._$AS(t,e.values),r,i)),e}let rt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=X,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=it(this,t,e),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(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!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.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=ot.createElement(et(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??D).importNode(e,!0);tt.currentNode=i;let r=tt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new rt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ct(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=tt.nextNode(),n++)}return tt.currentNode=D,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=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new ot(t)),e}T(e){B(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))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=X,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=X}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=it(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=it(this,i[o+a],e,a),s===q&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===X?t=X:t!==X&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},at=class extends nt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},st=class extends nt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},lt=class extends nt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=it(this,t,e,0)??X)===q)return;const o=this._$AH,i=t===X&&o!==X||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==X&&(o===X||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)}},ct=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){it(this,t)}};const pt=k.litHtmlPolyfillSupport;pt?.(ot,rt),(k.litHtmlVersions??=[]).push("3.1.0");
|
|
59
58
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
* @license
|
|
60
|
+
* Copyright 2019 Google LLC
|
|
61
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
|
+
*/
|
|
63
|
+
const ft=globalThis,ht=ft.ShadowRoot&&(void 0===ft.ShadyCSS||ft.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),gt=new WeakMap;let ut=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==dt)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(ht&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=gt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&>.set(e,t))}return t}toString(){return this.cssText}};const yt=t=>new ut("string"==typeof t?t:t+"",void 0,dt),bt=(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 ut(o,t,dt)},mt=ht?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return yt(e)})(t):t
|
|
65
64
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
var ht,gt;let ut=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const a=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let n=a._$litPart$;if(void 0===n){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;a._$litPart$=n=new at(e.insertBefore(B(),t),t,void 0,null!=o?o:{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}};ut.finalized=!0,ut._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:ut});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:ut}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2");const bt=t=>"string"==typeof t?b(t):t;class mt{static create(t,e,o,i){const r=t=>bt(null!=t?t:i),a=m`var(${bt(t)}, ${r(i)})`;return a.name=t,a.description=t,a.category=o,a.defaultValue=i,a.defaultCssValue=r,a.get=e=>m`var(${bt(t)}, ${r(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),a=m`var(${bt(t)}, ${r(i)})`;return a.name=t,a.description=e,a.category=o.category,a.fallbackVariable=o,a.defaultValue=i,a.defaultCssValue=r,a.get=e=>m`var(${bt(t)}, ${r(e)})`,a.breadcrumb=()=>[o.name,...o.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),a}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):bt(null!=e?e:t.lastResortDefaultValue()),i=m`var(${bt(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=>m`var(${bt(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function xt(t,e){return bt(`${t.name}: ${e}`)}const Ot={colorWhite:mt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mt.create("--ft-opacity-0","","NUMBER","0"),opacity8:mt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mt.create("--ft-opacity-80","","NUMBER","0.8")},vt={display:{fontFamily:mt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:mt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:mt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:mt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:mt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:mt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:mt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:mt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:mt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:mt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:mt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:mt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:mt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:mt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:mt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:mt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:mt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:mt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:mt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:mt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:mt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:mt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:mt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:mt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:mt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Nt={backgroundActionPrimary:mt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:mt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:mt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:mt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:mt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:mt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:mt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:mt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:mt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:mt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:mt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:mt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:mt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:mt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:mt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:mt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:mt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:mt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:mt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:mt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:mt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:mt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:mt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:mt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:mt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:mt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:mt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:mt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:mt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:mt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:mt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:mt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:mt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:mt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};mt.create("--ft-button-large-height","","SIZE","40px"),mt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-button-large-gap","",Ot.spacing2),mt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-large-icon-size","",Ot.iconSize3),mt.create("--ft-button-large-border-width","","SIZE","1px"),mt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-large-icon-only-width","","SIZE","40px"),mt.create("--ft-button-small-height","","SIZE","30px"),mt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),mt.extend("--ft-button-small-gap","",Ot.spacing2),mt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),mt.extend("--ft-button-small-icon-size","",Ot.iconSize2),mt.create("--ft-button-small-border-width","","SIZE","1px"),mt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),mt.create("--ft-button-small-icon-only-width","","SIZE","30px"),mt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),mt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),mt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),mt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),mt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),mt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),mt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),mt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),mt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),mt.extend("--ft-tabs-label-gap","",Ot.spacing1),mt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-group-gap","",Ot.spacing1),mt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),mt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),mt.create("--ft-switch-group-border-radius","","SIZE","6px"),mt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),mt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),mt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),mt.create("--ft-switch-focus-outline-width","","SIZE","2px"),mt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),mt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),mt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),mt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),mt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),mt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),mt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),mt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),mt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),mt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),mt.extend("--ft-chart-4-light","",Ot.colorCyan50),mt.extend("--ft-chart-4-base","",Ot.colorCyan100),mt.extend("--ft-chart-5-light","",Ot.colorRed40),mt.extend("--ft-chart-5-base","",Ot.colorRed60),mt.extend("--ft-chart-6-light","",Ot.colorGreen40),mt.extend("--ft-chart-6-base","",Ot.colorGreen70),mt.extend("--ft-chart-7-light","",Ot.colorOrange70),mt.extend("--ft-chart-7-base","",Ot.colorOrange100),mt.extend("--ft-chart-8-light","",Ot.colorAvocado70),mt.extend("--ft-chart-8-base","",Ot.colorAvocado200),mt.extend("--ft-chart-9-light","",Ot.colorBrown50),mt.extend("--ft-chart-9-base","",Ot.colorBrown200),mt.extend("--ft-chart-10-light","",Ot.colorGray50),mt.extend("--ft-chart-10-base","",Ot.colorGray80),mt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),mt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),mt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),mt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),mt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),mt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),mt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),mt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),mt.extend("--ft-chip-large-gap","",Ot.spacing1),mt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-large-border-width","","SIZE","1px"),mt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),mt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),mt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),mt.extend("--ft-chip-medium-gap","",Ot.spacing1),mt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-medium-border-width","","SIZE","1px"),mt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),mt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),mt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),mt.extend("--ft-chip-small-gap","",Ot.spacing1),mt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),mt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),mt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),mt.create("--ft-chip-small-border-width","","SIZE","1px"),mt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),mt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),mt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),mt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),mt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),mt.create("--ft-notice-border-width","","SIZE","1px"),mt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),mt.extend("--ft-notice-vertical-padding","",Ot.spacing1),mt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),mt.extend("--ft-notice-gap","",Ot.spacing2),mt.extend("--ft-notice-icon-size","",Ot.iconSize3),mt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),mt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),mt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),mt.extend("--ft-checkbox-gap","",Ot.spacing3),mt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),mt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.extend("--ft-toggle-gap","",Ot.spacing3),mt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),mt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),mt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),mt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),mt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),mt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),mt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),mt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),mt.create("--ft-radio-focus-outline-width","","SIZE","2px"),mt.extend("--ft-radio-gap","",Ot.spacing3),mt.extend("--ft-notification-icon-size","",Ot.iconSize4),mt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),mt.extend("--ft-notification-vertical-padding","",Ot.spacing4),mt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),mt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),mt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),mt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),mt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),mt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),mt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),mt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),mt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),mt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),mt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),mt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),mt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),mt.create("--ft-notification-border-width","","SIZE","1px"),mt.extend("--ft-notification-gap-leading","",Ot.spacing2),mt.extend("--ft-notification-gap-trailing","",Ot.spacing8);const St={colorPrimary:mt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.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:mt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends ut{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 x(o,t.elementStyles),o}}var Ct,$t=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const Rt=Symbol("constructorPrototype"),Et=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends wt{constructor(){super(),this[Ct]=new e(5),this[Et]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Et]&&Object.setPrototypeOf(this,this[Rt])}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[Ut].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,a,n;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.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!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...o).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ct=Ut,$t([i()],It.prototype,"exportpartsPrefix",void 0),$t([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({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)=>!p(t,e),...null!=e?e:{}})}([])],It.prototype,"exportpartsPrefixes",void 0),$t([i()],It.prototype,"customStylesheet",void 0),m`
|
|
65
|
+
* @license
|
|
66
|
+
* Copyright 2017 Google LLC
|
|
67
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
+
*/,{is:xt,defineProperty:Ot,getOwnPropertyDescriptor:vt,getOwnPropertyNames:Nt,getOwnPropertySymbols:St,getPrototypeOf:wt}=Object,Ct=globalThis,$t=Ct.trustedTypes,Et=$t?$t.emptyScript:"",Rt=Ct.reactiveElementPolyfillSupport,Ut=(t,e)=>t,It={toAttribute(t,e){switch(e){case Boolean:t=t?Et:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},kt=(t,e)=>!xt(t,e),Wt={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:kt};Symbol.metadata??=Symbol("metadata"),Ct.litPropertyMetadata??=new WeakMap;class Lt 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=Wt){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&&Ot(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=vt(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)??Wt}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;const t=wt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){const t=this.properties,e=[...Nt(t),...St(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(mt(t))}else void 0!==t&&e.push(mt(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(ht)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=ft.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:It).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:It;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??kt)(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){}}Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ut("elementProperties")]=new Map,Lt[Ut("finalized")]=new Map,Rt?.({ReactiveElement:Lt}),(Ct.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
|
+
/**
|
|
70
|
+
* @license
|
|
71
|
+
* Copyright 2017 Google LLC
|
|
72
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
+
*/
|
|
74
|
+
const Kt=globalThis,zt=Kt.trustedTypes,Zt=zt?zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Dt,Mt=`<${At}>`,Bt=document,Pt=()=>Bt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,_t="[ \t\n\f\r]",Tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Vt=/>/g,Yt=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,qt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,Qt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),te=Symbol.for("lit-noChange"),ee=Symbol.for("lit-nothing"),oe=new WeakMap,ie=Bt.createTreeWalker(Bt,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(e):e}const ne=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Tt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===Tt?"!--"===l[1]?a=Gt:void 0!==l[1]?a=Vt:void 0!==l[2]?(Xt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Yt):void 0!==l[3]&&(a=Yt):a===Yt?">"===l[0]?(a=r??Tt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Yt:'"'===l[3]?qt:Jt):a===qt||a===Jt?a=Yt:a===Gt||a===Vt?a=Tt:(a=Yt,r=void 0);const f=a===Yt&&t[e+1].startsWith("/>")?" ":"";n+=a===Tt?o+Mt:c>=0?(i.push(s),o.slice(0,c)+Ft+o.slice(c)+Dt+f):o+Dt+(-2===c?e:f)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class ae{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]=ne(t,e);if(this.el=ae.createElement(l,o),ie.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ie.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ft)){const e=c[n++],o=i.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?pe:"?"===a[1]?fe:"@"===a[1]?he:ce}),i.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Xt.test(i.tagName)){const t=i.textContent.split(Dt),e=t.length-1;if(e>0){i.textContent=zt?zt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Pt()),ie.nextNode(),s.push({type:2,index:++r});i.append(t[e],Pt())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Dt,t+1));)s.push({type:7,index:r}),t+=Dt.length-1}r++}}static createElement(t,e){const o=Bt.createElement("template");return o.innerHTML=t,o}}function se(t,e,o=t,i){if(e===te)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Ht(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=se(t,r._$AS(t,e.values),r,i)),e}class le{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ee,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=se(this,t,e),Ht(t)?t===ee||null==t||""===t?(this._$AH!==ee&&this._$AR(),this._$AH=ee):t!==this._$AH&&t!==te&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>jt(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!==ee&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.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=ae.createElement(re(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??Bt).importNode(e,!0);ie.currentNode=i;let r=ie.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new de(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ie.nextNode(),n++)}return ie.currentNode=Bt,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=oe.get(t.strings);return void 0===e&&oe.set(t.strings,e=new ae(t)),e}T(t){jt(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 le(this.k(Pt()),this.k(Pt()),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 ce{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ee,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=ee}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=se(this,t,e,0),n=!Ht(t)||t!==this._$AH&&t!==te,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=se(this,i[o+a],e,a),s===te&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===ee?t=ee:t!==ee&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ee?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class pe extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ee?void 0:t}}class fe extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ee)}}class he extends ce{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=se(this,t,e,0)??ee)===te)return;const o=this._$AH,i=t===ee&&o!==ee||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ee&&(o===ee||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 de{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){se(this,t)}}const ge=Kt.litHtmlPolyfillSupport;ge?.(ae,le),(Kt.litHtmlVersions??=[]).push("3.1.0");
|
|
75
|
+
/**
|
|
76
|
+
* @license
|
|
77
|
+
* Copyright 2017 Google LLC
|
|
78
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
+
*/
|
|
80
|
+
class ue extends Lt{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 le(e.insertBefore(Pt(),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 te}}ue._$litElement$=!0,ue.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ue});const ye=globalThis.litElementPolyfillSupport;ye?.({LitElement:ue}),(globalThis.litElementVersions??=[]).push("4.0.2");const be=t=>"string"==typeof t?yt(t):t;class me{static create(t,e,o,i){const r=t=>be(null!=t?t:i),n=bt`var(${be(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>bt`var(${be(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=bt`var(${be(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=>bt`var(${be(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):be(null!=e?e:t.lastResortDefaultValue()),i=bt`var(${be(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=>bt`var(${be(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function xe(t,e){return be(`${t.name}: ${e}`)}const Oe={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8")},ve={display:{fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ne={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oe.colorBrand0),backgroundErrorPrimary:me.extend("--ft-background-error-primary","Used as background of error components.",Oe.colorRed0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oe.colorRed10),backgroundInfoPrimary:me.extend("--ft-background-info-primary","Used as background of information components.",Oe.colorCyan200),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oe.colorCyan10),backgroundWarningPrimary:me.extend("--ft-background-warning-primary","Used as background of warning components.",Oe.colorOrange300),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oe.colorOrange10),backgroundSuccessPrimary:me.extend("--ft-background-success-primary","Used as background of success components.",Oe.colorGreen200),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oe.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",Oe.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oe.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oe.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oe.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oe.colorOrange300),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oe.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oe.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",Oe.colorRed0),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oe.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",Oe.colorCyan0),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",Oe.colorGreen0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oe.colorGreen200),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",Oe.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oe.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oe.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oe.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",Oe.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oe.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for warning components.",Oe.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success components.",Oe.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for error components.",Oe.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for information components.",Oe.colorCyan30),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oe.colorGray30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",Oe.colorGray50),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oe.colorGray80)};me.create("--ft-button-large-height","","SIZE","40px"),me.extend("--ft-button-large-horizontal-padding","",Oe.spacing4),me.extend("--ft-button-large-gap","",Oe.spacing2),me.extend("--ft-button-large-border-radius","",Oe.borderRadiusS),me.extend("--ft-button-large-icon-size","",Oe.iconSize3),me.create("--ft-button-large-border-width","","SIZE","1px"),me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),me.create("--ft-button-large-icon-only-width","","SIZE","40px"),me.create("--ft-button-small-height","","SIZE","30px"),me.extend("--ft-button-small-horizontal-padding","",Oe.spacing3),me.extend("--ft-button-small-gap","",Oe.spacing2),me.extend("--ft-button-small-border-radius","",Oe.borderRadiusS),me.extend("--ft-button-small-icon-size","",Oe.iconSize2),me.create("--ft-button-small-border-width","","SIZE","1px"),me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),me.create("--ft-button-small-icon-only-width","","SIZE","30px"),me.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),me.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),me.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),me.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),me.extend("--ft-button-primary-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-button-primary-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-button-primary-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-button-primary-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),me.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),me.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),me.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),me.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oe.opacity8),me.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oe.opacity8),me.extend("--ft-button-tertiary-state-layer-opacity-active","",Oe.opacity16),me.extend("--ft-button-tertiary-component-opacity-disabled","",Oe.opacity40),me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),me.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),me.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),me.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),me.extend("--ft-button-secondary-state-layer-opacity-hover","",Oe.opacity8),me.extend("--ft-button-secondary-state-layer-opacity-focus","",Oe.opacity8),me.extend("--ft-button-secondary-state-layer-opacity-active","",Oe.opacity16),me.extend("--ft-button-secondary-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),me.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),me.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),me.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),me.extend("--ft-button-neutral-state-layer-opacity-hover","",Oe.opacity8),me.extend("--ft-button-neutral-state-layer-opacity-focus","",Oe.opacity8),me.extend("--ft-button-neutral-state-layer-opacity-active","",Oe.opacity16),me.extend("--ft-button-neutral-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-tabs-top-left-border-radius","",Oe.borderRadiusS),me.extend("--ft-tabs-top-right-border-radius","",Oe.borderRadiusS),me.extend("--ft-tabs-label-horizontal-padding","",Oe.spacing4),me.extend("--ft-tabs-label-vertical-padding","",Oe.spacing3),me.extend("--ft-tabs-label-gap","",Oe.spacing1),me.extend("--ft-switch-group-horizontal-padding","",Oe.spacing1),me.extend("--ft-switch-group-vertical-padding","",Oe.spacing1),me.extend("--ft-switch-group-gap","",Oe.spacing1),me.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),me.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),me.create("--ft-switch-group-border-radius","","SIZE","6px"),me.extend("--ft-switch-label-horizontal-padding","",Oe.spacing2),me.extend("--ft-switch-label-vertical-padding","",Oe.spacing1),me.extend("--ft-switch-icon-horizontal-padding","",Oe.spacing1),me.extend("--ft-switch-icon-vertical-padding","",Oe.spacing1),me.create("--ft-switch-focus-outline-width","","SIZE","2px"),me.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),me.extend("--ft-switch-option-border-radius","",Oe.borderRadiusS),me.extend("--ft-switch-off-state-layer-opacity-hover","",Oe.opacity8),me.extend("--ft-switch-off-state-layer-opacity-focus","",Oe.opacity8),me.extend("--ft-switch-off-state-layer-opacity-active","",Oe.opacity16),me.extend("--ft-switch-off-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),me.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),me.extend("--ft-chart-1-light","for area color charts",Oe.colorBrand40),me.extend("--ft-chart-1-base","for line charts",Oe.colorBrand0),me.extend("--ft-chart-2-light","for area color charts",Oe.colorYellow60),me.extend("--ft-chart-2-base","for line charts",Oe.colorYellow100),me.extend("--ft-chart-3-light","",Oe.colorUltramarine40),me.extend("--ft-chart-3-base","",Oe.colorUltramarine70),me.extend("--ft-chart-4-light","",Oe.colorCyan50),me.extend("--ft-chart-4-base","",Oe.colorCyan100),me.extend("--ft-chart-5-light","",Oe.colorRed40),me.extend("--ft-chart-5-base","",Oe.colorRed60),me.extend("--ft-chart-6-light","",Oe.colorGreen40),me.extend("--ft-chart-6-base","",Oe.colorGreen70),me.extend("--ft-chart-7-light","",Oe.colorOrange70),me.extend("--ft-chart-7-base","",Oe.colorOrange100),me.extend("--ft-chart-8-light","",Oe.colorAvocado70),me.extend("--ft-chart-8-base","",Oe.colorAvocado200),me.extend("--ft-chart-9-light","",Oe.colorBrown50),me.extend("--ft-chart-9-base","",Oe.colorBrown200),me.extend("--ft-chart-10-light","",Oe.colorGray50),me.extend("--ft-chart-10-base","",Oe.colorGray80),me.extend("--ft-chart-monochrome-10","",Oe.colorBrand10),me.extend("--ft-chart-monochrome-20","",Oe.colorBrand20),me.extend("--ft-chart-monochrome-30","",Oe.colorBrand40),me.extend("--ft-chart-monochrome-40","",Oe.colorBrand60),me.extend("--ft-chart-monochrome-50","",Oe.colorBrand0),me.extend("--ft-chart-monochrome-60","",Oe.colorBrand200),me.extend("--ft-chip-large-horizontal-padding","",Oe.spacing4),me.extend("--ft-chip-large-vertical-padding","",Oe.spacing2),me.extend("--ft-chip-large-gap","",Oe.spacing1),me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),me.extend("--ft-chip-large-border-radius","",Oe.borderRadiusPill),me.create("--ft-chip-large-border-width","","SIZE","1px"),me.extend("--ft-chip-large-icon-size","",Oe.iconSize3),me.extend("--ft-chip-medium-horizontal-padding","",Oe.spacing3),me.extend("--ft-chip-medium-vertical-padding","",Oe.spacing1),me.extend("--ft-chip-medium-gap","",Oe.spacing1),me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),me.extend("--ft-chip-medium-border-radius","",Oe.borderRadiusPill),me.create("--ft-chip-medium-border-width","","SIZE","1px"),me.extend("--ft-chip-medium-icon-size","",Oe.iconSize2),me.extend("--ft-chip-small-horizontal-padding","",Oe.spacing2),me.extend("--ft-chip-small-vertical-padding","",Oe.spacing05),me.extend("--ft-chip-small-gap","",Oe.spacing1),me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),me.extend("--ft-chip-small-border-radius","",Oe.borderRadiusPill),me.create("--ft-chip-small-border-width","","SIZE","1px"),me.extend("--ft-chip-small-icon-size","",Oe.iconSize1),me.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),me.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),me.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),me.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),me.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),me.extend("--ft-chip-info-border-color","",Ne.borderInfoPrimary),me.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),me.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),me.extend("--ft-chip-success-border-color","",Ne.borderSuccessPrimary),me.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),me.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),me.extend("--ft-chip-warning-border-color","",Ne.borderWarningPrimary),me.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),me.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),me.extend("--ft-chip-error-border-color","",Ne.borderErrorPrimary),me.create("--ft-notice-border-width","","SIZE","1px"),me.extend("--ft-notice-horizontal-padding","",Oe.spacing2),me.extend("--ft-notice-vertical-padding","",Oe.spacing1),me.extend("--ft-notice-border-radius","",Oe.borderRadiusS),me.extend("--ft-notice-gap","",Oe.spacing2),me.extend("--ft-notice-icon-size","",Oe.iconSize3),me.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),me.extend("--ft-notice-info-border-color","",Ne.borderInfoPrimary),me.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),me.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),me.extend("--ft-notice-warning-border-color","",Ne.borderWarningPrimary),me.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),me.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),me.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),me.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),me.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),me.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-checkbox-checked-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-checkbox-unchecked-border-color","",Oe.colorGray80),me.extend("--ft-checkbox-unchecked-state-layer-color","",Oe.colorGray80),me.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),me.extend("--ft-checkbox-gap","",Oe.spacing3),me.extend("--ft-toggle-off-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-toggle-off-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-toggle-off-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-toggle-off-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),me.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),me.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),me.extend("--ft-toggle-on-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-toggle-on-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-toggle-on-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-toggle-on-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),me.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),me.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),me.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),me.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),me.extend("--ft-toggle-gap","",Oe.spacing3),me.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),me.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),me.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),me.extend("--ft-radio-selected-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-radio-selected-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-radio-selected-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-radio-selected-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-radio-unselected-state-layer-color","",Oe.colorGray80),me.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oe.opacity16),me.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oe.opacity16),me.extend("--ft-radio-unselected-state-layer-opacity-active","",Oe.opacity24),me.extend("--ft-radio-unselected-component-opacity-disabled","",Oe.opacity40),me.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),me.create("--ft-radio-focus-outline-width","","SIZE","2px"),me.extend("--ft-radio-gap","",Oe.spacing3),me.extend("--ft-notification-icon-size","",Oe.iconSize4),me.extend("--ft-notification-horizontal-padding","",Oe.spacing4),me.extend("--ft-notification-vertical-padding","",Oe.spacing4),me.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),me.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),me.extend("--ft-notification-info-border-color","",Ne.borderInfoPrimary),me.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),me.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),me.extend("--ft-notification-success-border-color","",Ne.borderSuccessPrimary),me.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),me.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),me.extend("--ft-notification-warning-border-color","",Ne.borderWarningPrimary),me.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),me.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),me.extend("--ft-notification-error-border-color","",Ne.borderErrorPrimary),me.extend("--ft-notification-border-radius","",Oe.borderRadiusPill),me.create("--ft-notification-border-width","","SIZE","1px"),me.extend("--ft-notification-gap-leading","",Oe.spacing2),me.extend("--ft-notification-gap-trailing","",Oe.spacing8);const Se={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},we=window,Ce=we.ShadowRoot&&(void 0===we.ShadyCSS||we.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
81
|
+
/**
|
|
82
|
+
* @license
|
|
83
|
+
* Copyright 2019 Google LLC
|
|
84
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
+
*/class $e extends ue{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)=>{Ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=we.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ee,Re=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 Ue=Symbol("constructorPrototype"),Ie=Symbol("constructorName"),ke=Symbol("exportpartsDebouncer");class We extends $e{constructor(){super(),this[Ee]=new e(5),this[Ie]=this.constructor.name,this[Ue]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ie]&&Object.setPrototypeOf(this,this[Ue])}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 p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ee=ke,Re([C()],We.prototype,"exportpartsPrefix",void 0),Re([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return C({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:{}})}([])],We.prototype,"exportpartsPrefixes",void 0),Re([C()],We.prototype,"customStylesheet",void 0),bt`
|
|
71
86
|
.ft-no-text-select {
|
|
72
87
|
-webkit-touch-callout: none;
|
|
73
88
|
-webkit-user-select: none;
|
|
@@ -76,7 +91,7 @@ var ht,gt;let ut=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
76
91
|
-ms-user-select: none;
|
|
77
92
|
user-select: none;
|
|
78
93
|
}
|
|
79
|
-
`,
|
|
94
|
+
`,bt`
|
|
80
95
|
.ft-word-wrap {
|
|
81
96
|
white-space: normal;
|
|
82
97
|
word-wrap: break-word;
|
|
@@ -88,7 +103,7 @@ var ht,gt;let ut=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
88
103
|
-webkit-hyphens: auto;
|
|
89
104
|
hyphens: auto
|
|
90
105
|
}
|
|
91
|
-
`,
|
|
106
|
+
`,bt`
|
|
92
107
|
.ft-safari-ellipsis-fix {
|
|
93
108
|
margin-right: 0;
|
|
94
109
|
|
|
@@ -99,119 +114,119 @@ var ht,gt;let ut=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
99
114
|
display: inline-block;
|
|
100
115
|
width: 0;
|
|
101
116
|
}
|
|
102
|
-
`,window.ftReduxStores||(window.ftReduxStores={});const
|
|
117
|
+
`,window.ftReduxStores||(window.ftReduxStores={});const Le=Symbol("elementInternals");var Ke,ze;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(ze=null===(Ke=window.safari)||void 0===Ke?void 0:Ke.pushNotification)||void 0===ze||ze.toString());
|
|
103
118
|
/**
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
const
|
|
119
|
+
* @license
|
|
120
|
+
* Copyright 2017 Google LLC
|
|
121
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
122
|
+
*/
|
|
123
|
+
const Ze=1,Fe=2,De=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
109
124
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
125
|
+
* @license
|
|
126
|
+
* Copyright 2018 Google LLC
|
|
127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
128
|
+
*/const Me=De(class extends Ae{constructor(t){if(super(t),t.type!==Ze||"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}}),Be=Symbol.for(""),Pe=t=>{if(t?.r===Be)return t?._$litStatic$},He=t=>({_$litStatic$:t,r:Be}),je=new Map,_e=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Pe(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=je.get(t))&&(a.raw=a,je.set(t,e=a)),o=s}return t(e,...o)})(J);
|
|
114
129
|
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
130
|
+
* @license
|
|
131
|
+
* Copyright 2018 Google LLC
|
|
132
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
|
+
*/var Te;!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"}(Te||(Te={}));const Ge=me.extend("--ft-typography-font-family","",Se.titleFont),Ve=me.extend("--ft-typography-font-family","",Se.contentFont),Ye={fontFamily:Ve,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Je=me.extend("--ft-typography-title-font-family","",Ge),qe=me.extend("--ft-typography-title-font-size","",Ye.fontSize,"20px"),Xe=me.extend("--ft-typography-title-font-weight","",Ye.fontWeight,"normal"),Qe=me.extend("--ft-typography-title-letter-spacing","",Ye.letterSpacing,"0.15px"),to=me.extend("--ft-typography-title-line-height","",Ye.lineHeight,"1.2"),eo=me.extend("--ft-typography-title-text-transform","",Ye.textTransform,"inherit"),oo=me.extend("--ft-typography-title-dense-font-family","",Ge),io=me.extend("--ft-typography-title-dense-font-size","",Ye.fontSize,"14px"),ro=me.extend("--ft-typography-title-dense-font-weight","",Ye.fontWeight,"normal"),no=me.extend("--ft-typography-title-dense-letter-spacing","",Ye.letterSpacing,"0.105px"),ao=me.extend("--ft-typography-title-dense-line-height","",Ye.lineHeight,"1.7"),so=me.extend("--ft-typography-title-dense-text-transform","",Ye.textTransform,"inherit"),lo=me.extend("--ft-typography-subtitle1-font-family","",Ve),co=me.extend("--ft-typography-subtitle1-font-size","",Ye.fontSize,"16px"),po=me.extend("--ft-typography-subtitle1-font-weight","",Ye.fontWeight,"600"),fo=me.extend("--ft-typography-subtitle1-letter-spacing","",Ye.letterSpacing,"0.144px"),ho=me.extend("--ft-typography-subtitle1-line-height","",Ye.lineHeight,"1.5"),go=me.extend("--ft-typography-subtitle1-text-transform","",Ye.textTransform,"inherit"),uo=me.extend("--ft-typography-subtitle2-font-family","",Ve),yo=me.extend("--ft-typography-subtitle2-font-size","",Ye.fontSize,"14px"),bo=me.extend("--ft-typography-subtitle2-font-weight","",Ye.fontWeight,"normal"),mo=me.extend("--ft-typography-subtitle2-letter-spacing","",Ye.letterSpacing,"0.098px"),xo=me.extend("--ft-typography-subtitle2-line-height","",Ye.lineHeight,"1.7"),Oo=me.extend("--ft-typography-subtitle2-text-transform","",Ye.textTransform,"inherit"),vo={fontFamily:me.extend("--ft-typography-body1-font-family","",Ve),fontSize:me.extend("--ft-typography-body1-font-size","",Ye.fontSize,"16px"),fontWeight:me.extend("--ft-typography-body1-font-weight","",Ye.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-body1-letter-spacing","",Ye.letterSpacing,"0.496px"),lineHeight:me.extend("--ft-typography-body1-line-height","",Ye.lineHeight,"1.5"),textTransform:me.extend("--ft-typography-body1-text-transform","",Ye.textTransform,"inherit")},No=me.extend("--ft-typography-body2-font-family","",Ve),So=me.extend("--ft-typography-body2-font-size","",Ye.fontSize,"14px"),wo=me.extend("--ft-typography-body2-font-weight","",Ye.fontWeight,"normal"),Co=me.extend("--ft-typography-body2-letter-spacing","",Ye.letterSpacing,"0.252px"),$o=me.extend("--ft-typography-body2-line-height","",Ye.lineHeight,"1.4"),Eo=me.extend("--ft-typography-body2-text-transform","",Ye.textTransform,"inherit"),Ro={fontFamily:me.extend("--ft-typography-caption-font-family","",Ve),fontSize:me.extend("--ft-typography-caption-font-size","",Ye.fontSize,"12px"),fontWeight:me.extend("--ft-typography-caption-font-weight","",Ye.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-caption-letter-spacing","",Ye.letterSpacing,"0.396px"),lineHeight:me.extend("--ft-typography-caption-line-height","",Ye.lineHeight,"1.33"),textTransform:me.extend("--ft-typography-caption-text-transform","",Ye.textTransform,"inherit")},Uo=me.extend("--ft-typography-breadcrumb-font-family","",Ve),Io=me.extend("--ft-typography-breadcrumb-font-size","",Ye.fontSize,"10px"),ko=me.extend("--ft-typography-breadcrumb-font-weight","",Ye.fontWeight,"normal"),Wo=me.extend("--ft-typography-breadcrumb-letter-spacing","",Ye.letterSpacing,"0.33px"),Lo=me.extend("--ft-typography-breadcrumb-line-height","",Ye.lineHeight,"1.6"),Ko=me.extend("--ft-typography-breadcrumb-text-transform","",Ye.textTransform,"inherit"),zo=me.extend("--ft-typography-overline-font-family","",Ve),Zo=me.extend("--ft-typography-overline-font-size","",Ye.fontSize,"10px"),Fo=me.extend("--ft-typography-overline-font-weight","",Ye.fontWeight,"normal"),Do=me.extend("--ft-typography-overline-letter-spacing","",Ye.letterSpacing,"1.5px"),Ao=me.extend("--ft-typography-overline-line-height","",Ye.lineHeight,"1.6"),Mo=me.extend("--ft-typography-overline-text-transform","",Ye.textTransform,"uppercase"),Bo=me.extend("--ft-typography-button-font-family","",Ve),Po=me.extend("--ft-typography-button-font-size","",Ye.fontSize,"14px"),Ho=me.extend("--ft-typography-button-font-weight","",Ye.fontWeight,"600"),jo=me.extend("--ft-typography-button-letter-spacing","",Ye.letterSpacing,"1.246px"),_o=me.extend("--ft-typography-button-line-height","",Ye.lineHeight,"1.15"),To=me.extend("--ft-typography-button-text-transform","",Ye.textTransform,"uppercase"),Go=bt`
|
|
119
134
|
.ft-typography--title {
|
|
120
|
-
font-family: ${
|
|
121
|
-
font-size: ${
|
|
122
|
-
font-weight: ${
|
|
123
|
-
letter-spacing: ${
|
|
124
|
-
line-height: ${
|
|
125
|
-
text-transform: ${
|
|
126
|
-
}
|
|
127
|
-
`,
|
|
135
|
+
font-family: ${Je};
|
|
136
|
+
font-size: ${qe};
|
|
137
|
+
font-weight: ${Xe};
|
|
138
|
+
letter-spacing: ${Qe};
|
|
139
|
+
line-height: ${to};
|
|
140
|
+
text-transform: ${eo};
|
|
141
|
+
}
|
|
142
|
+
`,Vo=bt`
|
|
128
143
|
.ft-typography--title-dense {
|
|
129
|
-
font-family: ${
|
|
130
|
-
font-size: ${
|
|
131
|
-
font-weight: ${
|
|
132
|
-
letter-spacing: ${
|
|
133
|
-
line-height: ${
|
|
134
|
-
text-transform: ${
|
|
135
|
-
}
|
|
136
|
-
`,
|
|
144
|
+
font-family: ${oo};
|
|
145
|
+
font-size: ${io};
|
|
146
|
+
font-weight: ${ro};
|
|
147
|
+
letter-spacing: ${no};
|
|
148
|
+
line-height: ${ao};
|
|
149
|
+
text-transform: ${so};
|
|
150
|
+
}
|
|
151
|
+
`,Yo=bt`
|
|
137
152
|
.ft-typography--subtitle1 {
|
|
138
|
-
font-family: ${
|
|
139
|
-
font-size: ${
|
|
140
|
-
font-weight: ${
|
|
141
|
-
letter-spacing: ${
|
|
142
|
-
line-height: ${
|
|
143
|
-
text-transform: ${
|
|
144
|
-
}
|
|
145
|
-
`,
|
|
153
|
+
font-family: ${lo};
|
|
154
|
+
font-size: ${co};
|
|
155
|
+
font-weight: ${po};
|
|
156
|
+
letter-spacing: ${fo};
|
|
157
|
+
line-height: ${ho};
|
|
158
|
+
text-transform: ${go};
|
|
159
|
+
}
|
|
160
|
+
`,Jo=bt`
|
|
146
161
|
.ft-typography--subtitle2 {
|
|
147
|
-
font-family: ${
|
|
148
|
-
font-size: ${
|
|
149
|
-
font-weight: ${
|
|
150
|
-
letter-spacing: ${
|
|
151
|
-
line-height: ${
|
|
152
|
-
text-transform: ${
|
|
162
|
+
font-family: ${uo};
|
|
163
|
+
font-size: ${yo};
|
|
164
|
+
font-weight: ${bo};
|
|
165
|
+
letter-spacing: ${mo};
|
|
166
|
+
line-height: ${xo};
|
|
167
|
+
text-transform: ${Oo};
|
|
153
168
|
}
|
|
154
169
|
|
|
155
|
-
`,
|
|
170
|
+
`,qo=bt`
|
|
156
171
|
.ft-typography--body1 {
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
160
|
-
letter-spacing: ${
|
|
161
|
-
line-height: ${
|
|
162
|
-
text-transform: ${
|
|
163
|
-
}
|
|
164
|
-
`,
|
|
172
|
+
font-family: ${vo.fontFamily};
|
|
173
|
+
font-size: ${vo.fontSize};
|
|
174
|
+
font-weight: ${vo.fontWeight};
|
|
175
|
+
letter-spacing: ${vo.letterSpacing};
|
|
176
|
+
line-height: ${vo.lineHeight};
|
|
177
|
+
text-transform: ${vo.textTransform};
|
|
178
|
+
}
|
|
179
|
+
`,Xo=bt`
|
|
165
180
|
.ft-typography--body2 {
|
|
166
|
-
font-family: ${
|
|
167
|
-
font-size: ${
|
|
168
|
-
font-weight: ${
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
171
|
-
text-transform: ${
|
|
172
|
-
}
|
|
173
|
-
`,
|
|
181
|
+
font-family: ${No};
|
|
182
|
+
font-size: ${So};
|
|
183
|
+
font-weight: ${wo};
|
|
184
|
+
letter-spacing: ${Co};
|
|
185
|
+
line-height: ${$o};
|
|
186
|
+
text-transform: ${Eo};
|
|
187
|
+
}
|
|
188
|
+
`,Qo=bt`
|
|
174
189
|
.ft-typography--caption {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
181
|
-
}
|
|
182
|
-
`,
|
|
190
|
+
font-family: ${Ro.fontFamily};
|
|
191
|
+
font-size: ${Ro.fontSize};
|
|
192
|
+
font-weight: ${Ro.fontWeight};
|
|
193
|
+
letter-spacing: ${Ro.letterSpacing};
|
|
194
|
+
line-height: ${Ro.lineHeight};
|
|
195
|
+
text-transform: ${Ro.textTransform};
|
|
196
|
+
}
|
|
197
|
+
`,ti=bt`
|
|
183
198
|
.ft-typography--breadcrumb {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
199
|
+
font-family: ${Uo};
|
|
200
|
+
font-size: ${Io};
|
|
201
|
+
font-weight: ${ko};
|
|
202
|
+
letter-spacing: ${Wo};
|
|
203
|
+
line-height: ${Lo};
|
|
204
|
+
text-transform: ${Ko};
|
|
205
|
+
}
|
|
206
|
+
`,ei=bt`
|
|
192
207
|
.ft-typography--overline {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
199
|
-
}
|
|
200
|
-
`,
|
|
208
|
+
font-family: ${zo};
|
|
209
|
+
font-size: ${Zo};
|
|
210
|
+
font-weight: ${Fo};
|
|
211
|
+
letter-spacing: ${Do};
|
|
212
|
+
line-height: ${Ao};
|
|
213
|
+
text-transform: ${Mo};
|
|
214
|
+
}
|
|
215
|
+
`,oi=bt`
|
|
201
216
|
.ft-typography--button {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
217
|
+
font-family: ${Bo};
|
|
218
|
+
font-size: ${Po};
|
|
219
|
+
font-weight: ${Ho};
|
|
220
|
+
letter-spacing: ${jo};
|
|
221
|
+
line-height: ${_o};
|
|
222
|
+
text-transform: ${To};
|
|
223
|
+
}
|
|
224
|
+
`,ii=bt`
|
|
210
225
|
.ft-typography {
|
|
211
226
|
vertical-align: inherit;
|
|
212
227
|
}
|
|
213
|
-
`,
|
|
214
|
-
.ft-typography--${
|
|
228
|
+
`,ri=[Object.keys(ve).map((t=>function(t){const e=ve[t];return bt`
|
|
229
|
+
.ft-typography--${yt(t)} {
|
|
215
230
|
font-family: ${e.fontFamily};
|
|
216
231
|
font-size: ${e.fontSize};
|
|
217
232
|
font-weight: ${e.fontWeight};
|
|
@@ -219,32 +234,32 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
219
234
|
line-height: ${e.lineHeight};
|
|
220
235
|
text-transform: ${e.textCase};
|
|
221
236
|
}
|
|
222
|
-
`}(t)))];var
|
|
223
|
-
<${
|
|
237
|
+
`}(t)))];var ni=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 We{constructor(){super(...arguments),this.variant=Te.body1}render(){return this.element?_e`
|
|
238
|
+
<${He(this.element)}
|
|
224
239
|
class="ft-typography ft-typography--${this.variant}">
|
|
225
240
|
<slot></slot>
|
|
226
|
-
</${
|
|
227
|
-
`:
|
|
241
|
+
</${He(this.element)}>
|
|
242
|
+
`:_e`
|
|
228
243
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
229
|
-
`}}
|
|
244
|
+
`}}ai.styles=[Go,Vo,Yo,Jo,qo,Xo,Qo,ti,ei,oi,ii,...ri],ni([C()],ai.prototype,"element",void 0),ni([C()],ai.prototype,"variant",void 0),I("ft-typography")(ai);const si={fontSize:me.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:me.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:me.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:me.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:me.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:me.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:me.extend("--ft-input-label-border-color","",Se.colorOutline),textColor:me.extend("--ft-input-label-text-color","",Se.colorOnSurfaceMedium),disabledTextColor:me.extend("--ft-input-label-disabled-text-color","",Se.colorOnSurfaceDisabled),colorSurface:me.external(Se.colorSurface,"Design system"),borderRadiusS:me.external(Se.borderRadiusS,"Design system"),colorError:me.external(Se.colorError,"Design system")},li=bt`
|
|
230
245
|
.ft-input-label {
|
|
231
246
|
position: absolute;
|
|
232
247
|
inset: 0;
|
|
233
248
|
display: flex;
|
|
234
|
-
background-color: ${
|
|
235
|
-
border-radius: ${
|
|
249
|
+
background-color: ${si.colorSurface};
|
|
250
|
+
border-radius: ${si.borderRadiusS} ${si.borderRadiusS} 0 0;
|
|
236
251
|
}
|
|
237
252
|
|
|
238
253
|
.ft-input-label--outlined {
|
|
239
|
-
border-radius: ${
|
|
254
|
+
border-radius: ${si.borderRadiusS};
|
|
240
255
|
}
|
|
241
256
|
|
|
242
257
|
.ft-input-label {
|
|
243
|
-
border-color: ${
|
|
258
|
+
border-color: ${si.borderColor};
|
|
244
259
|
}
|
|
245
260
|
|
|
246
261
|
.ft-input-label.ft-input-label--in-error {
|
|
247
|
-
border-color: ${
|
|
262
|
+
border-color: ${si.colorError}
|
|
248
263
|
}
|
|
249
264
|
|
|
250
265
|
.ft-input-label:before,
|
|
@@ -257,7 +272,7 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
257
272
|
}
|
|
258
273
|
|
|
259
274
|
.ft-input-label:before {
|
|
260
|
-
width: calc(${
|
|
275
|
+
width: calc(${si.horizontalSpacing} - 4px);
|
|
261
276
|
flex-shrink: 0;
|
|
262
277
|
}
|
|
263
278
|
|
|
@@ -273,20 +288,20 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
273
288
|
border-bottom-width: 1px;
|
|
274
289
|
border-bottom-style: solid;
|
|
275
290
|
border-color: inherit;
|
|
276
|
-
color: ${
|
|
291
|
+
color: ${si.textColor};
|
|
277
292
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
278
|
-
max-width: calc(${
|
|
293
|
+
max-width: calc(${si.labelMaxWidth} - 2 * (${si.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
279
294
|
text-overflow: ellipsis;
|
|
280
|
-
${
|
|
281
|
-
${
|
|
295
|
+
${xe(Ro.fontSize,si.fontSize)};
|
|
296
|
+
${xe(Ro.lineHeight,si.fontSize)};
|
|
282
297
|
}
|
|
283
298
|
|
|
284
299
|
.ft-input-label--in-error .ft-input-label--text {
|
|
285
|
-
color: ${
|
|
300
|
+
color: ${si.colorError}
|
|
286
301
|
}
|
|
287
302
|
|
|
288
303
|
.ft-input-label--disabled .ft-input-label--text {
|
|
289
|
-
color: ${
|
|
304
|
+
color: ${si.disabledTextColor};
|
|
290
305
|
}
|
|
291
306
|
|
|
292
307
|
.ft-input-label--hidden-text {
|
|
@@ -303,19 +318,19 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
303
318
|
overflow: hidden;
|
|
304
319
|
white-space: nowrap;
|
|
305
320
|
text-overflow: ellipsis;
|
|
306
|
-
padding: ${
|
|
307
|
-
margin: calc(${
|
|
321
|
+
padding: ${si.verticalSpacing} 4px;
|
|
322
|
+
margin: calc(${si.verticalSpacing} * -1) 0;
|
|
308
323
|
max-width: 100%;
|
|
309
324
|
box-sizing: border-box;
|
|
310
325
|
}
|
|
311
326
|
|
|
312
327
|
.ft-input-label--raised .ft-input-label--text {
|
|
313
|
-
${
|
|
314
|
-
${
|
|
328
|
+
${xe(Ro.fontSize,si.raisedFontSize)};
|
|
329
|
+
${xe(Ro.lineHeight,si.raisedFontSize)};
|
|
315
330
|
}
|
|
316
331
|
|
|
317
332
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
318
|
-
top: ${
|
|
333
|
+
top: ${si.verticalSpacing};
|
|
319
334
|
}
|
|
320
335
|
|
|
321
336
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -328,36 +343,36 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
328
343
|
.ft-input-label--outlined:before {
|
|
329
344
|
border-left-width: 1px;
|
|
330
345
|
border-left-style: solid;
|
|
331
|
-
border-radius: ${
|
|
346
|
+
border-radius: ${si.borderRadiusS} 0 0 ${si.borderRadiusS};
|
|
332
347
|
}
|
|
333
348
|
|
|
334
349
|
.ft-input-label--outlined:after {
|
|
335
350
|
border-right-width: 1px;
|
|
336
351
|
border-right-style: solid;
|
|
337
|
-
border-radius: 0 ${
|
|
352
|
+
border-radius: 0 ${si.borderRadiusS} ${si.borderRadiusS} 0;
|
|
338
353
|
}
|
|
339
354
|
|
|
340
355
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
341
356
|
padding: 2px 4px;
|
|
342
|
-
z-index: ${
|
|
343
|
-
background-color: ${
|
|
344
|
-
border-radius: ${
|
|
357
|
+
z-index: ${si.raisedZIndex};
|
|
358
|
+
background-color: ${si.colorSurface};
|
|
359
|
+
border-radius: ${si.borderRadiusS};
|
|
345
360
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
346
361
|
}
|
|
347
362
|
|
|
348
363
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
349
364
|
border-top: none;
|
|
350
365
|
}
|
|
351
|
-
`;var
|
|
352
|
-
<div class="${
|
|
353
|
-
${this.text?
|
|
366
|
+
`;var ci=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 pi extends We{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return Qt`
|
|
367
|
+
<div class="${Me(t)}">
|
|
368
|
+
${this.text?Qt`
|
|
354
369
|
<div class="ft-input-label--text ft-typography--caption">
|
|
355
370
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
356
371
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
357
372
|
</div>
|
|
358
373
|
`:null}
|
|
359
374
|
</div>
|
|
360
|
-
`}}
|
|
375
|
+
`}}pi.elementDefinitions={},pi.styles=[Qo,li],ci([C({type:String})],pi.prototype,"text",void 0),ci([C({type:Boolean})],pi.prototype,"raised",void 0),ci([C({type:Boolean})],pi.prototype,"outlined",void 0),ci([C({type:Boolean})],pi.prototype,"disabled",void 0),ci([C({type:Boolean})],pi.prototype,"error",void 0),I("ft-input-label")(pi);const fi=me.extend("--ft-ripple-color","",Se.colorContent),hi={color:fi,backgroundColor:me.extend("--ft-ripple-background-color","",fi),opacityContentOnSurfacePressed:me.external(Se.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.external(Se.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.external(Se.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.external(Se.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.create("--ft-ripple-border-radius","","SIZE","0px")},di=me.extend("--ft-ripple-color","",Se.colorPrimary),gi=di,ui=me.extend("--ft-ripple-background-color","",di),yi=me.extend("--ft-ripple-color","",Se.colorSecondary),bi=yi,mi=me.extend("--ft-ripple-background-color","",yi),xi=bt`
|
|
361
376
|
:host {
|
|
362
377
|
display: contents;
|
|
363
378
|
}
|
|
@@ -370,7 +385,7 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
370
385
|
|
|
371
386
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
372
387
|
overflow: hidden;
|
|
373
|
-
border-radius: ${
|
|
388
|
+
border-radius: ${hi.borderRadius};
|
|
374
389
|
}
|
|
375
390
|
|
|
376
391
|
.ft-ripple .ft-ripple--background,
|
|
@@ -404,27 +419,27 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
404
419
|
}
|
|
405
420
|
|
|
406
421
|
.ft-ripple .ft-ripple--background {
|
|
407
|
-
background-color: ${
|
|
422
|
+
background-color: ${hi.backgroundColor};
|
|
408
423
|
}
|
|
409
424
|
|
|
410
425
|
.ft-ripple .ft-ripple--effect {
|
|
411
|
-
background-color: ${
|
|
426
|
+
background-color: ${hi.color};
|
|
412
427
|
}
|
|
413
428
|
|
|
414
429
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
415
|
-
background-color: ${
|
|
430
|
+
background-color: ${mi};
|
|
416
431
|
}
|
|
417
432
|
|
|
418
433
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
419
|
-
background-color: ${
|
|
434
|
+
background-color: ${bi};
|
|
420
435
|
}
|
|
421
436
|
|
|
422
437
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
423
|
-
background-color: ${
|
|
438
|
+
background-color: ${ui};
|
|
424
439
|
}
|
|
425
440
|
|
|
426
441
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
427
|
-
background-color: ${
|
|
442
|
+
background-color: ${gi};
|
|
428
443
|
}
|
|
429
444
|
|
|
430
445
|
.ft-ripple .ft-ripple--background {
|
|
@@ -454,39 +469,39 @@ const Kt=1,Zt=2,zt=t=>(...e)=>({_$litDirective$:t,values:e});class Ft{constructo
|
|
|
454
469
|
}
|
|
455
470
|
|
|
456
471
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
457
|
-
opacity: ${
|
|
472
|
+
opacity: ${hi.opacityContentOnSurfaceHover};
|
|
458
473
|
}
|
|
459
474
|
|
|
460
475
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
461
|
-
opacity: ${
|
|
476
|
+
opacity: ${hi.opacityContentOnSurfaceSelected};
|
|
462
477
|
}
|
|
463
478
|
|
|
464
479
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
465
|
-
opacity: ${
|
|
480
|
+
opacity: ${hi.opacityContentOnSurfaceFocused};
|
|
466
481
|
}
|
|
467
482
|
|
|
468
483
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
469
|
-
opacity: ${
|
|
484
|
+
opacity: ${hi.opacityContentOnSurfacePressed};
|
|
470
485
|
transform: translate(-50%, -50%) scale(1);
|
|
471
486
|
}
|
|
472
|
-
`;var
|
|
487
|
+
`;var Oi=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 vi extends We{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Qt`
|
|
473
488
|
<style>
|
|
474
489
|
.ft-ripple .ft-ripple--effect {
|
|
475
490
|
left: ${this.originX}px;
|
|
476
491
|
top: ${this.originY}px;
|
|
477
492
|
}
|
|
478
493
|
</style>
|
|
479
|
-
<div class="${
|
|
494
|
+
<div class="${Me(t)}">
|
|
480
495
|
<div class="ft-ripple--background"></div>
|
|
481
496
|
<div class="ft-ripple--effect"></div>
|
|
482
497
|
</div>
|
|
483
|
-
`}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()}}
|
|
498
|
+
`}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()}}vi.elementDefinitions={},vi.styles=xi,Oi([C({type:Boolean})],vi.prototype,"primary",void 0),Oi([C({type:Boolean})],vi.prototype,"secondary",void 0),Oi([C({type:Boolean})],vi.prototype,"unbounded",void 0),Oi([C({type:Boolean})],vi.prototype,"activated",void 0),Oi([C({type:Boolean})],vi.prototype,"selected",void 0),Oi([C({type:Boolean})],vi.prototype,"disabled",void 0),Oi([$()],vi.prototype,"hovered",void 0),Oi([$()],vi.prototype,"focused",void 0),Oi([$()],vi.prototype,"pressed",void 0),Oi([$()],vi.prototype,"rippling",void 0),Oi([$()],vi.prototype,"originX",void 0),Oi([$()],vi.prototype,"originY",void 0),Oi([R(".ft-ripple")],vi.prototype,"ripple",void 0),Oi([R(".ft-ripple--effect")],vi.prototype,"rippleEffect",void 0),I("ft-ripple")(vi);
|
|
484
499
|
/**
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
class
|
|
500
|
+
* @license
|
|
501
|
+
* Copyright 2017 Google LLC
|
|
502
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
503
|
+
*/
|
|
504
|
+
class Ni extends Ae{constructor(t){if(super(t),this.et=X,t.type!==Fe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||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:[]}}}Ni.directiveName="unsafeHTML",Ni.resultType=1;const Si=De(Ni);var wi,Ci;!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=""}(wi||(wi={})),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=""}(Ci||(Ci={})),new Map([...["abw"].map((t=>[t,Ci.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,Ci.AUDIO])),...["avi"].map((t=>[t,Ci.AVI])),...["chm","xhs"].map((t=>[t,Ci.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,Ci.CODE])),...["csv"].map((t=>[t,Ci.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ci.DITA])),...["epub"].map((t=>[t,Ci.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ci.EXCEL])),...["flac"].map((t=>[t,Ci.FLAC])),...["gif"].map((t=>[t,Ci.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ci.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ci.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,Ci.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ci.JPEG])),...["json"].map((t=>[t,Ci.JSON])),...["m4a","m4p"].map((t=>[t,Ci.M4A])),...["mov","qt"].map((t=>[t,Ci.MOV])),...["mp3"].map((t=>[t,Ci.MP3])),...["mp4","m4v"].map((t=>[t,Ci.MP4])),...["ogg","oga"].map((t=>[t,Ci.OGG])),...["pdf","ps"].map((t=>[t,Ci.PDF])),...["png"].map((t=>[t,Ci.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ci.POWERPOINT])),...["rar"].map((t=>[t,Ci.RAR])),...["stp"].map((t=>[t,Ci.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ci.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,Ci.VIDEO])),...["wav"].map((t=>[t,Ci.WAV])),...["wma"].map((t=>[t,Ci.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ci.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ci.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ci.YAML])),...["zip"].map((t=>[t,Ci.ZIP]))]);const $i=me.create("--ft-icon-font-size","","SIZE","24px"),Ei=me.extend("--ft-icon-fluid-topics-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Ri=me.extend("--ft-icon-file-format-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Ui=me.extend("--ft-icon-material-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Ii=me.create("--ft-icon-vertical-align","","UNKNOWN","unset"),ki=bt`
|
|
490
505
|
:host, i.ft-icon {
|
|
491
506
|
display: inline-flex;
|
|
492
507
|
align-items: center;
|
|
@@ -495,14 +510,14 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
495
510
|
}
|
|
496
511
|
|
|
497
512
|
:host {
|
|
498
|
-
width: ${
|
|
499
|
-
height: ${
|
|
513
|
+
width: ${$i};
|
|
514
|
+
height: ${$i};
|
|
500
515
|
}
|
|
501
516
|
|
|
502
517
|
i.ft-icon {
|
|
503
518
|
width: 100%;
|
|
504
519
|
height: 100%;
|
|
505
|
-
font-size: ${
|
|
520
|
+
font-size: ${$i};
|
|
506
521
|
line-height: 1;
|
|
507
522
|
font-weight: normal;
|
|
508
523
|
text-transform: none;
|
|
@@ -513,33 +528,33 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
513
528
|
text-rendering: auto;
|
|
514
529
|
-webkit-font-smoothing: antialiased;
|
|
515
530
|
-moz-osx-font-smoothing: grayscale;
|
|
516
|
-
vertical-align: ${
|
|
531
|
+
vertical-align: ${Ii};
|
|
517
532
|
}
|
|
518
533
|
|
|
519
534
|
i.ft-icon.ft-icon--fluid-topics {
|
|
520
|
-
font-family: ${
|
|
535
|
+
font-family: ${Ei}, ft-icons, fticons, sans-serif;
|
|
521
536
|
|
|
522
537
|
/* Ugly fix because font is broken */
|
|
523
|
-
font-size: calc(0.75 * ${
|
|
524
|
-
line-height: ${
|
|
538
|
+
font-size: calc(0.75 * ${$i});
|
|
539
|
+
line-height: ${$i};
|
|
525
540
|
position: relative;
|
|
526
541
|
top: -4%;
|
|
527
542
|
justify-content: center;
|
|
528
543
|
}
|
|
529
544
|
|
|
530
545
|
.ft-icon--file-format {
|
|
531
|
-
font-family: ${
|
|
546
|
+
font-family: ${Ri}, ft-mime, sans-serif;
|
|
532
547
|
}
|
|
533
548
|
|
|
534
549
|
.ft-icon--material {
|
|
535
|
-
font-family: ${
|
|
550
|
+
font-family: ${Ui}, "Material Icons", sans-serif;
|
|
536
551
|
}
|
|
537
|
-
`;var
|
|
552
|
+
`;var Wi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Wi||(Wi={}));var Li=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 Ki extends We{constructor(){super(...arguments),this.resolvedIcon=ee}render(){const t=this.variant&&Object.values(Wi).includes(this.variant)?this.variant:Wi.fluid_topics,e=t!==Wi.material||!!this.value;return Qt`
|
|
538
553
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
539
|
-
${
|
|
554
|
+
${Si(this.resolvedIcon)}
|
|
540
555
|
<slot ?hidden=${e}></slot>
|
|
541
556
|
</i>
|
|
542
|
-
`}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
|
|
557
|
+
`}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 Wi.file_format:this.resolvedIcon=null!==(t=Ci[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Wi.material:this.resolvedIcon=this.value||ee;break;default:this.resolvedIcon=null!==(e=wi[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ki.elementDefinitions={},Ki.styles=ki,Li([C()],Ki.prototype,"variant",void 0),Li([C()],Ki.prototype,"value",void 0),Li([$()],Ki.prototype,"resolvedIcon",void 0),Li([R("slot")],Ki.prototype,"slottedContent",void 0),I("ft-icon")(Ki);const zi={fontSize:me.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:me.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:me.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:me.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:me.extend("--ft-text-field-helper-color","",Se.colorOnSurfaceMedium),colorPrimary:me.external(Se.colorPrimary,"Design system"),colorOnSurface:me.external(Se.colorOnSurface,"Design system"),colorOnSurfaceDisabled:me.external(Se.colorOnSurfaceDisabled,"Design system"),borderRadiusS:me.external(Se.borderRadiusS,"Design system"),colorError:me.external(Se.colorError,"Design system"),prefixColor:me.extend("--ft-text-field-prefix-color","",Se.colorOnSurfaceMedium),iconColor:me.extend("--ft-text-field-icon-color","",Se.colorOnSurfaceMedium),floatingZIndex:me.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:me.external(Se.colorSurface,"Design system"),colorOutline:me.external(Se.colorOutline,"Design system"),elevation02:me.external(Se.elevation02,"Design system"),suggestSize:me.create("--ft-text-field-suggest-size","","SIZE","300px")},Zi=bt`
|
|
543
558
|
*:focus {
|
|
544
559
|
outline: none;
|
|
545
560
|
}
|
|
@@ -552,16 +567,16 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
552
567
|
}
|
|
553
568
|
|
|
554
569
|
ft-input-label {
|
|
555
|
-
${
|
|
556
|
-
${
|
|
557
|
-
${
|
|
558
|
-
${
|
|
570
|
+
${xe(si.fontSize,zi.fontSize)};
|
|
571
|
+
${xe(si.raisedFontSize,zi.labelSize)};
|
|
572
|
+
${xe(si.verticalSpacing,zi.verticalSpacing)};
|
|
573
|
+
${xe(si.horizontalSpacing,zi.horizontalSpacing)};
|
|
559
574
|
}
|
|
560
575
|
|
|
561
576
|
.ft-text-field--main-panel {
|
|
562
577
|
position: relative;
|
|
563
578
|
display: flex;
|
|
564
|
-
height: calc(4 * ${
|
|
579
|
+
height: calc(4 * ${zi.verticalSpacing} + ${zi.labelSize} + ${zi.fontSize});
|
|
565
580
|
}
|
|
566
581
|
|
|
567
582
|
.ft-text-field--input-panel {
|
|
@@ -570,24 +585,24 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
570
585
|
display: flex;
|
|
571
586
|
align-items: center;
|
|
572
587
|
overflow: hidden;
|
|
573
|
-
padding: 0 ${
|
|
588
|
+
padding: 0 ${zi.horizontalSpacing};
|
|
574
589
|
|
|
575
|
-
${
|
|
576
|
-
${
|
|
590
|
+
${xe(vo.fontSize,zi.fontSize)};
|
|
591
|
+
${xe(vo.lineHeight,zi.fontSize)};
|
|
577
592
|
}
|
|
578
593
|
|
|
579
594
|
.ft-text-field--input-panel ft-ripple {
|
|
580
|
-
${
|
|
581
|
-
${
|
|
595
|
+
${xe(hi.opacityContentOnSurfaceHover,"0.08")};
|
|
596
|
+
${xe(hi.opacityContentOnSurfacePressed,"0.04")};
|
|
582
597
|
}
|
|
583
598
|
|
|
584
599
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
585
600
|
align-items: flex-end;
|
|
586
|
-
padding: 0 ${
|
|
601
|
+
padding: 0 ${zi.horizontalSpacing} ${zi.verticalSpacing} ${zi.horizontalSpacing};
|
|
587
602
|
}
|
|
588
603
|
|
|
589
604
|
.ft-text-field--prefix {
|
|
590
|
-
color: ${
|
|
605
|
+
color: ${zi.prefixColor};
|
|
591
606
|
margin-right: 2px;
|
|
592
607
|
flex-shrink: 1;
|
|
593
608
|
overflow: hidden;
|
|
@@ -606,15 +621,15 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
606
621
|
flex-shrink: 1;
|
|
607
622
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
608
623
|
|
|
609
|
-
color: ${
|
|
610
|
-
padding: calc(2 * ${
|
|
624
|
+
color: ${zi.colorOnSurface};
|
|
625
|
+
padding: calc(2 * ${zi.verticalSpacing}) 0;
|
|
611
626
|
border: none;
|
|
612
627
|
background: none;
|
|
613
628
|
}
|
|
614
629
|
|
|
615
630
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
616
631
|
padding-bottom: 0;
|
|
617
|
-
padding-top: calc(${
|
|
632
|
+
padding-top: calc(${zi.labelSize} + 2 * ${zi.verticalSpacing});
|
|
618
633
|
}
|
|
619
634
|
|
|
620
635
|
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
@@ -623,37 +638,37 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
623
638
|
}
|
|
624
639
|
|
|
625
640
|
.ft-text-field--disabled .ft-text-field--input {
|
|
626
|
-
color: ${
|
|
641
|
+
color: ${zi.colorOnSurfaceDisabled};
|
|
627
642
|
}
|
|
628
643
|
|
|
629
644
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
630
|
-
${
|
|
631
|
-
${
|
|
645
|
+
${xe(si.borderColor,zi.colorPrimary)};
|
|
646
|
+
${xe(si.textColor,zi.colorPrimary)};
|
|
632
647
|
}
|
|
633
648
|
|
|
634
649
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
635
|
-
border-radius: ${
|
|
650
|
+
border-radius: ${zi.borderRadiusS} ${zi.borderRadiusS} 0 0;
|
|
636
651
|
}
|
|
637
652
|
|
|
638
653
|
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
639
|
-
border-radius: ${
|
|
654
|
+
border-radius: ${zi.borderRadiusS};
|
|
640
655
|
}
|
|
641
656
|
|
|
642
657
|
.ft-text-field--helper-text {
|
|
643
|
-
padding: 0 12px 0 ${
|
|
644
|
-
color: ${
|
|
658
|
+
padding: 0 12px 0 ${zi.horizontalSpacing};
|
|
659
|
+
color: ${zi.helperColor};
|
|
645
660
|
}
|
|
646
661
|
|
|
647
662
|
.ft-text-field--in-error .ft-text-field--input,
|
|
648
663
|
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
649
664
|
.ft-text-field--in-error .ft-text-field--prefix {
|
|
650
|
-
color: ${
|
|
665
|
+
color: ${zi.colorError};
|
|
651
666
|
}
|
|
652
667
|
|
|
653
668
|
.ft-text-field--icon {
|
|
654
669
|
align-self: center;
|
|
655
670
|
margin-left: 8px;
|
|
656
|
-
color: ${
|
|
671
|
+
color: ${zi.iconColor};
|
|
657
672
|
}
|
|
658
673
|
|
|
659
674
|
.ft-text-field--container {
|
|
@@ -666,13 +681,13 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
666
681
|
position: absolute;
|
|
667
682
|
left: 0;
|
|
668
683
|
right: 0;
|
|
669
|
-
z-index: ${
|
|
670
|
-
background: ${
|
|
671
|
-
border: 1px solid ${
|
|
672
|
-
border-radius: 0 0 ${
|
|
673
|
-
box-shadow: ${
|
|
684
|
+
z-index: ${zi.floatingZIndex};
|
|
685
|
+
background: ${zi.colorSurface};
|
|
686
|
+
border: 1px solid ${zi.colorOutline};
|
|
687
|
+
border-radius: 0 0 ${zi.borderRadiusS} ${zi.borderRadiusS};
|
|
688
|
+
box-shadow: ${zi.elevation02};
|
|
674
689
|
outline: none;
|
|
675
|
-
max-height: ${
|
|
690
|
+
max-height: ${zi.suggestSize};
|
|
676
691
|
overflow-y: auto;
|
|
677
692
|
}
|
|
678
693
|
|
|
@@ -689,14 +704,14 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
689
704
|
}
|
|
690
705
|
|
|
691
706
|
.ft-text-field--with-icon {
|
|
692
|
-
${
|
|
707
|
+
${xe(si.labelMaxWidth,`calc(100% - ${$i} - ${si.horizontalSpacing})`)};
|
|
693
708
|
}
|
|
694
709
|
|
|
695
710
|
.ft-text-field--with-password ft-icon:hover {
|
|
696
711
|
cursor: pointer;
|
|
697
712
|
}
|
|
698
|
-
`;var
|
|
699
|
-
<div class="${
|
|
713
|
+
`;var Fi=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 Di extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Le].form}constructor(...t){super(t),this[Le]=this.attachInternals(),this[Le].role=e}setFormValue(t){this[Le].setFormValue(t)}}}(We,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=wi.EYE_SLASH,this.passwordRevealedIcon=wi.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 Qt`
|
|
714
|
+
<div class="${Me(t)}">
|
|
700
715
|
<div class="ft-text-field--main-panel"
|
|
701
716
|
@keydown=${this.handleKeyboardNavigation}
|
|
702
717
|
@focusout=${this.onMainPanelBlur}>
|
|
@@ -706,21 +721,21 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
706
721
|
?raised=${this.focused||""!=this.value}
|
|
707
722
|
?error=${this.error}></ft-input-label>
|
|
708
723
|
<div class="ft-text-field--input-panel">
|
|
709
|
-
${this.outlined?
|
|
724
|
+
${this.outlined?ee:Qt`
|
|
710
725
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
711
726
|
`}
|
|
712
|
-
${this.prefix?
|
|
727
|
+
${this.prefix?Qt`
|
|
713
728
|
<ft-typography class="ft-text-field--prefix" vaiant="body1">
|
|
714
729
|
${this.prefix}
|
|
715
730
|
</ft-typography>
|
|
716
|
-
`:
|
|
731
|
+
`:ee}
|
|
717
732
|
<input type=${this.password&&this.hidePassword?"password":"text"}
|
|
718
|
-
maxlength=${(t=>
|
|
733
|
+
maxlength=${(t=>t??X)
|
|
719
734
|
/**
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
735
|
+
* @license
|
|
736
|
+
* Copyright 2020 Google LLC
|
|
737
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
738
|
+
*/(this.maxLength||void 0)}
|
|
724
739
|
aria-label="${this.label}"
|
|
725
740
|
class="ft-typography--body1 ft-text-field--input"
|
|
726
741
|
?disabled=${this.disabled}
|
|
@@ -735,23 +750,28 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
735
750
|
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
736
751
|
</div>
|
|
737
752
|
</div>
|
|
738
|
-
${this.helper?
|
|
753
|
+
${this.helper?Qt`
|
|
739
754
|
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
740
755
|
${this.helper}
|
|
741
756
|
</ft-typography>
|
|
742
|
-
`:
|
|
757
|
+
`:ee}
|
|
743
758
|
</div>
|
|
744
|
-
`}renderPasswordIcon(){return
|
|
759
|
+
`}renderPasswordIcon(){return Qt`
|
|
745
760
|
<ft-icon class="ft-text-field--icon"
|
|
746
761
|
.variant=${this.iconVariant}
|
|
747
762
|
.value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
|
|
748
763
|
@click=${()=>this.togglePasswordVisibility()}></ft-icon>
|
|
749
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?
|
|
764
|
+
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?Qt`
|
|
750
765
|
<ft-icon class="ft-text-field--icon"
|
|
751
766
|
.variant=${this.iconVariant}
|
|
752
767
|
.value=${this.icon}
|
|
753
768
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
754
|
-
`:
|
|
769
|
+
`:ee}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}}Di.elementDefinitions={"ft-input-label":pi,"ft-ripple":vi,"ft-typography":ai,"ft-icon":Ki},Di.styles=[qo,Zi],Fi([C()],Di.prototype,"label",void 0),Fi([C({noAccessor:!0})],Di.prototype,"value",null),Fi([$()],Di.prototype,"dispatchedValue",void 0),Fi([C()],Di.prototype,"helper",void 0),Fi([C({type:Boolean})],Di.prototype,"outlined",void 0),Fi([C({type:Boolean})],Di.prototype,"disabled",void 0),Fi([C({type:Boolean})],Di.prototype,"error",void 0),Fi([C()],Di.prototype,"prefix",void 0),Fi([C()],Di.prototype,"icon",void 0),Fi([C()],Di.prototype,"passwordHiddenIcon",void 0),Fi([C()],Di.prototype,"passwordRevealedIcon",void 0),Fi([C()],Di.prototype,"iconVariant",void 0),Fi([C({type:Boolean})],Di.prototype,"filterSuggestions",void 0),Fi([C({type:Number})],Di.prototype,"maxLength",void 0),Fi([C({type:Boolean})],Di.prototype,"password",void 0),Fi([$()],Di.prototype,"focused",void 0),Fi([$()],Di.prototype,"hidePassword",void 0),Fi([$()],Di.prototype,"suggestionsOnTop",void 0),Fi([$()],Di.prototype,"hideSuggestions",void 0),Fi([$()],Di.prototype,"visibleSuggestions",void 0),Fi([R(".ft-text-field--main-panel")],Di.prototype,"mainPanel",void 0),Fi([R(".ft-text-field--input")],Di.prototype,"input",void 0),Fi([R(".ft-text-field--suggestions")],Di.prototype,"suggestionsContainer",void 0),Fi([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}
|
|
770
|
+
/**
|
|
771
|
+
* @license
|
|
772
|
+
* Copyright 2017 Google LLC
|
|
773
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
774
|
+
*/({selector:"ft-text-field-suggestion"})],Di.prototype,"suggestions",void 0);const Ai=bt`
|
|
755
775
|
.ft-text-field-suggestion {
|
|
756
776
|
position: relative;
|
|
757
777
|
padding: 8px 16px;
|
|
@@ -776,7 +796,7 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
776
796
|
slot {
|
|
777
797
|
pointer-events: none;
|
|
778
798
|
}
|
|
779
|
-
`;var
|
|
799
|
+
`;var Mi=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 Bi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Pi extends We{render(){return Qt`
|
|
780
800
|
<div class="ft-text-field-suggestion"
|
|
781
801
|
tabindex="-1"
|
|
782
802
|
@keydown=${this.onKeyDown}
|
|
@@ -788,4 +808,4 @@ class Oo extends Ft{constructor(t){if(super(t),this.et=X,t.type!==Zt)throw Error
|
|
|
788
808
|
<slot></slot>
|
|
789
809
|
</ft-typography>
|
|
790
810
|
</div>
|
|
791
|
-
`}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
|
|
811
|
+
`}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 Bi(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())}}Pi.elementDefinitions={"ft-ripple":vi,"ft-typography":ai,"ft-icon":Ki},Pi.styles=Ai,Mi([C()],Pi.prototype,"value",void 0),Mi([R(".ft-text-field-suggestion")],Pi.prototype,"container",void 0),Mi([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Pi.prototype,"assignedNodes",void 0),I("ft-text-field")(Di),I("ft-text-field-suggestion")(Pi),t.FtTextField=Di,t.FtTextFieldCssVariables=zi,t.FtTextFieldSuggestion=Pi,t.SuggestionSelectedEvent=Bi,t.styles=Zi,t.suggestionStyles=Ai}({});
|