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