@fluid-topics/ft-filterable-table 1.1.26 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-filterable-table.light.js +268 -268
- package/build/ft-filterable-table.min.js +124 -124
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let 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 h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(vi){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}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,18 +22,18 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:h}=Object,u=globalThis,g=u.trustedTypes,y=g?g.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),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)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...f(t),...d(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??v)(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){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[m("elementProperties")]=new Map,w[m("finalized")]=new Map,b?.({ReactiveElement:w}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v}
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(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 $(t){return(e,o)=>"object"==typeof o?N(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/}function C(t){return
|
|
36
|
+
*/}function C(t){return $({...t,state:!0,attribute:!1})}
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
@@ -59,42 +59,42 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},$=(t=S,e,
|
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
61
|
*/
|
|
62
|
-
function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(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(!I(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(!I(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(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const
|
|
62
|
+
function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(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(!I(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(!I(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(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2017 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const
|
|
68
|
+
const L=globalThis,z=L.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,D="?"+F,B=`<${D}>`,A=document,M=()=>A.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j=t=>H(t)||"function"==typeof t?.[Symbol.iterator],T="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,it=A.createTreeWalker(A,129);function rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const nt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=_;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===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(X.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?q:J):a===q||a===J?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+F+f):o+F+(-2===c?e:f)}return[rt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let at=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]=nt(e,o);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=p[a++],o=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?dt:"@"===i[1]?ht:pt}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(X.test(r.tagName)){const t=r.textContent.split(F),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],M()),it.nextNode(),l.push({type:2,index:++n});r.append(t[e],M())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const o=A.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,i){if(e===tt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(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=st(t,r._$AS(t,e.values),r,i)),e}let lt=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??A).importNode(e,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ut(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=A,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++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=et,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=st(this,t,e),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):j(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!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.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=at.createElement(rt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new lt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){H(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))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=et,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=et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,i=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==et&&(o===et||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)}},ut=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){st(this,t)}};const gt={j:Z,P:F,A:D,C:1,M:nt,L:lt,R:j,V:st,D:ct,I:pt,H:dt,N:ht,U:ft,B:ut},yt=L.litHtmlPolyfillSupport;yt?.(at,ct),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2019 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/
|
|
74
|
-
const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)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(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const wt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(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 Ot(o,t,xt)}
|
|
74
|
+
const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)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(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const wt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(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 Ot(o,t,xt)},Nt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return wt(e)})(t):t
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/,{is
|
|
79
|
+
*/,{is:$t,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:kt,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,It=globalThis,Wt=It.trustedTypes,Lt=Wt?Wt.emptyScript:"",zt=It.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Ft=(t,e)=>!$t(t,e),Dt={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;class Bt 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=Dt){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&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(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)??Dt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...kt(t),...Rt(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(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=bt.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:Zt).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:Zt;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??Ft)(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){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(It.reactiveElementVersions??=[]).push("2.0.2");
|
|
80
80
|
/**
|
|
81
81
|
* @license
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
const At=globalThis,Mt=At.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+jt,_t=`<${Tt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Jt=Array.isArray,qt="[ \t\n\f\r]",Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,te=/>/g,ee=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ie=/"/g,re=/^(?:script|style|textarea|title)$/i,ne=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),le=new WeakMap,ce=Gt.createTreeWalker(Gt,129);function
|
|
85
|
+
const At=globalThis,Mt=At.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+jt,_t=`<${Tt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Jt=Array.isArray,qt="[ \t\n\f\r]",Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,te=/>/g,ee=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ie=/"/g,re=/^(?:script|style|textarea|title)$/i,ne=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),le=new WeakMap,ce=Gt.createTreeWalker(Gt,129);function pe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Xt;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===Xt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=te:void 0!==l[2]?(re.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ee):void 0!==l[3]&&(a=ee):a===ee?">"===l[0]?(a=r??Xt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ee:'"'===l[3]?ie:oe):a===ie||a===oe?a=ee:a===Qt||a===te?a=Xt:(a=ee,r=void 0);const f=a===ee&&t[e+1].startsWith("/>")?" ":"";n+=a===Xt?o+_t:c>=0?(i.push(s),o.slice(0,c)+Ht+o.slice(c)+jt+f):o+jt+(-2===c?e:f)}return[pe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class de{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fe(t,e);if(this.el=de.createElement(l,o),ce.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ce.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ht)){const e=c[n++],o=i.getAttribute(t).split(jt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?be:"@"===a[1]?me:ge}),i.removeAttribute(t)}else t.startsWith(jt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(re.test(i.tagName)){const t=i.textContent.split(jt),e=t.length-1;if(e>0){i.textContent=Mt?Mt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Vt()),ce.nextNode(),s.push({type:2,index:++r});i.append(t[e],Vt())}}}else if(8===i.nodeType)if(i.data===Tt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(jt,t+1));)s.push({type:7,index:r}),t+=jt.length-1}r++}}static createElement(t,e){const o=Gt.createElement("template");return o.innerHTML=t,o}}function he(t,e,o=t,i){if(e===ae)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Yt(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=he(t,r._$AS(t,e.values),r,i)),e}class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=se,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=he(this,t,e),Yt(t)?t===se||null==t||""===t?(this._$AH!==se&&this._$AR(),this._$AH=se):t!==this._$AH&&t!==ae&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Jt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==se&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.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=de.createElement(pe(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??Gt).importNode(e,!0);ce.currentNode=i;let r=ce.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ue(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new xe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ce.nextNode(),n++)}return ce.currentNode=Gt,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=le.get(t.strings);return void 0===e&&le.set(t.strings,e=new de(t)),e}T(t){Jt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new ue(this.k(Vt()),this.k(Vt()),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 ge{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=se,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=se}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=he(this,t,e,0),n=!Yt(t)||t!==this._$AH&&t!==ae,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=he(this,i[o+a],e,a),s===ae&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===se?t=se:t!==se&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ge{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}}class be extends ge{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}}class me extends ge{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=he(this,t,e,0)??se)===ae)return;const o=this._$AH,i=t===se&&o!==se||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==se&&(o===se||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 xe{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){he(this,t)}}const ve=At.litHtmlPolyfillSupport;ve?.(de,ue),(At.litHtmlVersions??=[]).push("3.1.0");
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2017 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/
|
|
91
|
-
let Oe=class extends Bt{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 ue(e.insertBefore(Vt(),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 ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class $e{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ne(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},ke={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:$e.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:$e.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",ke.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",ke.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",ke.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",ke.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",ke.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",ke.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",ke.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",ke.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",ke.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",ke.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",ke.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",ke.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",ke.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",ke.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",ke.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};$e.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),$e.extend("--ft-tabs-label-gap","",Ce.spacing1),$e.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-group-gap","",Ce.spacing1),$e.extend("--ft-switch-group-background-color","",ke.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",ke.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),$e.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-switch-off-color","",ke.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),$e.extend("--ft-chart-3-light","",Ce.colorUltramarine40),$e.extend("--ft-chart-3-base","",Ce.colorUltramarine70),$e.extend("--ft-chart-4-light","",Ce.colorCyan50),$e.extend("--ft-chart-4-base","",Ce.colorCyan100),$e.extend("--ft-chart-5-light","",Ce.colorRed40),$e.extend("--ft-chart-5-base","",Ce.colorRed60),$e.extend("--ft-chart-6-light","",Ce.colorGreen40),$e.extend("--ft-chart-6-base","",Ce.colorGreen70),$e.extend("--ft-chart-7-light","",Ce.colorOrange70),$e.extend("--ft-chart-7-base","",Ce.colorOrange100),$e.extend("--ft-chart-8-light","",Ce.colorAvocado70),$e.extend("--ft-chart-8-base","",Ce.colorAvocado200),$e.extend("--ft-chart-9-light","",Ce.colorBrown50),$e.extend("--ft-chart-9-base","",Ce.colorBrown200),$e.extend("--ft-chart-10-light","",Ce.colorGray50),$e.extend("--ft-chart-10-base","",Ce.colorGray80),$e.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),$e.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),$e.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),$e.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),$e.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),$e.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),$e.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),$e.extend("--ft-chip-large-gap","",Ce.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",Ce.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),$e.extend("--ft-chip-medium-gap","",Ce.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),$e.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),$e.extend("--ft-chip-small-gap","",Ce.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",Ce.iconSize1),$e.extend("--ft-chip-neutral-background-color","",ke.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",ke.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",ke.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",ke.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-chip-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-chip-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-chip-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",ke.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",ke.borderErrorPrimary),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",Ce.spacing2),$e.extend("--ft-notice-vertical-padding","",Ce.spacing1),$e.extend("--ft-notice-border-radius","",Ce.borderRadiusS),$e.extend("--ft-notice-gap","",Ce.spacing2),$e.extend("--ft-notice-icon-size","",Ce.iconSize3),$e.extend("--ft-notice-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notice-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notice-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",ke.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",Ce.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-off-background-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",ke.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-toggle-on-background-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-toggle-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",ke.borderActionFocusRing),$e.extend("--ft-toggle-gap","",Ce.spacing3),$e.extend("--ft-radio-label-color","",ke.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",ke.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",ke.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",Ce.spacing3),$e.extend("--ft-notification-icon-size","",Ce.iconSize4),$e.extend("--ft-notification-horizontal-padding","",Ce.spacing4),$e.extend("--ft-notification-vertical-padding","",Ce.spacing4),$e.extend("--ft-notification-info-background-color","",ke.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",ke.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",ke.borderInfoPrimary),$e.extend("--ft-notification-success-background-color","",ke.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",ke.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",ke.borderSuccessPrimary),$e.extend("--ft-notification-warning-background-color","",ke.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",ke.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",ke.borderWarningPrimary),$e.extend("--ft-notification-error-background-color","",ke.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",ke.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",ke.borderErrorPrimary),$e.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",Ce.spacing2),$e.extend("--ft-notification-gap-trailing","",Ce.spacing8);const Ue={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ie=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ie[0],e+"-"+Ie[1])),[]),We=Math.min,ze=Math.max,Fe=Math.round,Ze=t=>({x:t,y:t}),Ke={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function Be(t,e,o){return ze(t,We(e,o))}function Ae(t,e){return"function"==typeof t?t(e):t}function Me(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function je(t){return"y"===t?"height":"width"}function Te(t){return["top","bottom"].includes(Me(t))?"y":"x"}function _e(t){return He(Te(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Ke[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:i,floating:r}=t;const n=Te(e),a=_e(e),s=je(a),l=Me(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Pe(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Ae(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ve(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function qe(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>Me(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>De[t]))}(o)!==o)))}const Xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Le,autoAlignment:h=!0,...u}=Ae(t,e),y=void 0!==p||d===Le?qe(p||null,h,d):d,g=await Je(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Pe(t),r=_e(t),n=je(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Me(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function io(t){return t instanceof Element||t instanceof to(t).Element}function ro(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fo(t){return["html","body","#document"].includes(Qe(t))}function po(t){return to(t).getComputedStyle(t)}function ho(t){return io(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function yo(t){const e=uo(t);return fo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ro(e)&&ao(e)?e:yo(e)}function go(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=yo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=to(r);return n?e.concat(a,a.visualViewport||[],ao(r)?r:[],a.frameElement&&o?go(a.frameElement):[]):e.concat(r,go(r,[],o))}function bo(t){const e=po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ro(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Fe(o)!==n||Fe(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function mo(t){return io(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!ro(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=bo(e);let a=(n?Fe(o.width):o.width)/i,s=(n?Fe(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Ze(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function wo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=mo(t);let a=Ze(1);e&&(i?io(i)&&(a=xo(i)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,i)?Oo(n):Ze(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=to(n),e=i&&io(i)?to(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),i=po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=to(o).frameElement}}return Ve({width:f,height:p,x:l,y:c})}function So(t){return wo(eo(t)).left+ho(t).scrollLeft}function $o(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=to(t),i=eo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=co();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=eo(t),o=ho(t),i=t.ownerDocument.body,r=ze(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ze(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===po(i).direction&&(a+=ze(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(eo(t));else if(io(e))i=function(t,e){const o=wo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ro(t)?xo(t):Ze(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Oo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(i)}function No(t,e){const o=uo(t);return!(o===e||!io(o)||fo(o))&&("fixed"===po(o).position||No(o,e))}function Co(t,e,o){const i=ro(e),r=eo(e),n="fixed"===o,a=wo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==Qe(e)||ao(r))&&(s=ho(e)),i){const t=wo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=So(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ro(t)&&"fixed"!==po(t).position?e?e(t):t.offsetParent:null}function ko(t,e){const o=to(t);if(!ro(t))return o;let i=Eo(t,e);for(;i&&so(i)&&"static"===po(i).position;)i=Eo(i,e);return i&&("html"===Qe(i)||"body"===Qe(i)&&"static"===po(i).position&&!lo(i))?o:i||function(t){let e=uo(t);for(;ro(e)&&!fo(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ro(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),ro(o))){const t=wo(o);s=xo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=go(t,[],!1).filter((t=>io(t)&&"body"!==Qe(t))),r=null;const n="fixed"===po(t).position;let a=n?uo(t):t;for(;io(a)&&!fo(a);){const e=po(a),o=lo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ao(a)&&!o&&No(t,a))?i=i.filter((t=>t!==a)):r=e,a=uo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=$o(e,o,r);return t.top=ze(i.top,t.top),t.right=We(i.right,t.right),t.bottom=We(i.bottom,t.bottom),t.left=ze(i.left,t.left),t}),$o(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ko,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ko,n=this.getDimensions;return{reference:Co(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:io,isRTL:function(t){return"rtl"===po(t).direction}},Uo=(t,e,o)=>{const i=new Map,r={platform:Ro,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Ye(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Ye(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Io(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
91
|
+
let Oe=class extends Bt{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 ue(e.insertBefore(Vt(),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 ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class Ne{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return Se(`${t.name}: ${e}`)}const Ce={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"),shadowElevation01:Ne.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:Ne.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:Ne.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:Ne.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:Ne.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:Ne.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:Ne.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:Ne.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:Ne.create("--ft-shadow-elevation-24","","SHADOW","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)")},Ee={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","1.5rem"),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","500"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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")},"caption-3-medium":{fontFamily:Ne.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ne.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ne.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},ke={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ce.colorOrange300),borderWarningSubtle:Ne.extend("--ft-border-warning-subtle","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success buttons.",Ce.colorGreen200),borderSuccessSubtle:Ne.extend("--ft-border-success-subtle","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ce.colorRed0),borderErrorSubtle:Ne.extend("--ft-border-error-subtle","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ce.colorCyan200),borderInfoSubtle:Ne.extend("--ft-border-info-subtle","Used as border for information components.",Ce.colorCyan30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:Ne.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ne.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:Ne.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:Ne.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:Ne.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:Ne.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ne.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ne.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:Ne.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:Ne.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:Ne.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:Ne.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ne.extend("--ft-button-primary-background-color","",ke.backgroundActionPrimary),primaryColor:Ne.extend("--ft-button-primary-color","",ke.contentGlobalOnColor),primaryIconColor:Ne.extend("--ft-button-primary-icon-color","",ke.contentGlobalOnColor),primaryStateLayerColor:Ne.extend("--ft-button-primary-state-layer-color","",ke.contentGlobalOnColor),primaryStateLayerOpacityHover:Ne.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:Ne.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:Ne.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:Ne.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:Ne.extend("--ft-button-focus-focus-ring-color","",ke.borderActionFocusRing),tertiaryBackgroundColor:Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ne.extend("--ft-button-tertiary-color","",ke.contentActionPrimary),tertiaryIconColor:Ne.extend("--ft-button-tertiary-icon-color","",ke.contentActionPrimary),tertiaryStateLayerColor:Ne.extend("--ft-button-tertiary-state-layer-color","",ke.contentActionPrimary),tertiaryStateLayerOpacityHover:Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:Ne.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ne.extend("--ft-button-secondary-color","",ke.contentActionPrimary),secondaryIconColor:Ne.extend("--ft-button-secondary-icon-color","",ke.contentActionPrimary),secondaryStateLayerColor:Ne.extend("--ft-button-secondary-state-layer-color","",ke.contentActionPrimary),secondaryStateLayerOpacityHover:Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:Ne.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:Ne.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:Ne.extend("--ft-button-secondary-border-color","",ke.borderActionPrimary),neutralBackgroundColor:Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ne.extend("--ft-button-neutral-icon-color","",ke.contentGlobalSecondary),neutralColor:Ne.extend("--ft-button-neutral-color","",ke.contentGlobalSecondary),neutralStateLayerColor:Ne.extend("--ft-button-neutral-state-layer-color","",ke.contentGlobalSecondary),neutralStateLayerOpacityHover:Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:Ne.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:Ne.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};Ne.extend("--ft-floating-menu-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-floating-menu-vertical-padding","",Ce.spacing4),Ne.extend("--ft-floating-menu-off-icon-color","",ke.contentGlobalPrimary),Ne.extend("--ft-floating-menu-off-color","",ke.contentGlobalPrimary),Ne.extend("--ft-floating-menu-on-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-on-icon-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-floating-menu-gap","",Ce.spacing3),Ne.extend("--ft-floating-menu-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-floating-menu-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-floating-menu-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-floating-menu-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-floating-menu-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-floating-menu-icon-size","",Ce.iconSize3),Ne.extend("--ft-floating-menu-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),Ne.extend("--ft-tabs-label-gap","",Ce.spacing1),Ne.extend("--ft-tabs-icon-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-tabs-icon-vertical-padding","",Ce.spacing4),Ne.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-tabs-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-tabs-off-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-tabs-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-tabs-off-color","",ke.contentGlobalSubtle),Ne.extend("--ft-tabs-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-tabs-on-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-tabs-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-tabs-on-color","",ke.contentActionPrimary),Ne.extend("--ft-tabs-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-collapsible-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-collapsible-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-collapsible-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-collapsible-vertical-padding","",Ce.spacing3),Ne.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-collapsible-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-collapsible-color","",ke.contentGlobalPrimary),Ne.extend("--ft-collapsible-state-layer-color","",ke.contentGlobalPrimary),Ne.extend("--ft-collapsible-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-collapsible-border-color","",ke.borderGlobalSubtle),Ne.extend("--ft-collapsible-icon-size","",Ce.iconSize3),Ne.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-gap","",Ce.spacing1),Ne.extend("--ft-switch-group-background-color","",ke.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",ke.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-switch-off-color","",ke.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-switch-on-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-switch-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-switch-on-color","",ke.contentActionPrimary),Ne.extend("--ft-switch-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),Ne.extend("--ft-chart-3-light","",Ce.colorUltramarine40),Ne.extend("--ft-chart-3-base","",Ce.colorUltramarine70),Ne.extend("--ft-chart-4-light","",Ce.colorCyan50),Ne.extend("--ft-chart-4-base","",Ce.colorCyan100),Ne.extend("--ft-chart-5-light","",Ce.colorRed40),Ne.extend("--ft-chart-5-base","",Ce.colorRed60),Ne.extend("--ft-chart-6-light","",Ce.colorGreen40),Ne.extend("--ft-chart-6-base","",Ce.colorGreen70),Ne.extend("--ft-chart-7-light","",Ce.colorOrange70),Ne.extend("--ft-chart-7-base","",Ce.colorOrange100),Ne.extend("--ft-chart-8-light","",Ce.colorAvocado70),Ne.extend("--ft-chart-8-base","",Ce.colorAvocado200),Ne.extend("--ft-chart-9-light","",Ce.colorBrown50),Ne.extend("--ft-chart-9-base","",Ce.colorBrown200),Ne.extend("--ft-chart-10-light","",Ce.colorGray50),Ne.extend("--ft-chart-10-base","",Ce.colorGray80),Ne.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),Ne.extend("--ft-chip-large-gap","",Ce.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","",Ce.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",Ce.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),Ne.extend("--ft-chip-medium-gap","",Ce.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","",Ce.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),Ne.extend("--ft-chip-small-gap","",Ce.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","",Ce.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",Ce.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",ke.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",ke.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",ke.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-chip-success-background-color","",ke.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",ke.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",ke.borderSuccessSubtle),Ne.extend("--ft-chip-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-chip-error-background-color","",ke.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",ke.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",ke.borderErrorSubtle),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-notice-vertical-padding","",Ce.spacing1),Ne.extend("--ft-notice-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-notice-gap","",Ce.spacing2),Ne.extend("--ft-notice-icon-size","",Ce.iconSize3),Ne.extend("--ft-notice-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-notice-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-notice-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",ke.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",ke.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",Ce.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-off-background-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",ke.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-on-background-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",Ce.spacing3),Ne.extend("--ft-radio-label-color","",ke.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",ke.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",ke.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",ke.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",Ce.spacing3),Ne.extend("--ft-notification-icon-size","",Ce.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-notification-vertical-padding","",Ce.spacing4),Ne.extend("--ft-notification-info-background-color","",ke.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",ke.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",ke.borderInfoSubtle),Ne.extend("--ft-notification-success-background-color","",ke.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",ke.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",ke.borderSuccessSubtle),Ne.extend("--ft-notification-warning-background-color","",ke.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",ke.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",ke.borderWarningSubtle),Ne.extend("--ft-notification-error-background-color","",ke.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",ke.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",ke.borderErrorSubtle),Ne.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",Ce.spacing2),Ne.extend("--ft-notification-gap-trailing","",Ce.spacing8),Ne.extend("--ft-tooltip-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-tooltip-vertical-padding","",Ce.spacing2),Ne.extend("--ft-tooltip-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tooltip-label","",ke.contentGlobalOnColor),Ne.extend("--ft-tooltip-background","",ke.contentGlobalPrimary),Ne.extend("--ft-tooltip-background-opacity","",Ce.opacity80),Ne.extend("--ft-tooltip-shadow","",Ce.shadowElevation03);const Ue={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")},Ie=["start","end"],We=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ie[0],e+"-"+Ie[1])),[]),Le=Math.min,ze=Math.max,Ke=Math.round,Ze=t=>({x:t,y:t}),Fe={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function Be(t,e,o){return ze(t,Le(e,o))}function Ae(t,e){return"function"==typeof t?t(e):t}function Me(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function je(t){return"y"===t?"height":"width"}function Te(t){return["top","bottom"].includes(Me(t))?"y":"x"}function _e(t){return He(Te(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Fe[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:i,floating:r}=t;const n=Te(e),a=_e(e),s=je(a),l=Me(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(Pe(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Ae(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=s[d?"floating"===f?"reference":"floating":f],y=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ve(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function qe(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>Me(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>De[t]))}(o)!==o)))}const Xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:d=We,autoAlignment:h=!0,...u}=Ae(t,e),g=void 0!==f||d===We?qe(f||null,h,d):d,y=await Je(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Pe(t),r=_e(t),n=je(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const v=[y[Me(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function io(t){return t instanceof Element||t instanceof to(t).Element}function ro(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=fo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(Qe(t))}function fo(t){return to(t).getComputedStyle(t)}function ho(t){return io(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function go(t){const e=uo(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:ro(e)&&ao(e)?e:go(e)}function yo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=go(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=to(r);return n?e.concat(a,a.visualViewport||[],ao(r)?r:[],a.frameElement&&o?yo(a.frameElement):[]):e.concat(r,yo(r,[],o))}function bo(t){const e=fo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ro(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ke(o)!==n||Ke(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function mo(t){return io(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!ro(e))return Ze(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=bo(e);let a=(n?Ke(o.width):o.width)/i,s=(n?Ke(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Ze(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function wo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=mo(t);let a=Ze(1);e&&(i?io(i)&&(a=xo(i)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,i)?Oo(n):Ze(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=to(n),e=i&&io(i)?to(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),i=fo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=to(o).frameElement}}return Ve({width:p,height:f,x:l,y:c})}function So(t){return wo(eo(t)).left+ho(t).scrollLeft}function No(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=to(t),i=eo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=co();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=eo(t),o=ho(t),i=t.ownerDocument.body,r=ze(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ze(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===fo(i).direction&&(a+=ze(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(eo(t));else if(io(e))i=function(t,e){const o=wo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ro(t)?xo(t):Ze(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Oo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(i)}function $o(t,e){const o=uo(t);return!(o===e||!io(o)||po(o))&&("fixed"===fo(o).position||$o(o,e))}function Co(t,e,o){const i=ro(e),r=eo(e),n="fixed"===o,a=wo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ze(0);if(i||!i&&!n)if(("body"!==Qe(e)||ao(r))&&(s=ho(e)),i){const t=wo(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=So(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Eo(t,e){return ro(t)&&"fixed"!==fo(t).position?e?e(t):t.offsetParent:null}function ko(t,e){const o=to(t);if(!ro(t))return o;let i=Eo(t,e);for(;i&&so(i)&&"static"===fo(i).position;)i=Eo(i,e);return i&&("html"===Qe(i)||"body"===Qe(i)&&"static"===fo(i).position&&!lo(i))?o:i||function(t){let e=uo(t);for(;ro(e)&&!po(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ro(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ze(1);const l=Ze(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),ro(o))){const t=wo(o);s=xo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=yo(t,[],!1).filter((t=>io(t)&&"body"!==Qe(t))),r=null;const n="fixed"===fo(t).position;let a=n?uo(t):t;for(;io(a)&&!po(a);){const e=fo(a),o=lo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ao(a)&&!o&&$o(t,a))?i=i.filter((t=>t!==a)):r=e,a=uo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=No(e,o,r);return t.top=ze(i.top,t.top),t.right=Le(i.right,t.right),t.bottom=Le(i.bottom,t.bottom),t.left=ze(i.left,t.left),t}),No(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ko,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||ko,n=this.getDimensions;return{reference:Co(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:io,isRTL:function(t){return"rtl"===fo(t).direction}},Uo=(t,e,o)=>{const i=new Map,r={platform:Ro,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=Ye(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=Ye(c,d,l))),o=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};function Io(t){return function(t){for(let e=t;e;e=Wo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wo(t);e;e=Wo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
92
92
|
/**
|
|
93
93
|
* @license
|
|
94
94
|
* Copyright 2019 Google LLC
|
|
95
95
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
96
|
*/
|
|
97
|
-
const
|
|
97
|
+
const Lo=window,zo=Lo.ShadowRoot&&(void 0===Lo.ShadyCSS||Lo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends Oe{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)=>{zo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Lo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Zo,Fo=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 Do=Symbol("constructorPrototype"),Bo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class Mo extends Ko{constructor(){super(),this[Zo]=new e(5),this[Bo]=this.constructor.name,this[Do]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bo]&&Object.setPrototypeOf(this,this[Do])}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[Ao].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(", "))}}Zo=Ao,Fo([$()],Mo.prototype,"exportpartsPrefix",void 0),Fo([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Mo.prototype,"exportpartsPrefixes",void 0),Fo([$()],Mo.prototype,"customStylesheet",void 0);const Po=Ne.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
|
|
98
98
|
.highlight-html-match {
|
|
99
99
|
background: ${Po};
|
|
100
100
|
}
|
|
@@ -140,7 +140,7 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
|
|
|
140
140
|
* @license
|
|
141
141
|
* Copyright 2020 Google LLC
|
|
142
142
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
143
|
-
*/const{D:ci}=
|
|
143
|
+
*/const{D:ci}=gt,pi=()=>document.createComment(""),fi=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(pi(),r),n=i.insertBefore(pi(),r);o=new ci(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},di=(t,e,o=t)=>(t._$AI(e,o),t),hi={},ui=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}},gi=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},yi=si(class extends li{constructor(t){if(super(t),t.type!==ai)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,d=r.length-1,h=0,u=n.length-1;for(;f<=d&&h<=u;)if(null===r[f])f++;else if(null===r[d])d--;else if(s[f]===a[h])l[h]=di(r[f],n[h]),f++,h++;else if(s[d]===a[u])l[u]=di(r[d],n[u]),d--,u--;else if(s[f]===a[u])l[u]=di(r[f],n[u]),fi(t,l[u+1],r[f]),f++,u--;else if(s[d]===a[h])l[h]=di(r[d],n[h]),fi(t,r[f],r[d]),d--,h++;else if(void 0===c&&(c=gi(a,h,u),p=gi(s,f,d)),c.has(s[f]))if(c.has(s[d])){const e=p.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=fi(t,r[f]);di(e,n[h]),l[h]=e}else l[h]=di(o,n[h]),fi(t,r[f],o),r[e]=null;h++}else ui(r[d]),d--;else ui(r[f]),f++;for(;h<=u;){const e=fi(t,l[u+1]);di(e,n[h]),l[h++]=e}for(;f<=d;){const t=r[f++];null!==t&&ui(t)}return this.dt=a,((t,e=hi)=>{t._$AH=e})(t,l),tt}});
|
|
144
144
|
/**
|
|
145
145
|
* @license
|
|
146
146
|
* Copyright 2017 Google LLC
|
|
@@ -151,25 +151,25 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
|
|
|
151
151
|
* Copyright 2017 Google LLC
|
|
152
152
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
153
153
|
*/
|
|
154
|
-
let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}};bi.directiveName="unsafeHTML",bi.resultType=1;const mi=si(bi),xi=si(class extends li{constructor(t){if(super(t),t.type!==ni||"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 tt}}),vi=Symbol.for(""),Oi=t=>{if(t?.r===vi)return t?._$litStatic$},wi=t=>({_$litStatic$:t,r:vi}),Si=new Map
|
|
154
|
+
let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}};bi.directiveName="unsafeHTML",bi.resultType=1;const mi=si(bi),xi=si(class extends li{constructor(t){if(super(t),t.type!==ni||"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 tt}}),vi=Symbol.for(""),Oi=t=>{if(t?.r===vi)return t?._$litStatic$},wi=t=>({_$litStatic$:t,r:vi}),Si=new Map,Ni=(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=Oi(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=Si.get(t))&&(a.raw=a,Si.set(t,e=a)),o=s}return t(e,...o)})(Q);
|
|
155
155
|
/**
|
|
156
156
|
* @license
|
|
157
157
|
* Copyright 2018 Google LLC
|
|
158
158
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
159
|
-
*/var
|
|
159
|
+
*/var $i;!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"}($i||($i={}));const Ci=Ne.extend("--ft-typography-font-family","",Ue.titleFont),Ei=Ne.extend("--ft-typography-font-family","",Ue.contentFont),ki={fontFamily:Ei,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")},Ri=Ne.extend("--ft-typography-title-font-family","",Ci),Ui=Ne.extend("--ft-typography-title-font-size","",ki.fontSize,"20px"),Ii=Ne.extend("--ft-typography-title-font-weight","",ki.fontWeight,"normal"),Wi=Ne.extend("--ft-typography-title-letter-spacing","",ki.letterSpacing,"0.15px"),Li=Ne.extend("--ft-typography-title-line-height","",ki.lineHeight,"1.2"),zi=Ne.extend("--ft-typography-title-text-transform","",ki.textTransform,"inherit"),Ki=Ne.extend("--ft-typography-title-dense-font-family","",Ci),Zi=Ne.extend("--ft-typography-title-dense-font-size","",ki.fontSize,"14px"),Fi=Ne.extend("--ft-typography-title-dense-font-weight","",ki.fontWeight,"normal"),Di=Ne.extend("--ft-typography-title-dense-letter-spacing","",ki.letterSpacing,"0.105px"),Bi=Ne.extend("--ft-typography-title-dense-line-height","",ki.lineHeight,"1.7"),Ai=Ne.extend("--ft-typography-title-dense-text-transform","",ki.textTransform,"inherit"),Mi=Ne.extend("--ft-typography-subtitle1-font-family","",Ei),Pi=Ne.extend("--ft-typography-subtitle1-font-size","",ki.fontSize,"16px"),Hi=Ne.extend("--ft-typography-subtitle1-font-weight","",ki.fontWeight,"600"),ji=Ne.extend("--ft-typography-subtitle1-letter-spacing","",ki.letterSpacing,"0.144px"),Ti=Ne.extend("--ft-typography-subtitle1-line-height","",ki.lineHeight,"1.5"),_i=Ne.extend("--ft-typography-subtitle1-text-transform","",ki.textTransform,"inherit"),Gi=Ne.extend("--ft-typography-subtitle2-font-family","",Ei),Vi=Ne.extend("--ft-typography-subtitle2-font-size","",ki.fontSize,"14px"),Yi=Ne.extend("--ft-typography-subtitle2-font-weight","",ki.fontWeight,"normal"),Ji=Ne.extend("--ft-typography-subtitle2-letter-spacing","",ki.letterSpacing,"0.098px"),qi=Ne.extend("--ft-typography-subtitle2-line-height","",ki.lineHeight,"1.7"),Xi=Ne.extend("--ft-typography-subtitle2-text-transform","",ki.textTransform,"inherit"),Qi={fontFamily:Ne.extend("--ft-typography-body1-font-family","",Ei),fontSize:Ne.extend("--ft-typography-body1-font-size","",ki.fontSize,"16px"),fontWeight:Ne.extend("--ft-typography-body1-font-weight","",ki.fontWeight,"normal"),letterSpacing:Ne.extend("--ft-typography-body1-letter-spacing","",ki.letterSpacing,"0.496px"),lineHeight:Ne.extend("--ft-typography-body1-line-height","",ki.lineHeight,"1.5"),textTransform:Ne.extend("--ft-typography-body1-text-transform","",ki.textTransform,"inherit")},tr=Ne.extend("--ft-typography-body2-font-family","",Ei),er=Ne.extend("--ft-typography-body2-font-size","",ki.fontSize,"14px"),or=Ne.extend("--ft-typography-body2-font-weight","",ki.fontWeight,"normal"),ir=Ne.extend("--ft-typography-body2-letter-spacing","",ki.letterSpacing,"0.252px"),rr=Ne.extend("--ft-typography-body2-line-height","",ki.lineHeight,"1.4"),nr=Ne.extend("--ft-typography-body2-text-transform","",ki.textTransform,"inherit"),ar={fontFamily:Ne.extend("--ft-typography-caption-font-family","",Ei),fontSize:Ne.extend("--ft-typography-caption-font-size","",ki.fontSize,"12px"),fontWeight:Ne.extend("--ft-typography-caption-font-weight","",ki.fontWeight,"normal"),letterSpacing:Ne.extend("--ft-typography-caption-letter-spacing","",ki.letterSpacing,"0.396px"),lineHeight:Ne.extend("--ft-typography-caption-line-height","",ki.lineHeight,"1.33"),textTransform:Ne.extend("--ft-typography-caption-text-transform","",ki.textTransform,"inherit")},sr=Ne.extend("--ft-typography-breadcrumb-font-family","",Ei),lr=Ne.extend("--ft-typography-breadcrumb-font-size","",ki.fontSize,"10px"),cr=Ne.extend("--ft-typography-breadcrumb-font-weight","",ki.fontWeight,"normal"),pr=Ne.extend("--ft-typography-breadcrumb-letter-spacing","",ki.letterSpacing,"0.33px"),fr=Ne.extend("--ft-typography-breadcrumb-line-height","",ki.lineHeight,"1.6"),dr=Ne.extend("--ft-typography-breadcrumb-text-transform","",ki.textTransform,"inherit"),hr=Ne.extend("--ft-typography-overline-font-family","",Ei),ur=Ne.extend("--ft-typography-overline-font-size","",ki.fontSize,"10px"),gr=Ne.extend("--ft-typography-overline-font-weight","",ki.fontWeight,"normal"),yr=Ne.extend("--ft-typography-overline-letter-spacing","",ki.letterSpacing,"1.5px"),br=Ne.extend("--ft-typography-overline-line-height","",ki.lineHeight,"1.6"),mr=Ne.extend("--ft-typography-overline-text-transform","",ki.textTransform,"uppercase"),xr={fontFamily:Ne.extend("--ft-typography-button-font-family","",Ei),fontSize:Ne.extend("--ft-typography-button-font-size","",ki.fontSize,"14px"),fontWeight:Ne.extend("--ft-typography-button-font-weight","",ki.fontWeight,"600"),letterSpacing:Ne.extend("--ft-typography-button-letter-spacing","",ki.letterSpacing,"1.246px"),lineHeight:Ne.extend("--ft-typography-button-line-height","",ki.lineHeight,"1.15"),textTransform:Ne.extend("--ft-typography-button-text-transform","",ki.textTransform,"uppercase")},vr=St`
|
|
160
160
|
.ft-typography--title {
|
|
161
161
|
font-family: ${Ri};
|
|
162
162
|
font-size: ${Ui};
|
|
163
163
|
font-weight: ${Ii};
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
164
|
+
letter-spacing: ${Wi};
|
|
165
|
+
line-height: ${Li};
|
|
166
166
|
text-transform: ${zi};
|
|
167
167
|
}
|
|
168
168
|
`,Or=St`
|
|
169
169
|
.ft-typography--title-dense {
|
|
170
|
-
font-family: ${
|
|
170
|
+
font-family: ${Ki};
|
|
171
171
|
font-size: ${Zi};
|
|
172
|
-
font-weight: ${
|
|
172
|
+
font-weight: ${Fi};
|
|
173
173
|
letter-spacing: ${Di};
|
|
174
174
|
line-height: ${Bi};
|
|
175
175
|
text-transform: ${Ai};
|
|
@@ -193,7 +193,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
193
193
|
text-transform: ${Xi};
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
|
|
196
|
+
`,Nr=St`
|
|
197
197
|
.ft-typography--body1 {
|
|
198
198
|
font-family: ${Qi.fontFamily};
|
|
199
199
|
font-size: ${Qi.fontSize};
|
|
@@ -202,7 +202,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
202
202
|
line-height: ${Qi.lineHeight};
|
|
203
203
|
text-transform: ${Qi.textTransform};
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
`,$r=St`
|
|
206
206
|
.ft-typography--body2 {
|
|
207
207
|
font-family: ${tr};
|
|
208
208
|
font-size: ${er};
|
|
@@ -225,16 +225,16 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
225
225
|
font-family: ${sr};
|
|
226
226
|
font-size: ${lr};
|
|
227
227
|
font-weight: ${cr};
|
|
228
|
-
letter-spacing: ${
|
|
229
|
-
line-height: ${
|
|
228
|
+
letter-spacing: ${pr};
|
|
229
|
+
line-height: ${fr};
|
|
230
230
|
text-transform: ${dr};
|
|
231
231
|
}
|
|
232
232
|
`,kr=St`
|
|
233
233
|
.ft-typography--overline {
|
|
234
234
|
font-family: ${hr};
|
|
235
235
|
font-size: ${ur};
|
|
236
|
-
font-weight: ${
|
|
237
|
-
letter-spacing: ${
|
|
236
|
+
font-weight: ${gr};
|
|
237
|
+
letter-spacing: ${yr};
|
|
238
238
|
line-height: ${br};
|
|
239
239
|
text-transform: ${mr};
|
|
240
240
|
}
|
|
@@ -260,14 +260,14 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
260
260
|
line-height: ${e.lineHeight};
|
|
261
261
|
text-transform: ${e.textCase};
|
|
262
262
|
}
|
|
263
|
-
`}(t)))];var
|
|
263
|
+
`}(t)))];var Wr=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 Lr extends Mo{constructor(){super(...arguments),this.variant=$i.body1}render(){return this.element?Ni`
|
|
264
264
|
<${wi(this.element)}
|
|
265
265
|
class="ft-typography ft-typography--${this.variant}">
|
|
266
266
|
<slot></slot>
|
|
267
267
|
</${wi(this.element)}>
|
|
268
|
-
|
|
268
|
+
`:Ni`
|
|
269
269
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
270
|
-
`}}
|
|
270
|
+
`}}Lr.styles=[vr,Or,wr,Sr,Nr,$r,Cr,Er,kr,Rr,Ur,...Ir],Wr([$()],Lr.prototype,"element",void 0),Wr([$()],Lr.prototype,"variant",void 0),W("ft-typography")(Lr);const zr={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","",Ue.colorOutline),textColor:Ne.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:Ne.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:Ne.external(Ue.colorSurface,"Design system"),borderRadiusS:Ne.external(Ue.borderRadiusS,"Design system"),colorError:Ne.external(Ue.colorError,"Design system")},Kr=St`
|
|
271
271
|
.ft-input-label {
|
|
272
272
|
position: absolute;
|
|
273
273
|
inset: 0;
|
|
@@ -318,8 +318,8 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
318
318
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
319
319
|
max-width: calc(${zr.labelMaxWidth} - 2 * (${zr.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
320
320
|
text-overflow: ellipsis;
|
|
321
|
-
${
|
|
322
|
-
${
|
|
321
|
+
${$e(ar.fontSize,zr.fontSize)};
|
|
322
|
+
${$e(ar.lineHeight,zr.fontSize)};
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.ft-input-label--in-error .ft-input-label--text {
|
|
@@ -351,8 +351,8 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.ft-input-label--raised .ft-input-label--text {
|
|
354
|
-
${
|
|
355
|
-
${
|
|
354
|
+
${$e(ar.fontSize,zr.raisedFontSize)};
|
|
355
|
+
${$e(ar.lineHeight,zr.raisedFontSize)};
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
@@ -389,7 +389,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
389
389
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
390
390
|
border-top: none;
|
|
391
391
|
}
|
|
392
|
-
`;var Zr=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
|
|
392
|
+
`;var Zr=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 Fr extends Mo{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 ne`
|
|
393
393
|
<div class="${xi(t)}">
|
|
394
394
|
${this.text?ne`
|
|
395
395
|
<div class="ft-input-label--text ft-typography--caption">
|
|
@@ -398,7 +398,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
398
398
|
</div>
|
|
399
399
|
`:null}
|
|
400
400
|
</div>
|
|
401
|
-
`}}
|
|
401
|
+
`}}Fr.elementDefinitions={},Fr.styles=[Cr,Kr],Zr([$({type:String})],Fr.prototype,"text",void 0),Zr([$({type:Boolean})],Fr.prototype,"raised",void 0),Zr([$({type:Boolean})],Fr.prototype,"outlined",void 0),Zr([$({type:Boolean})],Fr.prototype,"disabled",void 0),Zr([$({type:Boolean})],Fr.prototype,"error",void 0),W("ft-input-label")(Fr);const Dr=Ne.extend("--ft-ripple-color","",Ue.colorContent),Br={color:Dr,backgroundColor:Ne.extend("--ft-ripple-background-color","",Dr),opacityContentOnSurfacePressed:Ne.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ne.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ne.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ne.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ne.create("--ft-ripple-border-radius","","SIZE","0px")},Ar=Ne.extend("--ft-ripple-color","",Ue.colorPrimary),Mr=Ar,Pr=Ne.extend("--ft-ripple-background-color","",Ar),Hr=Ne.extend("--ft-ripple-color","",Ue.colorSecondary),jr=Hr,Tr=Ne.extend("--ft-ripple-background-color","",Hr),_r=St`
|
|
402
402
|
:host {
|
|
403
403
|
display: contents;
|
|
404
404
|
}
|
|
@@ -521,7 +521,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
521
521
|
<div class="ft-ripple--background"></div>
|
|
522
522
|
<div class="ft-ripple--effect"></div>
|
|
523
523
|
</div>
|
|
524
|
-
`}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const 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()}}Jr.elementDefinitions={},Jr.styles=_r,Yr([N({type:Boolean})],Jr.prototype,"primary",void 0),Yr([N({type:Boolean})],Jr.prototype,"secondary",void 0),Yr([N({type:Boolean})],Jr.prototype,"unbounded",void 0),Yr([N({type:Boolean})],Jr.prototype,"activated",void 0),Yr([N({type:Boolean})],Jr.prototype,"selected",void 0),Yr([N({type:Boolean})],Jr.prototype,"disabled",void 0),Yr([C()],Jr.prototype,"hovered",void 0),Yr([C()],Jr.prototype,"focused",void 0),Yr([C()],Jr.prototype,"pressed",void 0),Yr([C()],Jr.prototype,"rippling",void 0),Yr([C()],Jr.prototype,"originX",void 0),Yr([C()],Jr.prototype,"originY",void 0),Yr([R(".ft-ripple")],Jr.prototype,"ripple",void 0),Yr([R(".ft-ripple--effect")],Jr.prototype,"rippleEffect",void 0),L("ft-ripple")(Jr),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.CHART_BAR_NORMALIZED="",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="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Gr||(Gr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]),Vr.ABW,Vr.AUDIO,Vr.AVI,Vr.CHM,Vr.CODE,Vr.CSV,Vr.DITA,Vr.EPUB,Vr.EXCEL,Vr.FLAC,Vr.GIF,Vr.GZIP,Vr.HTML,Vr.IMAGE,Vr.JPEG,Vr.JSON,Vr.M4A,Vr.MOV,Vr.MP3,Vr.MP4,Vr.OGG,Vr.PDF,Vr.PNG,Vr.POWERPOINT,Vr.RAR,Vr.STP,Vr.TEXT,Vr.UNKNOWN,Vr.VIDEO,Vr.WAV,Vr.WMA,Vr.WORD,Vr.XML,Vr.YAML,Vr.ZIP;const qr={size:$e.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:$e.extend("--ft-icon-fluid-topics-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:$e.extend("--ft-icon-file-format-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:$e.extend("--ft-icon-material-font-family","",$e.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:$e.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xr=St`
|
|
524
|
+
`}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const 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()}}Jr.elementDefinitions={},Jr.styles=_r,Yr([$({type:Boolean})],Jr.prototype,"primary",void 0),Yr([$({type:Boolean})],Jr.prototype,"secondary",void 0),Yr([$({type:Boolean})],Jr.prototype,"unbounded",void 0),Yr([$({type:Boolean})],Jr.prototype,"activated",void 0),Yr([$({type:Boolean})],Jr.prototype,"selected",void 0),Yr([$({type:Boolean})],Jr.prototype,"disabled",void 0),Yr([C()],Jr.prototype,"hovered",void 0),Yr([C()],Jr.prototype,"focused",void 0),Yr([C()],Jr.prototype,"pressed",void 0),Yr([C()],Jr.prototype,"rippling",void 0),Yr([C()],Jr.prototype,"originX",void 0),Yr([C()],Jr.prototype,"originY",void 0),Yr([R(".ft-ripple")],Jr.prototype,"ripple",void 0),Yr([R(".ft-ripple--effect")],Jr.prototype,"rippleEffect",void 0),W("ft-ripple")(Jr),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.CHART_BAR_NORMALIZED="",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="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Gr||(Gr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]),Vr.ABW,Vr.AUDIO,Vr.AVI,Vr.CHM,Vr.CODE,Vr.CSV,Vr.DITA,Vr.EPUB,Vr.EXCEL,Vr.FLAC,Vr.GIF,Vr.GZIP,Vr.HTML,Vr.IMAGE,Vr.JPEG,Vr.JSON,Vr.M4A,Vr.MOV,Vr.MP3,Vr.MP4,Vr.OGG,Vr.PDF,Vr.PNG,Vr.POWERPOINT,Vr.RAR,Vr.STP,Vr.TEXT,Vr.UNKNOWN,Vr.VIDEO,Vr.WAV,Vr.WMA,Vr.WORD,Vr.XML,Vr.YAML,Vr.ZIP;const qr={size:Ne.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ne.extend("--ft-icon-fluid-topics-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ne.extend("--ft-icon-file-format-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ne.extend("--ft-icon-material-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ne.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xr=St`
|
|
525
525
|
:host, i.ft-icon {
|
|
526
526
|
display: inline-flex;
|
|
527
527
|
align-items: center;
|
|
@@ -574,7 +574,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
574
574
|
${mi(this.resolvedIcon)}
|
|
575
575
|
<slot ?hidden=${e}></slot>
|
|
576
576
|
</i>
|
|
577
|
-
`}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 Qr.file_format:this.resolvedIcon=null!==(t=Vr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Qr.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=Gr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}en.elementDefinitions={},en.styles=Xr,tn([
|
|
577
|
+
`}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 Qr.file_format:this.resolvedIcon=null!==(t=Vr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Qr.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=Gr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}en.elementDefinitions={},en.styles=Xr,tn([$()],en.prototype,"variant",void 0),tn([$()],en.prototype,"value",void 0),tn([C()],en.prototype,"resolvedIcon",void 0),tn([R("slot")],en.prototype,"slottedContent",void 0),W("ft-icon")(en);const on={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","",Ue.colorOnSurface),helperColor:Ne.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:Ne.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:Ne.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ne.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:Ne.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ne.external(Ue.colorPrimary,"Design system"),borderRadiusS:Ne.external(Ue.borderRadiusS,"Design system"),elevation02:Ne.external(Ue.elevation02,"Design system"),colorError:Ne.external(Ue.colorError,"Design system")},rn=St`
|
|
578
578
|
*:focus {
|
|
579
579
|
outline: none;
|
|
580
580
|
}
|
|
@@ -601,13 +601,13 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
601
601
|
padding-right: ${on.horizontalSpacing};
|
|
602
602
|
gap: 8px;
|
|
603
603
|
color: ${on.selectedOptionColor};
|
|
604
|
-
${
|
|
604
|
+
${$e(Br.color,on.selectedOptionColor)};
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
.ft-select--input-panel,
|
|
608
608
|
.ft-select--option {
|
|
609
|
-
${
|
|
610
|
-
${
|
|
609
|
+
${$e(Br.opacityContentOnSurfaceHover,"0.08")};
|
|
610
|
+
${$e(Br.opacityContentOnSurfacePressed,"0.04")};
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
.ft-select--input-panel > *:not(ft-ripple),
|
|
@@ -626,11 +626,11 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
ft-input-label {
|
|
629
|
-
${
|
|
630
|
-
${
|
|
631
|
-
${
|
|
632
|
-
${
|
|
633
|
-
${
|
|
629
|
+
${$e(zr.fontSize,on.selectedOptionSize)};
|
|
630
|
+
${$e(zr.raisedFontSize,on.labelSize)};
|
|
631
|
+
${$e(zr.verticalSpacing,on.verticalSpacing)};
|
|
632
|
+
${$e(zr.horizontalSpacing,on.horizontalSpacing)};
|
|
633
|
+
${$e(zr.labelMaxWidth,`calc(100% - ${qr.size} - 8px)`)};
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.ft-select:not(.ft-select--disabled):focus-within ft-icon {
|
|
@@ -638,8 +638,8 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
.ft-select:not(.ft-select--disabled):focus-within ft-input-label {
|
|
641
|
-
${
|
|
642
|
-
${
|
|
641
|
+
${$e(zr.borderColor,on.colorPrimary)};
|
|
642
|
+
${$e(zr.textColor,on.colorPrimary)};
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
.ft-select--selected-option {
|
|
@@ -649,8 +649,8 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
649
649
|
overflow: hidden;
|
|
650
650
|
white-space: nowrap;
|
|
651
651
|
text-overflow: ellipsis;
|
|
652
|
-
${
|
|
653
|
-
${
|
|
652
|
+
${$e(Qi.fontSize,on.selectedOptionSize)};
|
|
653
|
+
${$e(Qi.lineHeight,on.selectedOptionSize)};
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.ft-select--in-error .ft-select--selected-option {
|
|
@@ -723,7 +723,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
723
723
|
.ft-select--in-error .ft-select--helper-text {
|
|
724
724
|
color: ${on.colorError};
|
|
725
725
|
}
|
|
726
|
-
`;var nn=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 an extends Mo{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ne``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}an.elementDefinitions={},nn([
|
|
726
|
+
`;var nn=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 an extends Mo{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ne``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}an.elementDefinitions={},nn([$({type:String})],an.prototype,"label",void 0),nn([$({type:Object,converter:t=>t})],an.prototype,"value",void 0),nn([$({type:Boolean,reflect:!0})],an.prototype,"selected",void 0);class sn extends Mo{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 ne`
|
|
727
727
|
<div class="${xi(l)}" part="container">
|
|
728
728
|
<div class="ft-select--main-panel" part="main-panel">
|
|
729
729
|
<ft-input-label text="${this.label}"
|
|
@@ -751,7 +751,7 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
751
751
|
part="options"
|
|
752
752
|
@keydown=${this.onOptionsKeyDown}
|
|
753
753
|
innerrole="listbox">
|
|
754
|
-
${
|
|
754
|
+
${yi(this.options,(t=>t.value),(t=>this.renderOption(t)))}
|
|
755
755
|
</div>
|
|
756
756
|
</div>
|
|
757
757
|
${this.helper?ne`
|
|
@@ -771,13 +771,13 @@ let bi=class extends li{constructor(t){if(super(t),this.et=et,t.type!==ai)throw
|
|
|
771
771
|
<ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
|
|
772
772
|
<span>${t.label}</span>
|
|
773
773
|
</div>
|
|
774
|
-
`}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(!I(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)}}sn.elementDefinitions={"ft-input-label":
|
|
774
|
+
`}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(!I(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)}}sn.elementDefinitions={"ft-input-label":Fr,"ft-typography":Lr,"ft-ripple":Jr,"ft-icon":en},sn.styles=[$r,Cr,rn],nn([$({type:String})],sn.prototype,"label",void 0),nn([$({type:String})],sn.prototype,"helper",void 0),nn([$({type:Boolean})],sn.prototype,"outlined",void 0),nn([$({type:Boolean})],sn.prototype,"disabled",void 0),nn([$({type:Boolean})],sn.prototype,"error",void 0),nn([$({type:Boolean})],sn.prototype,"fixedMenuPosition",void 0),nn([$({type:Array})],sn.prototype,"options",void 0),nn([C()],sn.prototype,"selectedOption",void 0),nn([C()],sn.prototype,"optionsDisplayed",void 0),nn([C()],sn.prototype,"focusOptions",void 0),nn([R(".ft-select")],sn.prototype,"container",void 0),nn([R(".ft-select--options")],sn.prototype,"optionsMenu",void 0),nn([R(".ft-select--input-panel")],sn.prototype,"mainPanel",void 0),nn([R(".ft-select--option:first-child")],sn.prototype,"firstOption",void 0),nn([R(".ft-select--option:focus")],sn.prototype,"focusedOption",void 0),nn([R(".ft-select--option.ft-select--option-selected")],sn.prototype,"selectedOptionElement",void 0),nn([R(".ft-select--option:last-child")],sn.prototype,"lastOption",void 0),nn([R("slot")],sn.prototype,"optionsSlot",void 0),W("ft-select")(sn),W("ft-select-option")(an);
|
|
775
775
|
/**
|
|
776
776
|
* @license
|
|
777
777
|
* Copyright 2018 Google LLC
|
|
778
778
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
779
779
|
*/
|
|
780
|
-
const ln={fontSize
|
|
780
|
+
const ln={fontSize:Ne.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Ne.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Ne.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ne.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Ne.extend("--ft-text-field-helper-color","",Ue.colorOnSurfaceMedium),colorPrimary:Ne.external(Ue.colorPrimary,"Design system"),colorOnSurface:Ne.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Ne.external(Ue.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Ne.external(Ue.borderRadiusS,"Design system"),colorError:Ne.external(Ue.colorError,"Design system"),prefixColor:Ne.extend("--ft-text-field-prefix-color","",Ue.colorOnSurfaceMedium),iconColor:Ne.extend("--ft-text-field-icon-color","",Ue.colorOnSurfaceMedium),floatingZIndex:Ne.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Ne.external(Ue.colorSurface,"Design system"),colorOutline:Ne.external(Ue.colorOutline,"Design system"),elevation02:Ne.external(Ue.elevation02,"Design system"),suggestSize:Ne.create("--ft-text-field-suggest-size","","SIZE","300px")},cn=St`
|
|
781
781
|
*:focus {
|
|
782
782
|
outline: none;
|
|
783
783
|
}
|
|
@@ -790,10 +790,10 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
ft-input-label {
|
|
793
|
-
${
|
|
794
|
-
${
|
|
795
|
-
${
|
|
796
|
-
${
|
|
793
|
+
${$e(zr.fontSize,ln.fontSize)};
|
|
794
|
+
${$e(zr.raisedFontSize,ln.labelSize)};
|
|
795
|
+
${$e(zr.verticalSpacing,ln.verticalSpacing)};
|
|
796
|
+
${$e(zr.horizontalSpacing,ln.horizontalSpacing)};
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
.ft-text-field--main-panel {
|
|
@@ -810,13 +810,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
810
810
|
overflow: hidden;
|
|
811
811
|
padding: 0 ${ln.horizontalSpacing};
|
|
812
812
|
|
|
813
|
-
${
|
|
814
|
-
${
|
|
813
|
+
${$e(Qi.fontSize,ln.fontSize)};
|
|
814
|
+
${$e(Qi.lineHeight,ln.fontSize)};
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
.ft-text-field--input-panel ft-ripple {
|
|
818
|
-
${
|
|
819
|
-
${
|
|
818
|
+
${$e(Br.opacityContentOnSurfaceHover,"0.08")};
|
|
819
|
+
${$e(Br.opacityContentOnSurfacePressed,"0.04")};
|
|
820
820
|
}
|
|
821
821
|
|
|
822
822
|
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
|
|
@@ -865,8 +865,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
868
|
-
${
|
|
869
|
-
${
|
|
868
|
+
${$e(zr.borderColor,ln.colorPrimary)};
|
|
869
|
+
${$e(zr.textColor,ln.colorPrimary)};
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
.ft-text-field--filled .ft-text-field--input-panel {
|
|
@@ -927,13 +927,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
927
927
|
}
|
|
928
928
|
|
|
929
929
|
.ft-text-field--with-icon {
|
|
930
|
-
${
|
|
930
|
+
${$e(zr.labelMaxWidth,`calc(100% - ${qr.size} - ${zr.horizontalSpacing})`)};
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
.ft-text-field--with-password ft-icon:hover {
|
|
934
934
|
cursor: pointer;
|
|
935
935
|
}
|
|
936
|
-
`;var
|
|
936
|
+
`;var pn=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 fn extends(ti(Mo,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Gr.EYE_SLASH,this.passwordRevealedIcon=Gr.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return ne`
|
|
937
937
|
<div class="${xi(t)}">
|
|
938
938
|
<div class="ft-text-field--main-panel"
|
|
939
939
|
@keydown=${this.handleKeyboardNavigation}
|
|
@@ -985,7 +985,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
985
985
|
.variant=${this.iconVariant}
|
|
986
986
|
.value=${this.icon}
|
|
987
987
|
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
988
|
-
`:se}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}
|
|
988
|
+
`:se}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}fn.elementDefinitions={"ft-input-label":Fr,"ft-ripple":Jr,"ft-typography":Lr,"ft-icon":en},fn.styles=[Nr,cn],pn([$()],fn.prototype,"label",void 0),pn([$({noAccessor:!0})],fn.prototype,"value",null),pn([C()],fn.prototype,"dispatchedValue",void 0),pn([$()],fn.prototype,"helper",void 0),pn([$({type:Boolean})],fn.prototype,"outlined",void 0),pn([$({type:Boolean})],fn.prototype,"disabled",void 0),pn([$({type:Boolean})],fn.prototype,"error",void 0),pn([$()],fn.prototype,"prefix",void 0),pn([$()],fn.prototype,"icon",void 0),pn([$()],fn.prototype,"passwordHiddenIcon",void 0),pn([$()],fn.prototype,"passwordRevealedIcon",void 0),pn([$()],fn.prototype,"iconVariant",void 0),pn([$({type:Boolean})],fn.prototype,"filterSuggestions",void 0),pn([$({type:Number})],fn.prototype,"maxLength",void 0),pn([$({type:Boolean})],fn.prototype,"password",void 0),pn([C()],fn.prototype,"focused",void 0),pn([C()],fn.prototype,"hidePassword",void 0),pn([C()],fn.prototype,"suggestionsOnTop",void 0),pn([C()],fn.prototype,"hideSuggestions",void 0),pn([C()],fn.prototype,"visibleSuggestions",void 0),pn([R(".ft-text-field--main-panel")],fn.prototype,"mainPanel",void 0),pn([R(".ft-text-field--input")],fn.prototype,"input",void 0),pn([R(".ft-text-field--suggestions")],fn.prototype,"suggestionsContainer",void 0),pn([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],fn.prototype,"suggestions",void 0);const dn=St`
|
|
989
989
|
.ft-text-field-suggestion {
|
|
990
990
|
position: relative;
|
|
991
991
|
padding: 8px 16px;
|
|
@@ -1010,7 +1010,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1010
1010
|
slot {
|
|
1011
1011
|
pointer-events: none;
|
|
1012
1012
|
}
|
|
1013
|
-
`;var hn=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 un extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class
|
|
1013
|
+
`;var hn=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 un extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class gn extends Mo{render(){return ne`
|
|
1014
1014
|
<div class="ft-text-field-suggestion"
|
|
1015
1015
|
tabindex="-1"
|
|
1016
1016
|
@keydown=${this.onKeyDown}
|
|
@@ -1022,7 +1022,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1022
1022
|
<slot></slot>
|
|
1023
1023
|
</ft-typography>
|
|
1024
1024
|
</div>
|
|
1025
|
-
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new un(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}
|
|
1025
|
+
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new un(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}gn.elementDefinitions={"ft-ripple":Jr,"ft-typography":Lr,"ft-icon":en},gn.styles=dn,hn([$()],gn.prototype,"value",void 0),hn([R(".ft-text-field-suggestion")],gn.prototype,"container",void 0),hn([U()],gn.prototype,"assignedNodes",void 0),W("ft-text-field")(fn),W("ft-text-field-suggestion")(gn);const yn={color:Ne.extend("--ft-loader-color","",Ue.colorPrimary),size:Ne.create("--ft-loader-size","","SIZE","80px")},bn=St`
|
|
1026
1026
|
:host {
|
|
1027
1027
|
line-height: 0;
|
|
1028
1028
|
}
|
|
@@ -1031,8 +1031,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1031
1031
|
display: inline-block;
|
|
1032
1032
|
position: relative;
|
|
1033
1033
|
|
|
1034
|
-
width: ${
|
|
1035
|
-
height: ${
|
|
1034
|
+
width: ${yn.size};
|
|
1035
|
+
height: ${yn.size};
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
.ft-loader div {
|
|
@@ -1041,7 +1041,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1041
1041
|
width: 25%;
|
|
1042
1042
|
height: 25%;
|
|
1043
1043
|
border-radius: 50%;
|
|
1044
|
-
background: ${
|
|
1044
|
+
background: ${yn.color};
|
|
1045
1045
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
@@ -1088,10 +1088,10 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1088
1088
|
transform: translate(0, 0);
|
|
1089
1089
|
}
|
|
1090
1090
|
100% {
|
|
1091
|
-
transform: translate(calc(0.35 * ${
|
|
1091
|
+
transform: translate(calc(0.35 * ${yn.size}), 0);
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
`,mn
|
|
1094
|
+
`,mn=Ne.extend("--ft-button-color","",Ue.colorPrimary),xn={backgroundColor:Ne.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:Ne.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:mn,fontSize:Ne.extend("--ft-button-font-size","",xr.fontSize),iconSize:Ne.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ne.extend("--ft-button-ripple-color","",mn),verticalPadding:Ne.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ne.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ne.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ne.external(Ue.colorOpacityDisabled,"Design system")},vn=Ne.extend("--ft-button-primary-color","",Ne.extend("--ft-button-color","",Ue.colorOnPrimary)),On={backgroundColor:Ne.extend("--ft-button-primary-background-color","",Ne.extend("--ft-button-background-color","",Ue.colorPrimary)),color:vn,rippleColor:Ne.extend("--ft-button-primary-ripple-color","",vn)},wn=Ne.extend("--ft-button-dense-border-radius","",Ne.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Sn=Ne.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Nn=Ne.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),$n=Ne.create("--ft-button-dense-icon-padding","","SIZE","4px"),Cn=[St`
|
|
1095
1095
|
:host {
|
|
1096
1096
|
display: inline-block;
|
|
1097
1097
|
max-width: 100%;
|
|
@@ -1133,8 +1133,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1133
1133
|
|
|
1134
1134
|
--ft-button-internal-line-height: max(calc(${xn.fontSize} + 2px), ${xn.iconSize});
|
|
1135
1135
|
--ft-button-internal-color: ${xn.color};
|
|
1136
|
-
${
|
|
1137
|
-
${
|
|
1136
|
+
${$e(qr.size,xn.iconSize)};
|
|
1137
|
+
${$e(Br.color,xn.rippleColor)};
|
|
1138
1138
|
|
|
1139
1139
|
border-radius: ${xn.borderRadius};
|
|
1140
1140
|
padding: ${xn.verticalPadding} ${xn.horizontalPadding};
|
|
@@ -1149,13 +1149,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
.ft-button.ft-button--dense {
|
|
1152
|
-
padding: ${Sn} ${
|
|
1152
|
+
padding: ${Sn} ${Nn};
|
|
1153
1153
|
border-radius: ${wn};
|
|
1154
|
-
gap: ${
|
|
1154
|
+
gap: ${$n};
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
1157
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
1158
|
-
padding: calc(${Sn} - 1px) calc(${
|
|
1158
|
+
padding: calc(${Sn} - 1px) calc(${Nn} - 1px);
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
.ft-button:not([disabled]):hover {
|
|
@@ -1178,7 +1178,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1178
1178
|
.ft-button.ft-button--primary {
|
|
1179
1179
|
background-color: ${On.backgroundColor};
|
|
1180
1180
|
--ft-button-internal-color: ${On.color};
|
|
1181
|
-
${
|
|
1181
|
+
${$e(Br.color,On.rippleColor)};
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
1184
|
.ft-button:focus {
|
|
@@ -1192,12 +1192,12 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1192
1192
|
text-overflow: ellipsis;
|
|
1193
1193
|
display: block;
|
|
1194
1194
|
margin: 0 ${xn.iconPadding};
|
|
1195
|
-
${
|
|
1196
|
-
${
|
|
1195
|
+
${$e(xr.fontSize,"1em")};
|
|
1196
|
+
${$e(xr.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
1199
|
.ft-button--dense .ft-button--label {
|
|
1200
|
-
margin: 0 ${
|
|
1200
|
+
margin: 0 ${$n};
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
1203
|
.ft-button--label[hidden] {
|
|
@@ -1215,7 +1215,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
1218
|
-
margin: 0 calc(${
|
|
1218
|
+
margin: 0 calc(${Nn} * -1);
|
|
1219
1219
|
padding: 0 ${Sn};
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
@@ -1225,10 +1225,10 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
ft-loader {
|
|
1228
|
-
${
|
|
1229
|
-
${
|
|
1228
|
+
${$e(yn.size,xn.iconSize)};
|
|
1229
|
+
${$e(yn.color,"var(--ft-button-internal-color)")};
|
|
1230
1230
|
}
|
|
1231
|
-
`,Ho],En
|
|
1231
|
+
`,Ho],En=Ne.create("--ft-tooltip-distance","","SIZE","4px"),kn=Ne.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Rn=Ne.create("--ft-tooltip-background-color","","COLOR","#666666"),Un=Ne.create("--ft-tooltip-z-index","","NUMBER","100"),In=Ne.external(Ue.borderRadiusS,"Design system"),Wn=Ne.create("--ft-tooltip-max-width","","SIZE","150px"),Ln=St`
|
|
1232
1232
|
.ft-tooltip--container {
|
|
1233
1233
|
display: block;
|
|
1234
1234
|
}
|
|
@@ -1243,7 +1243,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1243
1243
|
box-sizing: border-box;
|
|
1244
1244
|
overflow: hidden;
|
|
1245
1245
|
width: max-content;
|
|
1246
|
-
max-width: ${
|
|
1246
|
+
max-width: ${Wn};
|
|
1247
1247
|
text-align: center;
|
|
1248
1248
|
padding: ${En};
|
|
1249
1249
|
z-index: ${Un};
|
|
@@ -1257,7 +1257,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1257
1257
|
position: relative;
|
|
1258
1258
|
word-break: break-word;
|
|
1259
1259
|
}
|
|
1260
|
-
`;var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class
|
|
1260
|
+
`;var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kn extends Mo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
|
|
1261
1261
|
<div part="container"
|
|
1262
1262
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
1263
1263
|
@mouseenter=${this.onHover}
|
|
@@ -1275,14 +1275,14 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1275
1275
|
</div>
|
|
1276
1276
|
</div>
|
|
1277
1277
|
</div>
|
|
1278
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Uo(t,e,{platform:{...Ro,getOffsetParent:t=>Ro.getOffsetParent(t,Io)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ae(i,t),c={x:e,y:o},
|
|
1278
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Uo(t,e,{platform:{...Ro,getOffsetParent:t=>Ro.getOffsetParent(t,Io)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ae(i,t),c={x:e,y:o},p=await Je(t,l),f=Te(Me(r)),d=He(f);let h=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";h=Be(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";u=Be(u+p["y"===f?"top":"left"],u,u-p[t])}const g=s.fn({...t,[d]:h,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Xe({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Kn.elementDefinitions={"ft-typography":Lr},Kn.styles=Ln,zn([$()],Kn.prototype,"text",void 0),zn([$({type:Boolean})],Kn.prototype,"manual",void 0),zn([$({type:Boolean})],Kn.prototype,"inline",void 0),zn([$({type:Number})],Kn.prototype,"delay",void 0),zn([$()],Kn.prototype,"position",void 0),zn([U()],Kn.prototype,"slotNodes",void 0),zn([R(".ft-tooltip--container")],Kn.prototype,"container",void 0),zn([R(".ft-tooltip")],Kn.prototype,"tooltip",void 0),zn([R(".ft-tooltip--content")],Kn.prototype,"tooltipContent",void 0),zn([C()],Kn.prototype,"visible",void 0),zn([E({passive:!0})],Kn.prototype,"onTouch",null),zn([E({passive:!0})],Kn.prototype,"onHover",null),zn([E({passive:!0})],Kn.prototype,"onOut",null),zn([E({passive:!0})],Kn.prototype,"onClick",null),W("ft-tooltip")(Kn);class Zn extends Mo{render(){return ne`
|
|
1279
1279
|
<div class="ft-loader">
|
|
1280
1280
|
<div></div>
|
|
1281
1281
|
<div></div>
|
|
1282
1282
|
<div></div>
|
|
1283
1283
|
<div></div>
|
|
1284
1284
|
</div>
|
|
1285
|
-
`}}Zn.styles=bn,
|
|
1285
|
+
`}}Zn.styles=bn,W("ft-loader")(Zn);var Fn=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 Dn extends(ti(Mo,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(ne`
|
|
1286
1286
|
<button part="button"
|
|
1287
1287
|
class="${xi(this.buttonClasses)}"
|
|
1288
1288
|
aria-label="${this.getLabel()}"
|
|
@@ -1305,7 +1305,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1305
1305
|
</ft-tooltip>
|
|
1306
1306
|
`:t}resolveIcon(){return this.loading?ne`
|
|
1307
1307
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
|
|
1308
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":Jr,"ft-tooltip":
|
|
1308
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":Jr,"ft-tooltip":Kn,"ft-typography":Lr,"ft-icon":en,"ft-loader":Zn},Fn([$({type:String,reflect:!0})],Dn.prototype,"role",void 0),Fn([$()],Dn.prototype,"type",void 0),Fn([$({type:Boolean})],Dn.prototype,"disabled",void 0),Fn([$()],Dn.prototype,"label",void 0),Fn([$()],Dn.prototype,"icon",void 0),Fn([$()],Dn.prototype,"iconVariant",void 0),Fn([$({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Fn([$({type:Boolean})],Dn.prototype,"loading",void 0),Fn([$()],Dn.prototype,"tooltipPosition",void 0),Fn([$({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Fn([$({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Fn([R(".ft-button")],Dn.prototype,"button",void 0),Fn([R(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Bn=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 An extends Dn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}An.styles=[jo,Cn],Bn([$({type:Boolean})],An.prototype,"primary",void 0),Bn([$({type:Boolean})],An.prototype,"outlined",void 0),Bn([$({type:Boolean})],An.prototype,"dense",void 0),Bn([$({type:Boolean})],An.prototype,"round",void 0);const Mn=[St`
|
|
1309
1309
|
:host {
|
|
1310
1310
|
display: inline-block;
|
|
1311
1311
|
max-width: 100%;
|
|
@@ -1384,13 +1384,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1384
1384
|
/** Primary styles **/
|
|
1385
1385
|
|
|
1386
1386
|
.ft-button--primary {
|
|
1387
|
-
${
|
|
1387
|
+
${$e(yn.color,Re.primaryIconColor)};
|
|
1388
1388
|
|
|
1389
|
-
${
|
|
1390
|
-
${
|
|
1391
|
-
${
|
|
1392
|
-
${
|
|
1393
|
-
${
|
|
1389
|
+
${$e(Br.color,Re.primaryStateLayerColor)};
|
|
1390
|
+
${$e(Br.opacityContentOnSurfaceHover,Re.primaryStateLayerOpacityHover)};
|
|
1391
|
+
${$e(Br.opacityContentOnSurfaceFocused,Re.primaryStateLayerOpacityFocus)};
|
|
1392
|
+
${$e(Br.opacityContentOnSurfaceSelected,Re.primaryStateLayerOpacityActive)};
|
|
1393
|
+
${$e(Br.opacityContentOnSurfacePressed,Re.primaryStateLayerOpacityActive)};
|
|
1394
1394
|
|
|
1395
1395
|
background-color: ${Re.primaryBackgroundColor};
|
|
1396
1396
|
color: ${Re.primaryColor};
|
|
@@ -1408,13 +1408,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1408
1408
|
/** Secondary styles **/
|
|
1409
1409
|
|
|
1410
1410
|
.ft-button--secondary {
|
|
1411
|
-
${
|
|
1411
|
+
${$e(yn.color,Re.secondaryIconColor)};
|
|
1412
1412
|
|
|
1413
|
-
${
|
|
1414
|
-
${
|
|
1415
|
-
${
|
|
1416
|
-
${
|
|
1417
|
-
${
|
|
1413
|
+
${$e(Br.color,Re.secondaryStateLayerColor)};
|
|
1414
|
+
${$e(Br.opacityContentOnSurfaceHover,Re.secondaryStateLayerOpacityHover)};
|
|
1415
|
+
${$e(Br.opacityContentOnSurfaceFocused,Re.secondaryStateLayerOpacityFocus)};
|
|
1416
|
+
${$e(Br.opacityContentOnSurfaceSelected,Re.secondaryStateLayerOpacityActive)};
|
|
1417
|
+
${$e(Br.opacityContentOnSurfacePressed,Re.secondaryStateLayerOpacityActive)};
|
|
1418
1418
|
|
|
1419
1419
|
background-color: ${Re.secondaryBackgroundColor};
|
|
1420
1420
|
color: ${Re.secondaryColor};
|
|
@@ -1433,13 +1433,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1433
1433
|
/** Tertiary styles **/
|
|
1434
1434
|
|
|
1435
1435
|
.ft-button--tertiary {
|
|
1436
|
-
${
|
|
1436
|
+
${$e(yn.color,Re.tertiaryIconColor)};
|
|
1437
1437
|
|
|
1438
|
-
${
|
|
1439
|
-
${
|
|
1440
|
-
${
|
|
1441
|
-
${
|
|
1442
|
-
${
|
|
1438
|
+
${$e(Br.color,Re.tertiaryStateLayerColor)};
|
|
1439
|
+
${$e(Br.opacityContentOnSurfaceHover,Re.tertiaryStateLayerOpacityHover)};
|
|
1440
|
+
${$e(Br.opacityContentOnSurfaceFocused,Re.tertiaryStateLayerOpacityFocus)};
|
|
1441
|
+
${$e(Br.opacityContentOnSurfaceSelected,Re.tertiaryStateLayerOpacityActive)};
|
|
1442
|
+
${$e(Br.opacityContentOnSurfacePressed,Re.tertiaryStateLayerOpacityActive)};
|
|
1443
1443
|
|
|
1444
1444
|
background-color: ${Re.tertiaryBackgroundColor};
|
|
1445
1445
|
color: ${Re.tertiaryColor};
|
|
@@ -1457,13 +1457,13 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1457
1457
|
/** Neutral styles **/
|
|
1458
1458
|
|
|
1459
1459
|
.ft-button--neutral {
|
|
1460
|
-
${
|
|
1460
|
+
${$e(yn.color,Re.neutralIconColor)};
|
|
1461
1461
|
|
|
1462
|
-
${
|
|
1463
|
-
${
|
|
1464
|
-
${
|
|
1465
|
-
${
|
|
1466
|
-
${
|
|
1462
|
+
${$e(Br.backgroundColor,Re.neutralStateLayerColor)};
|
|
1463
|
+
${$e(Br.opacityContentOnSurfaceHover,Re.neutralStateLayerOpacityHover)};
|
|
1464
|
+
${$e(Br.opacityContentOnSurfaceFocused,Re.neutralStateLayerOpacityFocus)};
|
|
1465
|
+
${$e(Br.opacityContentOnSurfaceSelected,Re.neutralStateLayerOpacityActive)};
|
|
1466
|
+
${$e(Br.opacityContentOnSurfacePressed,Re.neutralStateLayerOpacityActive)};
|
|
1467
1467
|
|
|
1468
1468
|
background-color: ${Re.neutralBackgroundColor};
|
|
1469
1469
|
color: ${Re.neutralColor};
|
|
@@ -1481,8 +1481,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1481
1481
|
/** Large styles **/
|
|
1482
1482
|
|
|
1483
1483
|
.ft-button--large {
|
|
1484
|
-
${
|
|
1485
|
-
${
|
|
1484
|
+
${$e(qr.size,Re.largeIconSize)};
|
|
1485
|
+
${$e(yn.size,Re.largeIconSize)};
|
|
1486
1486
|
|
|
1487
1487
|
height: ${Re.largeHeight};
|
|
1488
1488
|
padding: 0 ${Re.largeHorizontalPadding};
|
|
@@ -1504,8 +1504,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1504
1504
|
/** Small styles **/
|
|
1505
1505
|
|
|
1506
1506
|
.ft-button--small {
|
|
1507
|
-
${
|
|
1508
|
-
${
|
|
1507
|
+
${$e(qr.size,Re.smallIconSize)};
|
|
1508
|
+
${$e(yn.size,Re.smallIconSize)};
|
|
1509
1509
|
|
|
1510
1510
|
height: ${Re.smallHeight};
|
|
1511
1511
|
padding: 0 ${Re.smallHorizontalPadding};
|
|
@@ -1523,7 +1523,7 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1523
1523
|
width: ${Re.smallIconOnlyWidth};
|
|
1524
1524
|
padding: unset;
|
|
1525
1525
|
}
|
|
1526
|
-
`,Ho];var Pn=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 Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small
|
|
1526
|
+
`,Ho];var Pn=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 Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?$i.caption1medium:$i.body2medium}}Hn.styles=[jo,Mn],Pn([$({type:Boolean})],Hn.prototype,"primary",void 0),Pn([$({type:Boolean})],Hn.prototype,"secondary",void 0),Pn([$({type:Boolean})],Hn.prototype,"tertiary",void 0),Pn([$({type:Boolean})],Hn.prototype,"neutral",void 0),Pn([$({type:Boolean})],Hn.prototype,"small",void 0),W("ft-button")(An),W("ftds-button")(Hn);class jn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Tn={headerBackground:Ne.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Ne.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Ne.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Ne.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Ne.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Ne.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Ne.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:Ne.external(Ue.titleFont,"Design system"),contentFont:Ne.external(Ue.contentFont,"Design system")},_n=St`
|
|
1527
1527
|
:host {
|
|
1528
1528
|
display: block;
|
|
1529
1529
|
}
|
|
@@ -1565,8 +1565,8 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
1567
|
.column-title-container ft-button {
|
|
1568
|
-
${
|
|
1569
|
-
${
|
|
1568
|
+
${$e(xn.backgroundColor,Tn.headerBackground)};
|
|
1569
|
+
${$e(xn.color,Tn.colorOnSurfaceHigh)};
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
.column-title {
|
|
@@ -1641,12 +1641,12 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1641
1641
|
</style>
|
|
1642
1642
|
<div class="table">
|
|
1643
1643
|
<div class="header">
|
|
1644
|
-
${
|
|
1644
|
+
${yi(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
|
|
1645
1645
|
</div>
|
|
1646
|
-
${
|
|
1646
|
+
${yi(t,((t,e)=>"row-"+e),((t,e)=>ne`
|
|
1647
1647
|
<div class="row"
|
|
1648
1648
|
@click=${()=>this.dispatchEvent(new jn(t))}>
|
|
1649
|
-
${
|
|
1649
|
+
${yi(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
|
|
1650
1650
|
</div>
|
|
1651
1651
|
`))}
|
|
1652
1652
|
</div>
|
|
@@ -1697,4 +1697,4 @@ const ln={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),label
|
|
|
1697
1697
|
part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
|
|
1698
1698
|
${(t=>{const e=n(t,i);return"string"==typeof e?mi(e):e})(this.getValue(t,o))}
|
|
1699
1699
|
</div>
|
|
1700
|
-
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Jn.styles=_n,Gn([
|
|
1700
|
+
`}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Jn.styles=_n,Gn([$({attribute:!1})],Jn.prototype,"data",void 0),Gn([$({attribute:!1})],Jn.prototype,"columns",void 0),Gn([$({attribute:!1})],Jn.prototype,"sort",void 0),Gn([$()],Jn.prototype,"stickyHeaders",void 0),Gn([C()],Jn.prototype,"currentSort",void 0),W("ft-filterable-table")(Jn),t.FtFilterableTable=Jn,t.FtFilterableTableCssVariables=Tn,t.RowClickEvent=jn,t.styles=_n}({});
|