@fluid-topics/ft-filterable-table 1.1.4 → 1.1.6

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.
@@ -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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(co){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);d(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(fo){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -38,12 +38,17 @@ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const C=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
41
+ */function C(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return C(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return C(0,0,{get(){return n(this)}})}}
46
+ */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
+ /**
48
+ * @license
49
+ * Copyright 2017 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
47
52
  /**
48
53
  * @license
49
54
  * Copyright 2021 Google LLC
@@ -54,45 +59,45 @@ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,
54
59
  * Copyright 2017 Google LLC
55
60
  * SPDX-License-Identifier: BSD-3-Clause
56
61
  */
57
- function k(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}class R{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function U(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
62
+ function R(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}class U{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function 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 L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
58
63
  /**
59
64
  * @license
60
65
  * Copyright 2017 Google LLC
61
66
  * SPDX-License-Identifier: BSD-3-Clause
62
67
  */
63
- const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,K="?"+Z,D=`<${K}>`,B=document,A=()=>B.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(e):e}const rt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?J:Y):a===J||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const p=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+Z+p):o+Z+(-2===c?e:p)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let nt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=rt(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?pt:"@"===i[1]?dt:ct}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===K)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=M(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=at(t,r._$AS(t,e.values),r,i)),e}let st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??B).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ht(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=B,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),M(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new nt(t)),e}T(e){P(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,e,0),n=!M(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!M(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},pt=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},dt=class extends ct{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ht=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const ut={j:F,P:Z,A:K,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:pt,N:dt,U:ft,B:ht},yt=L.litHtmlPolyfillSupport;yt?.(nt,lt),(L.litHtmlVersions??=[]).push("3.1.0");
68
+ const W=globalThis,z=W.trustedTypes,F=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,D="?"+K,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!==F?F.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,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=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 p=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+K+p):o+K+(-2===c?e:p)}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,f]=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=f[a++],o=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?pt:"?"===i[1]?dt:"@"===i[1]?ht:ft}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(X.test(r.tagName)){const t=r.textContent.split(K),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(K,t+1));)l.push({type:7,index:n}),t+=K.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))}},ft=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??"")}},pt=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},dt=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends ft{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 yt={j:Z,P:K,A:D,C:1,M:nt,L:lt,R:j,V:st,D:ct,I:ft,H:dt,N:ht,U:pt,B:ut},gt=W.litHtmlPolyfillSupport;gt?.(at,ct),(W.litHtmlVersions??=[]).push("3.1.0");
64
69
  /**
65
70
  * @license
66
71
  * Copyright 2019 Google LLC
67
72
  * SPDX-License-Identifier: BSD-3-Clause
68
73
  */
69
- const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=xt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),wt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new vt(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
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)},$t=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return wt(e)})(t):t
70
75
  /**
71
76
  * @license
72
77
  * Copyright 2017 Google LLC
73
78
  * SPDX-License-Identifier: BSD-3-Clause
74
- */,{is:$t,defineProperty:Nt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:kt,getPrototypeOf:Rt}=Object,Ut=globalThis,It=Ut.trustedTypes,Lt=It?It.emptyScript:"",Wt=Ut.reactiveElementPolyfillSupport,zt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Zt=(t,e)=>!$t(t,e),Kt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Dt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Kt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Ct(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Kt}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,e=[...Et(t),...kt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(St(t))}else void 0!==t&&e.push(St(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=gt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ft;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Zt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Dt.elementStyles=[],Dt.shadowRootOptions={mode:"open"},Dt[zt("elementProperties")]=new Map,Dt[zt("finalized")]=new Map,Wt?.({ReactiveElement:Dt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
79
+ */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:kt,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,It=globalThis,Lt=It.trustedTypes,Wt=Lt?Lt.emptyScript:"",zt=It.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Kt=(t,e)=>!Nt(t,e),Dt={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Kt};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(Ft("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(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("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($t(t))}else void 0!==t&&e.push($t(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??Kt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Ft("elementProperties")]=new Map,Bt[Ft("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(It.reactiveElementVersions??=[]).push("2.0.2");
75
80
  /**
76
81
  * @license
77
82
  * Copyright 2017 Google LLC
78
83
  * SPDX-License-Identifier: BSD-3-Clause
79
84
  */
80
- const Bt=globalThis,At=Bt.trustedTypes,Mt=At?At.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Ht,Tt=`<${jt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,te=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===qt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ie.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=te):void 0!==l[3]&&(a=te):a===te?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?te:'"'===l[3]?oe:ee):a===oe||a===ee?a=te:a===Xt||a===Qt?a=qt:(a=te,r=void 0);const p=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+Tt:c>=0?(i.push(s),o.slice(0,c)+Pt+o.slice(c)+Ht+p):o+Ht+(-2===c?e:p)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class pe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fe(t,e);if(this.el=pe.createElement(l,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=le.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const e=c[n++],o=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:ue}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ie.test(i.tagName)){const t=i.textContent.split(Ht),e=t.length-1;if(e>0){i.textContent=At?At.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Gt()),le.nextNode(),s.push({type:2,index:++r});i.append(t[e],Gt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,i){if(e===ne)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Vt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=de(t,r._$AS(t,e.values),r,i)),e}class he{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=de(this,t,e),Vt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ae&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=pe.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??_t).importNode(e,!0);le.currentNode=i;let r=le.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new he(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new me(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=le.nextNode(),n++)}return le.currentNode=_t,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new pe(t)),e}T(t){Yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new he(this.k(Gt()),this.k(Gt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=de(this,t,e,0),n=!Vt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=de(this,i[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}}class ge extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}}class be extends ue{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??ae)===ne)return;const o=this._$AH,i=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ae&&(o===ae||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class me{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}}const xe=Bt.litHtmlPolyfillSupport;xe?.(pe,he),(Bt.litHtmlVersions??=[]).push("3.1.0");
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 fe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}const pe=(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,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=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 p=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+p):o+jt+(-2===c?e:p)}return[fe(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]=pe(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]?ge:"?"===a[1]?be:"@"===a[1]?me:ye}),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(fe(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 ye{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 ge extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}}class be extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}}class me extends ye{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");
81
86
  /**
82
87
  * @license
83
88
  * Copyright 2017 Google LLC
84
89
  * SPDX-License-Identifier: BSD-3-Clause
85
90
  */
86
- let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const we=t=>"string"==typeof t?Ot(t):t;class Se{static create(t,e,o,i){const r=t=>we(null!=t?t:i),n=wt`var(${we(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>wt`var(${we(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=wt`var(${we(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>wt`var(${we(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):we(null!=e?e:t.lastResortDefaultValue()),i=wt`var(${we(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>wt`var(${we(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return we(`${t.name}: ${e}`)}const Ne={colorWhite:Se.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Se.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Se.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Se.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Se.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Se.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Se.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Se.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Se.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Se.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Se.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Se.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Se.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Se.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Se.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Se.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Se.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Se.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Se.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Se.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Se.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Se.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Se.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Se.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Se.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Se.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Se.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Se.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Se.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Se.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Se.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Se.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Se.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Se.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Se.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Se.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Se.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Se.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Se.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Se.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Se.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Se.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Se.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Se.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Se.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Se.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Se.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Se.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Se.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Se.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Se.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Se.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Se.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Se.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Se.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Se.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Se.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Se.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Se.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Se.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Se.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Se.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Se.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Se.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Se.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Se.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Se.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Se.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Se.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Se.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Se.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Se.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Se.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Se.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Se.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Se.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Se.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Se.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Se.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Se.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Se.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Se.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Se.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Se.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Se.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Se.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Se.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Se.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Se.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Se.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Se.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Se.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Se.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Se.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Se.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Se.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Se.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Se.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Se.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Se.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Se.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Se.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Se.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Se.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Se.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Se.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Se.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Se.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Se.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Se.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Se.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Se.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Se.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Se.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Se.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Se.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Se.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Se.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Se.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Se.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Se.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Se.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Se.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Se.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Se.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Se.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Se.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Se.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Se.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Se.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Se.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Se.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Se.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Se.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Se.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Se.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Se.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Se.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Se.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Se.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Se.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Se.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Se.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Se.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Se.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Se.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Se.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Se.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Se.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Se.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Se.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Se.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Se.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Se.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Se.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Se.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Se.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Se.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Se.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Se.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Se.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Se.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Se.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Se.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Se.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Se.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Se.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Se.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Se.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Se.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Se.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Se.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Se.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Se.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Se.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Se.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Se.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Se.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Se.create("--ft-opacity-0","","NUMBER","0"),opacity8:Se.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Se.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Se.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Se.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Se.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Se.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Se.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Se.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Se.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Se.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Se.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Se.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Se.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Se.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Se.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Se.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Se.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Se.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Se.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Se.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Se.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Se.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Se.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Se.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Se.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Se.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Se.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Se.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Se.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Se.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Se.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Se.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Se.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Se.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Se.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Se.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Se.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Se.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Se.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Se.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Se.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Se.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Se.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Se.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Se.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Se.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Se.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Se.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Se.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Se.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Se.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Se.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Se.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Se.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Se.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:Se.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:Se.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:Se.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:Se.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:Se.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:Se.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:Se.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:Se.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:Se.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:Se.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:Se.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:Se.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:Se.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:Se.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:Se.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:Se.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:Se.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:Se.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:Se.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:Se.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:Se.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:Se.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:Se.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:Se.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:Se.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:Se.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:Se.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:Se.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:Se.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:Se.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:Se.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:Se.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:Se.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},ke={largeHeight:Se.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Se.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:Se.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:Se.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:Se.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:Se.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Se.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Se.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Se.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Se.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Se.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:Se.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:Se.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:Se.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:Se.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Se.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Se.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Se.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Se.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:Se.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:Se.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:Se.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:Se.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:Se.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:Se.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:Se.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:Se.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:Se.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Se.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:Se.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:Se.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:Se.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:Se.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:Se.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:Se.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:Se.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Se.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:Se.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:Se.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:Se.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:Se.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:Se.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:Se.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:Se.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:Se.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Se.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:Se.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:Se.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:Se.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:Se.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:Se.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:Se.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};Se.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),Se.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),Se.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),Se.extend("--ft-tabs-label-gap","",Ne.spacing1),Se.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-group-gap","",Ne.spacing1),Se.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Se.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Se.create("--ft-switch-group-border-radius","","SIZE","6px"),Se.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),Se.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),Se.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),Se.create("--ft-switch-focus-outline-width","","SIZE","2px"),Se.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),Se.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),Se.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),Se.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Se.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),Se.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),Se.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),Se.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),Se.extend("--ft-chart-3-light","",Ne.colorUltramarine40),Se.extend("--ft-chart-3-base","",Ne.colorUltramarine70),Se.extend("--ft-chart-4-light","",Ne.colorCyan50),Se.extend("--ft-chart-4-base","",Ne.colorCyan100),Se.extend("--ft-chart-5-light","",Ne.colorRed40),Se.extend("--ft-chart-5-base","",Ne.colorRed60),Se.extend("--ft-chart-6-light","",Ne.colorGreen40),Se.extend("--ft-chart-6-base","",Ne.colorGreen70),Se.extend("--ft-chart-7-light","",Ne.colorOrange70),Se.extend("--ft-chart-7-base","",Ne.colorOrange100),Se.extend("--ft-chart-8-light","",Ne.colorAvocado70),Se.extend("--ft-chart-8-base","",Ne.colorAvocado200),Se.extend("--ft-chart-9-light","",Ne.colorBrown50),Se.extend("--ft-chart-9-base","",Ne.colorBrown200),Se.extend("--ft-chart-10-light","",Ne.colorGray50),Se.extend("--ft-chart-10-base","",Ne.colorGray80),Se.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),Se.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),Se.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),Se.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),Se.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),Se.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),Se.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),Se.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),Se.extend("--ft-chip-large-gap","",Ne.spacing1),Se.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-large-border-width","","SIZE","1px"),Se.extend("--ft-chip-large-icon-size","",Ne.iconSize3),Se.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),Se.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),Se.extend("--ft-chip-medium-gap","",Ne.spacing1),Se.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-medium-border-width","","SIZE","1px"),Se.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),Se.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),Se.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),Se.extend("--ft-chip-small-gap","",Ne.spacing1),Se.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Se.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Se.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),Se.create("--ft-chip-small-border-width","","SIZE","1px"),Se.extend("--ft-chip-small-icon-size","",Ne.iconSize1),Se.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Se.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Se.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Se.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Se.create("--ft-notice-border-width","","SIZE","1px"),Se.extend("--ft-notice-horizontal-padding","",Ne.spacing2),Se.extend("--ft-notice-vertical-padding","",Ne.spacing1),Se.extend("--ft-notice-border-radius","",Ne.borderRadiusS),Se.extend("--ft-notice-gap","",Ne.spacing2),Se.extend("--ft-notice-icon-size","",Ne.iconSize3),Se.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Se.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Se.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Se.extend("--ft-checkbox-gap","",Ne.spacing3),Se.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Se.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.extend("--ft-toggle-gap","",Ne.spacing3),Se.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Se.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Se.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),Se.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),Se.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),Se.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),Se.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Se.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Se.create("--ft-radio-focus-outline-width","","SIZE","2px"),Se.extend("--ft-radio-gap","",Ne.spacing3),Se.extend("--ft-notification-icon-size","",Ne.iconSize4),Se.extend("--ft-notification-horizontal-padding","",Ne.spacing4),Se.extend("--ft-notification-vertical-padding","",Ne.spacing4),Se.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Se.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Se.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Se.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Se.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Se.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Se.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Se.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Se.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Se.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Se.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Se.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Se.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),Se.create("--ft-notification-border-width","","SIZE","1px"),Se.extend("--ft-notification-gap-leading","",Ne.spacing2),Se.extend("--ft-notification-gap-trailing","",Ne.spacing8);const Re={colorPrimary:Se.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Se.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Se.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Se.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Se.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Se.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Se.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Se.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Se.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Se.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Se.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Se.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Se.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Se.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Se.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Se.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Se.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Se.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Se.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Se.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Se.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Se.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Se.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Se.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Se.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Se.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Se.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Se.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Se.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Se.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Se.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Se.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Se.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Se.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Se.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Se.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Se.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Se.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Se.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Se.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Se.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Se.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Se.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Se.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Se.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Se.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Se.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Se.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Se.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Se.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Se.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Se.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Se.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Se.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Se.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Se.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Se.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Se.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Se.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Se.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Se.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Se.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
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=window,Le=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
87
92
  /**
88
93
  * @license
89
94
  * Copyright 2019 Google LLC
90
95
  * SPDX-License-Identifier: BSD-3-Clause
91
- */class Le extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var We,ze=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fe=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class De extends Le{constructor(){super(),this[We]=new R(5),this[Ze]=this.constructor.name,this[Fe]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Fe])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}We=Ke,ze([$()],De.prototype,"exportpartsPrefix",void 0),ze([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!U(t,e),...null!=e?e:{}})}([])],De.prototype,"exportpartsPrefixes",void 0),ze([$()],De.prototype,"customStylesheet",void 0);const Be=Se.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
96
+ */class We 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)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ie.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ze,Fe=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 Ze=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Be extends We{constructor(){super(),this[ze]=new U(5),this[Ke]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[Ze])}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[De].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ze=De,Fe([$()],Be.prototype,"exportpartsPrefix",void 0),Fe([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:{}})}([])],Be.prototype,"exportpartsPrefixes",void 0),Fe([$()],Be.prototype,"customStylesheet",void 0);const Ae=$e.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
92
97
  .highlight-html-match {
93
- background: ${Be};
98
+ background: ${Ae};
94
99
  }
95
- `;const Ae=wt`
100
+ `;const Me=St`
96
101
  .ft-no-text-select {
97
102
  -webkit-touch-callout: none;
98
103
  -webkit-user-select: none;
@@ -101,7 +106,7 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
101
106
  -ms-user-select: none;
102
107
  user-select: none;
103
108
  }
104
- `;wt`
109
+ `;St`
105
110
  .ft-word-wrap {
106
111
  white-space: normal;
107
112
  word-wrap: break-word;
@@ -113,7 +118,7 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
113
118
  -webkit-hyphens: auto;
114
119
  hyphens: auto
115
120
  }
116
- `;const Me=wt`
121
+ `;const Pe=St`
117
122
  .ft-safari-ellipsis-fix {
118
123
  margin-right: 0;
119
124
 
@@ -124,17 +129,17 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
124
129
  display: inline-block;
125
130
  width: 0;
126
131
  }
127
- `;window.ftReduxStores||(window.ftReduxStores={});const Pe=Symbol("elementInternals");function He(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pe].form}constructor(...t){super(t),this[Pe]=this.attachInternals(),this[Pe].role=e}setFormValue(t){this[Pe].setFormValue(t)}}}var je,Te,_e;const Ge=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_e=null===(Te=null===(je=window.safari)||void 0===je?void 0:je.pushNotification)||void 0===Te?void 0:Te.toString())&&void 0!==_e?_e:""),Ve=1,Ye=2,Je=t=>(...e)=>({_$litDirective$:t,values:e});
132
+ `;window.ftReduxStores||(window.ftReduxStores={});const He=Symbol("elementInternals");function je(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[He].form}constructor(...t){super(t),this[He]=this.attachInternals(),this[He].role=e}setFormValue(t){this[He].setFormValue(t)}}}var Te,_e,Ge;const Ve=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ge=null===(_e=null===(Te=window.safari)||void 0===Te?void 0:Te.pushNotification)||void 0===_e?void 0:_e.toString())&&void 0!==Ge?Ge:""),Ye=1,Je=2,qe=t=>(...e)=>({_$litDirective$:t,values:e});
128
133
  /**
129
134
  * @license
130
135
  * Copyright 2017 Google LLC
131
136
  * SPDX-License-Identifier: BSD-3-Clause
132
- */let qe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
137
+ */let Xe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
133
138
  /**
134
139
  * @license
135
140
  * Copyright 2020 Google LLC
136
141
  * SPDX-License-Identifier: BSD-3-Clause
137
- */const{D:Xe}=ut,Qe=()=>document.createComment(""),to=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Qe(),r),n=i.insertBefore(Qe(),r);o=new Xe(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},eo=(t,e,o=t)=>(t._$AI(e,o),t),oo={},io=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ro=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},no=Je(class extends qe{constructor(t){if(super(t),t.type!==Ye)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=r.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===r[p])p++;else if(null===r[d])d--;else if(s[p]===a[h])l[h]=eo(r[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=eo(r[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=eo(r[p],n[u]),to(t,l[u+1],r[p]),p++,u--;else if(s[d]===a[h])l[h]=eo(r[d],n[h]),to(t,r[p],r[d]),d--,h++;else if(void 0===c&&(c=ro(a,h,u),f=ro(s,p,d)),c.has(s[p]))if(c.has(s[d])){const e=f.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=to(t,r[p]);eo(e,n[h]),l[h]=e}else l[h]=eo(o,n[h]),to(t,r[p],o),r[e]=null;h++}else io(r[d]),d--;else io(r[p]),p++;for(;h<=u;){const e=to(t,l[u+1]);eo(e,n[h]),l[h++]=e}for(;p<=d;){const t=r[p++];null!==t&&io(t)}return this.dt=a,((t,e=oo)=>{t._$AH=e})(t,l),Q}});
142
+ */const{D:Qe}=yt,to=()=>document.createComment(""),eo=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(to(),r),n=i.insertBefore(to(),r);o=new Qe(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},oo=(t,e,o=t)=>(t._$AI(e,o),t),io={},ro=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}},no=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},ao=qe(class extends Xe{constructor(t){if(super(t),t.type!==Je)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=r.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===r[p])p++;else if(null===r[d])d--;else if(s[p]===a[h])l[h]=oo(r[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=oo(r[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=oo(r[p],n[u]),eo(t,l[u+1],r[p]),p++,u--;else if(s[d]===a[h])l[h]=oo(r[d],n[h]),eo(t,r[p],r[d]),d--,h++;else if(void 0===c&&(c=no(a,h,u),f=no(s,p,d)),c.has(s[p]))if(c.has(s[d])){const e=f.get(a[h]),o=void 0!==e?r[e]:null;if(null===o){const e=eo(t,r[p]);oo(e,n[h]),l[h]=e}else l[h]=oo(o,n[h]),eo(t,r[p],o),r[e]=null;h++}else ro(r[d]),d--;else ro(r[p]),p++;for(;h<=u;){const e=eo(t,l[u+1]);oo(e,n[h]),l[h++]=e}for(;p<=d;){const t=r[p++];null!==t&&ro(t)}return this.dt=a,((t,e=io)=>{t._$AH=e})(t,l),tt}});
138
143
  /**
139
144
  * @license
140
145
  * Copyright 2017 Google LLC
@@ -145,108 +150,108 @@ let ve=class extends Dt{constructor(){super(...arguments),this.renderOptions={ho
145
150
  * Copyright 2017 Google LLC
146
151
  * SPDX-License-Identifier: BSD-3-Clause
147
152
  */
148
- let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};ao.directiveName="unsafeHTML",ao.resultType=1;const so=Je(ao),lo=Je(class extends qe{constructor(t){if(super(t),t.type!==Ve||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),co=Symbol.for(""),fo=t=>{if(t?.r===co)return t?._$litStatic$},po=t=>({_$litStatic$:t,r:co}),ho=new Map,uo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=fo(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ho.get(t))&&(a.raw=a,ho.set(t,e=a)),o=s}return t(e,...o)})(X);
153
+ let so=class extends Xe{constructor(t){if(super(t),this.et=et,t.type!==Je)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:[]}}};so.directiveName="unsafeHTML",so.resultType=1;const lo=qe(so),co=qe(class extends Xe{constructor(t){if(super(t),t.type!==Ye||"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}}),fo=Symbol.for(""),po=t=>{if(t?.r===fo)return t?._$litStatic$},ho=t=>({_$litStatic$:t,r:fo}),uo=new Map,yo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=po(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=uo.get(t))&&(a.raw=a,uo.set(t,e=a)),o=s}return t(e,...o)})(Q);
149
154
  /**
150
155
  * @license
151
156
  * Copyright 2018 Google LLC
152
157
  * SPDX-License-Identifier: BSD-3-Clause
153
- */var yo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(yo||(yo={}));const go=Se.extend("--ft-typography-font-family","",Re.titleFont),bo=Se.extend("--ft-typography-font-family","",Re.contentFont),mo={fontFamily:bo,fontSize:Se.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Se.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Se.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Se.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Se.create("--ft-typography-text-transform","","UNKNOWN","inherit")},xo=Se.extend("--ft-typography-title-font-family","",go),vo=Se.extend("--ft-typography-title-font-size","",mo.fontSize,"20px"),Oo=Se.extend("--ft-typography-title-font-weight","",mo.fontWeight,"normal"),wo=Se.extend("--ft-typography-title-letter-spacing","",mo.letterSpacing,"0.15px"),So=Se.extend("--ft-typography-title-line-height","",mo.lineHeight,"1.2"),$o=Se.extend("--ft-typography-title-text-transform","",mo.textTransform,"inherit"),No=Se.extend("--ft-typography-title-dense-font-family","",go),Co=Se.extend("--ft-typography-title-dense-font-size","",mo.fontSize,"14px"),Eo=Se.extend("--ft-typography-title-dense-font-weight","",mo.fontWeight,"normal"),ko=Se.extend("--ft-typography-title-dense-letter-spacing","",mo.letterSpacing,"0.105px"),Ro=Se.extend("--ft-typography-title-dense-line-height","",mo.lineHeight,"1.7"),Uo=Se.extend("--ft-typography-title-dense-text-transform","",mo.textTransform,"inherit"),Io=Se.extend("--ft-typography-subtitle1-font-family","",bo),Lo=Se.extend("--ft-typography-subtitle1-font-size","",mo.fontSize,"16px"),Wo=Se.extend("--ft-typography-subtitle1-font-weight","",mo.fontWeight,"600"),zo=Se.extend("--ft-typography-subtitle1-letter-spacing","",mo.letterSpacing,"0.144px"),Fo=Se.extend("--ft-typography-subtitle1-line-height","",mo.lineHeight,"1.5"),Zo=Se.extend("--ft-typography-subtitle1-text-transform","",mo.textTransform,"inherit"),Ko=Se.extend("--ft-typography-subtitle2-font-family","",bo),Do=Se.extend("--ft-typography-subtitle2-font-size","",mo.fontSize,"14px"),Bo=Se.extend("--ft-typography-subtitle2-font-weight","",mo.fontWeight,"normal"),Ao=Se.extend("--ft-typography-subtitle2-letter-spacing","",mo.letterSpacing,"0.098px"),Mo=Se.extend("--ft-typography-subtitle2-line-height","",mo.lineHeight,"1.7"),Po=Se.extend("--ft-typography-subtitle2-text-transform","",mo.textTransform,"inherit"),Ho={fontFamily:Se.extend("--ft-typography-body1-font-family","",bo),fontSize:Se.extend("--ft-typography-body1-font-size","",mo.fontSize,"16px"),fontWeight:Se.extend("--ft-typography-body1-font-weight","",mo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-body1-letter-spacing","",mo.letterSpacing,"0.496px"),lineHeight:Se.extend("--ft-typography-body1-line-height","",mo.lineHeight,"1.5"),textTransform:Se.extend("--ft-typography-body1-text-transform","",mo.textTransform,"inherit")},jo=Se.extend("--ft-typography-body2-font-family","",bo),To=Se.extend("--ft-typography-body2-font-size","",mo.fontSize,"14px"),_o=Se.extend("--ft-typography-body2-font-weight","",mo.fontWeight,"normal"),Go=Se.extend("--ft-typography-body2-letter-spacing","",mo.letterSpacing,"0.252px"),Vo=Se.extend("--ft-typography-body2-line-height","",mo.lineHeight,"1.4"),Yo=Se.extend("--ft-typography-body2-text-transform","",mo.textTransform,"inherit"),Jo={fontFamily:Se.extend("--ft-typography-caption-font-family","",bo),fontSize:Se.extend("--ft-typography-caption-font-size","",mo.fontSize,"12px"),fontWeight:Se.extend("--ft-typography-caption-font-weight","",mo.fontWeight,"normal"),letterSpacing:Se.extend("--ft-typography-caption-letter-spacing","",mo.letterSpacing,"0.396px"),lineHeight:Se.extend("--ft-typography-caption-line-height","",mo.lineHeight,"1.33"),textTransform:Se.extend("--ft-typography-caption-text-transform","",mo.textTransform,"inherit")},qo=Se.extend("--ft-typography-breadcrumb-font-family","",bo),Xo=Se.extend("--ft-typography-breadcrumb-font-size","",mo.fontSize,"10px"),Qo=Se.extend("--ft-typography-breadcrumb-font-weight","",mo.fontWeight,"normal"),ti=Se.extend("--ft-typography-breadcrumb-letter-spacing","",mo.letterSpacing,"0.33px"),ei=Se.extend("--ft-typography-breadcrumb-line-height","",mo.lineHeight,"1.6"),oi=Se.extend("--ft-typography-breadcrumb-text-transform","",mo.textTransform,"inherit"),ii=Se.extend("--ft-typography-overline-font-family","",bo),ri=Se.extend("--ft-typography-overline-font-size","",mo.fontSize,"10px"),ni=Se.extend("--ft-typography-overline-font-weight","",mo.fontWeight,"normal"),ai=Se.extend("--ft-typography-overline-letter-spacing","",mo.letterSpacing,"1.5px"),si=Se.extend("--ft-typography-overline-line-height","",mo.lineHeight,"1.6"),li=Se.extend("--ft-typography-overline-text-transform","",mo.textTransform,"uppercase"),ci={fontFamily:Se.extend("--ft-typography-button-font-family","",bo),fontSize:Se.extend("--ft-typography-button-font-size","",mo.fontSize,"14px"),fontWeight:Se.extend("--ft-typography-button-font-weight","",mo.fontWeight,"600"),letterSpacing:Se.extend("--ft-typography-button-letter-spacing","",mo.letterSpacing,"1.246px"),lineHeight:Se.extend("--ft-typography-button-line-height","",mo.lineHeight,"1.15"),textTransform:Se.extend("--ft-typography-button-text-transform","",mo.textTransform,"uppercase")},fi=wt`
158
+ */var go;!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"}(go||(go={}));const bo=$e.extend("--ft-typography-font-family","",Ue.titleFont),mo=$e.extend("--ft-typography-font-family","",Ue.contentFont),xo={fontFamily:mo,fontSize:$e.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:$e.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:$e.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:$e.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:$e.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vo=$e.extend("--ft-typography-title-font-family","",bo),Oo=$e.extend("--ft-typography-title-font-size","",xo.fontSize,"20px"),wo=$e.extend("--ft-typography-title-font-weight","",xo.fontWeight,"normal"),So=$e.extend("--ft-typography-title-letter-spacing","",xo.letterSpacing,"0.15px"),$o=$e.extend("--ft-typography-title-line-height","",xo.lineHeight,"1.2"),No=$e.extend("--ft-typography-title-text-transform","",xo.textTransform,"inherit"),Co=$e.extend("--ft-typography-title-dense-font-family","",bo),Eo=$e.extend("--ft-typography-title-dense-font-size","",xo.fontSize,"14px"),ko=$e.extend("--ft-typography-title-dense-font-weight","",xo.fontWeight,"normal"),Ro=$e.extend("--ft-typography-title-dense-letter-spacing","",xo.letterSpacing,"0.105px"),Uo=$e.extend("--ft-typography-title-dense-line-height","",xo.lineHeight,"1.7"),Io=$e.extend("--ft-typography-title-dense-text-transform","",xo.textTransform,"inherit"),Lo=$e.extend("--ft-typography-subtitle1-font-family","",mo),Wo=$e.extend("--ft-typography-subtitle1-font-size","",xo.fontSize,"16px"),zo=$e.extend("--ft-typography-subtitle1-font-weight","",xo.fontWeight,"600"),Fo=$e.extend("--ft-typography-subtitle1-letter-spacing","",xo.letterSpacing,"0.144px"),Zo=$e.extend("--ft-typography-subtitle1-line-height","",xo.lineHeight,"1.5"),Ko=$e.extend("--ft-typography-subtitle1-text-transform","",xo.textTransform,"inherit"),Do=$e.extend("--ft-typography-subtitle2-font-family","",mo),Bo=$e.extend("--ft-typography-subtitle2-font-size","",xo.fontSize,"14px"),Ao=$e.extend("--ft-typography-subtitle2-font-weight","",xo.fontWeight,"normal"),Mo=$e.extend("--ft-typography-subtitle2-letter-spacing","",xo.letterSpacing,"0.098px"),Po=$e.extend("--ft-typography-subtitle2-line-height","",xo.lineHeight,"1.7"),Ho=$e.extend("--ft-typography-subtitle2-text-transform","",xo.textTransform,"inherit"),jo={fontFamily:$e.extend("--ft-typography-body1-font-family","",mo),fontSize:$e.extend("--ft-typography-body1-font-size","",xo.fontSize,"16px"),fontWeight:$e.extend("--ft-typography-body1-font-weight","",xo.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-body1-letter-spacing","",xo.letterSpacing,"0.496px"),lineHeight:$e.extend("--ft-typography-body1-line-height","",xo.lineHeight,"1.5"),textTransform:$e.extend("--ft-typography-body1-text-transform","",xo.textTransform,"inherit")},To=$e.extend("--ft-typography-body2-font-family","",mo),_o=$e.extend("--ft-typography-body2-font-size","",xo.fontSize,"14px"),Go=$e.extend("--ft-typography-body2-font-weight","",xo.fontWeight,"normal"),Vo=$e.extend("--ft-typography-body2-letter-spacing","",xo.letterSpacing,"0.252px"),Yo=$e.extend("--ft-typography-body2-line-height","",xo.lineHeight,"1.4"),Jo=$e.extend("--ft-typography-body2-text-transform","",xo.textTransform,"inherit"),qo={fontFamily:$e.extend("--ft-typography-caption-font-family","",mo),fontSize:$e.extend("--ft-typography-caption-font-size","",xo.fontSize,"12px"),fontWeight:$e.extend("--ft-typography-caption-font-weight","",xo.fontWeight,"normal"),letterSpacing:$e.extend("--ft-typography-caption-letter-spacing","",xo.letterSpacing,"0.396px"),lineHeight:$e.extend("--ft-typography-caption-line-height","",xo.lineHeight,"1.33"),textTransform:$e.extend("--ft-typography-caption-text-transform","",xo.textTransform,"inherit")},Xo=$e.extend("--ft-typography-breadcrumb-font-family","",mo),Qo=$e.extend("--ft-typography-breadcrumb-font-size","",xo.fontSize,"10px"),ti=$e.extend("--ft-typography-breadcrumb-font-weight","",xo.fontWeight,"normal"),ei=$e.extend("--ft-typography-breadcrumb-letter-spacing","",xo.letterSpacing,"0.33px"),oi=$e.extend("--ft-typography-breadcrumb-line-height","",xo.lineHeight,"1.6"),ii=$e.extend("--ft-typography-breadcrumb-text-transform","",xo.textTransform,"inherit"),ri=$e.extend("--ft-typography-overline-font-family","",mo),ni=$e.extend("--ft-typography-overline-font-size","",xo.fontSize,"10px"),ai=$e.extend("--ft-typography-overline-font-weight","",xo.fontWeight,"normal"),si=$e.extend("--ft-typography-overline-letter-spacing","",xo.letterSpacing,"1.5px"),li=$e.extend("--ft-typography-overline-line-height","",xo.lineHeight,"1.6"),ci=$e.extend("--ft-typography-overline-text-transform","",xo.textTransform,"uppercase"),fi={fontFamily:$e.extend("--ft-typography-button-font-family","",mo),fontSize:$e.extend("--ft-typography-button-font-size","",xo.fontSize,"14px"),fontWeight:$e.extend("--ft-typography-button-font-weight","",xo.fontWeight,"600"),letterSpacing:$e.extend("--ft-typography-button-letter-spacing","",xo.letterSpacing,"1.246px"),lineHeight:$e.extend("--ft-typography-button-line-height","",xo.lineHeight,"1.15"),textTransform:$e.extend("--ft-typography-button-text-transform","",xo.textTransform,"uppercase")},pi=St`
154
159
  .ft-typography--title {
155
- font-family: ${xo};
156
- font-size: ${vo};
157
- font-weight: ${Oo};
158
- letter-spacing: ${wo};
159
- line-height: ${So};
160
- text-transform: ${$o};
161
- }
162
- `,pi=wt`
160
+ font-family: ${vo};
161
+ font-size: ${Oo};
162
+ font-weight: ${wo};
163
+ letter-spacing: ${So};
164
+ line-height: ${$o};
165
+ text-transform: ${No};
166
+ }
167
+ `,di=St`
163
168
  .ft-typography--title-dense {
164
- font-family: ${No};
165
- font-size: ${Co};
166
- font-weight: ${Eo};
167
- letter-spacing: ${ko};
168
- line-height: ${Ro};
169
- text-transform: ${Uo};
170
- }
171
- `,di=wt`
169
+ font-family: ${Co};
170
+ font-size: ${Eo};
171
+ font-weight: ${ko};
172
+ letter-spacing: ${Ro};
173
+ line-height: ${Uo};
174
+ text-transform: ${Io};
175
+ }
176
+ `,hi=St`
172
177
  .ft-typography--subtitle1 {
173
- font-family: ${Io};
174
- font-size: ${Lo};
175
- font-weight: ${Wo};
176
- letter-spacing: ${zo};
177
- line-height: ${Fo};
178
- text-transform: ${Zo};
179
- }
180
- `,hi=wt`
178
+ font-family: ${Lo};
179
+ font-size: ${Wo};
180
+ font-weight: ${zo};
181
+ letter-spacing: ${Fo};
182
+ line-height: ${Zo};
183
+ text-transform: ${Ko};
184
+ }
185
+ `,ui=St`
181
186
  .ft-typography--subtitle2 {
182
- font-family: ${Ko};
183
- font-size: ${Do};
184
- font-weight: ${Bo};
185
- letter-spacing: ${Ao};
186
- line-height: ${Mo};
187
- text-transform: ${Po};
187
+ font-family: ${Do};
188
+ font-size: ${Bo};
189
+ font-weight: ${Ao};
190
+ letter-spacing: ${Mo};
191
+ line-height: ${Po};
192
+ text-transform: ${Ho};
188
193
  }
189
194
 
190
- `,ui=wt`
195
+ `,yi=St`
191
196
  .ft-typography--body1 {
192
- font-family: ${Ho.fontFamily};
193
- font-size: ${Ho.fontSize};
194
- font-weight: ${Ho.fontWeight};
195
- letter-spacing: ${Ho.letterSpacing};
196
- line-height: ${Ho.lineHeight};
197
- text-transform: ${Ho.textTransform};
198
- }
199
- `,yi=wt`
197
+ font-family: ${jo.fontFamily};
198
+ font-size: ${jo.fontSize};
199
+ font-weight: ${jo.fontWeight};
200
+ letter-spacing: ${jo.letterSpacing};
201
+ line-height: ${jo.lineHeight};
202
+ text-transform: ${jo.textTransform};
203
+ }
204
+ `,gi=St`
200
205
  .ft-typography--body2 {
201
- font-family: ${jo};
202
- font-size: ${To};
203
- font-weight: ${_o};
204
- letter-spacing: ${Go};
205
- line-height: ${Vo};
206
- text-transform: ${Yo};
207
- }
208
- `,gi=wt`
206
+ font-family: ${To};
207
+ font-size: ${_o};
208
+ font-weight: ${Go};
209
+ letter-spacing: ${Vo};
210
+ line-height: ${Yo};
211
+ text-transform: ${Jo};
212
+ }
213
+ `,bi=St`
209
214
  .ft-typography--caption {
210
- font-family: ${Jo.fontFamily};
211
- font-size: ${Jo.fontSize};
212
- font-weight: ${Jo.fontWeight};
213
- letter-spacing: ${Jo.letterSpacing};
214
- line-height: ${Jo.lineHeight};
215
- text-transform: ${Jo.textTransform};
216
- }
217
- `,bi=wt`
215
+ font-family: ${qo.fontFamily};
216
+ font-size: ${qo.fontSize};
217
+ font-weight: ${qo.fontWeight};
218
+ letter-spacing: ${qo.letterSpacing};
219
+ line-height: ${qo.lineHeight};
220
+ text-transform: ${qo.textTransform};
221
+ }
222
+ `,mi=St`
218
223
  .ft-typography--breadcrumb {
219
- font-family: ${qo};
220
- font-size: ${Xo};
221
- font-weight: ${Qo};
222
- letter-spacing: ${ti};
223
- line-height: ${ei};
224
- text-transform: ${oi};
225
- }
226
- `,mi=wt`
224
+ font-family: ${Xo};
225
+ font-size: ${Qo};
226
+ font-weight: ${ti};
227
+ letter-spacing: ${ei};
228
+ line-height: ${oi};
229
+ text-transform: ${ii};
230
+ }
231
+ `,xi=St`
227
232
  .ft-typography--overline {
228
- font-family: ${ii};
229
- font-size: ${ri};
230
- font-weight: ${ni};
231
- letter-spacing: ${ai};
232
- line-height: ${si};
233
- text-transform: ${li};
234
- }
235
- `,xi=wt`
233
+ font-family: ${ri};
234
+ font-size: ${ni};
235
+ font-weight: ${ai};
236
+ letter-spacing: ${si};
237
+ line-height: ${li};
238
+ text-transform: ${ci};
239
+ }
240
+ `,vi=St`
236
241
  .ft-typography--button {
237
- font-family: ${ci.fontFamily};
238
- font-size: ${ci.fontSize};
239
- font-weight: ${ci.fontWeight};
240
- letter-spacing: ${ci.letterSpacing};
241
- line-height: ${ci.lineHeight};
242
- text-transform: ${ci.textTransform};
243
- }
244
- `,vi=wt`
242
+ font-family: ${fi.fontFamily};
243
+ font-size: ${fi.fontSize};
244
+ font-weight: ${fi.fontWeight};
245
+ letter-spacing: ${fi.letterSpacing};
246
+ line-height: ${fi.lineHeight};
247
+ text-transform: ${fi.textTransform};
248
+ }
249
+ `,Oi=St`
245
250
  .ft-typography {
246
251
  vertical-align: inherit;
247
252
  }
248
- `,Oi=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return wt`
249
- .ft-typography--${Ot(t)} {
253
+ `,wi=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
254
+ .ft-typography--${wt(t)} {
250
255
  font-family: ${e.fontFamily};
251
256
  font-size: ${e.fontSize};
252
257
  font-weight: ${e.fontWeight};
@@ -254,32 +259,32 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
254
259
  line-height: ${e.lineHeight};
255
260
  text-transform: ${e.textCase};
256
261
  }
257
- `}(t)))];var wi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Si extends De{constructor(){super(...arguments),this.variant=yo.body1}render(){return this.element?uo`
258
- <${po(this.element)}
262
+ `}(t)))];var Si=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $i extends Be{constructor(){super(...arguments),this.variant=go.body1}render(){return this.element?yo`
263
+ <${ho(this.element)}
259
264
  class="ft-typography ft-typography--${this.variant}">
260
265
  <slot></slot>
261
- </${po(this.element)}>
262
- `:uo`
266
+ </${ho(this.element)}>
267
+ `:yo`
263
268
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
264
- `}}Si.styles=[fi,pi,di,hi,ui,yi,gi,bi,mi,xi,vi,...Oi],wi([$()],Si.prototype,"element",void 0),wi([$()],Si.prototype,"variant",void 0),I("ft-typography")(Si);const $i={fontSize:Se.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Se.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Se.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Se.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Se.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Se.extend("--ft-input-label-border-color","",Re.colorOutline),textColor:Se.extend("--ft-input-label-text-color","",Re.colorOnSurfaceMedium),disabledTextColor:Se.extend("--ft-input-label-disabled-text-color","",Re.colorOnSurfaceDisabled),colorSurface:Se.external(Re.colorSurface,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system")},Ni=wt`
269
+ `}}$i.styles=[pi,di,hi,ui,yi,gi,bi,mi,xi,vi,Oi,...wi],Si([$()],$i.prototype,"element",void 0),Si([$()],$i.prototype,"variant",void 0),L("ft-typography")($i);const Ni={fontSize:$e.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:$e.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:$e.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:$e.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:$e.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:$e.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:$e.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:$e.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:$e.external(Ue.colorSurface,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},Ci=St`
265
270
  .ft-input-label {
266
271
  position: absolute;
267
272
  inset: 0;
268
273
  display: flex;
269
- background-color: ${$i.colorSurface};
270
- border-radius: ${$i.borderRadiusS} ${$i.borderRadiusS} 0 0;
274
+ background-color: ${Ni.colorSurface};
275
+ border-radius: ${Ni.borderRadiusS} ${Ni.borderRadiusS} 0 0;
271
276
  }
272
277
 
273
278
  .ft-input-label--outlined {
274
- border-radius: ${$i.borderRadiusS};
279
+ border-radius: ${Ni.borderRadiusS};
275
280
  }
276
281
 
277
282
  .ft-input-label {
278
- border-color: ${$i.borderColor};
283
+ border-color: ${Ni.borderColor};
279
284
  }
280
285
 
281
286
  .ft-input-label.ft-input-label--in-error {
282
- border-color: ${$i.colorError}
287
+ border-color: ${Ni.colorError}
283
288
  }
284
289
 
285
290
  .ft-input-label:before,
@@ -292,7 +297,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
292
297
  }
293
298
 
294
299
  .ft-input-label:before {
295
- width: calc(${$i.horizontalSpacing} - 4px);
300
+ width: calc(${Ni.horizontalSpacing} - 4px);
296
301
  flex-shrink: 0;
297
302
  }
298
303
 
@@ -308,20 +313,20 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
308
313
  border-bottom-width: 1px;
309
314
  border-bottom-style: solid;
310
315
  border-color: inherit;
311
- color: ${$i.textColor};
316
+ color: ${Ni.textColor};
312
317
  transition: font-size 250ms, line-height 250ms, color 250ms;
313
- max-width: calc(${$i.labelMaxWidth} - 2 * (${$i.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
318
+ max-width: calc(${Ni.labelMaxWidth} - 2 * (${Ni.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
314
319
  text-overflow: ellipsis;
315
- ${$e(Jo.fontSize,$i.fontSize)};
316
- ${$e(Jo.lineHeight,$i.fontSize)};
320
+ ${Ne(qo.fontSize,Ni.fontSize)};
321
+ ${Ne(qo.lineHeight,Ni.fontSize)};
317
322
  }
318
323
 
319
324
  .ft-input-label--in-error .ft-input-label--text {
320
- color: ${$i.colorError}
325
+ color: ${Ni.colorError}
321
326
  }
322
327
 
323
328
  .ft-input-label--disabled .ft-input-label--text {
324
- color: ${$i.disabledTextColor};
329
+ color: ${Ni.disabledTextColor};
325
330
  }
326
331
 
327
332
  .ft-input-label--hidden-text {
@@ -338,19 +343,19 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
338
343
  overflow: hidden;
339
344
  white-space: nowrap;
340
345
  text-overflow: ellipsis;
341
- padding: ${$i.verticalSpacing} 4px;
342
- margin: calc(${$i.verticalSpacing} * -1) 0;
346
+ padding: ${Ni.verticalSpacing} 4px;
347
+ margin: calc(${Ni.verticalSpacing} * -1) 0;
343
348
  max-width: 100%;
344
349
  box-sizing: border-box;
345
350
  }
346
351
 
347
352
  .ft-input-label--raised .ft-input-label--text {
348
- ${$e(Jo.fontSize,$i.raisedFontSize)};
349
- ${$e(Jo.lineHeight,$i.raisedFontSize)};
353
+ ${Ne(qo.fontSize,Ni.raisedFontSize)};
354
+ ${Ne(qo.lineHeight,Ni.raisedFontSize)};
350
355
  }
351
356
 
352
357
  .ft-input-label--raised .ft-input-label--floating-text {
353
- top: ${$i.verticalSpacing};
358
+ top: ${Ni.verticalSpacing};
354
359
  }
355
360
 
356
361
  .ft-input-label--outlined .ft-input-label--text,
@@ -363,36 +368,36 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
363
368
  .ft-input-label--outlined:before {
364
369
  border-left-width: 1px;
365
370
  border-left-style: solid;
366
- border-radius: ${$i.borderRadiusS} 0 0 ${$i.borderRadiusS};
371
+ border-radius: ${Ni.borderRadiusS} 0 0 ${Ni.borderRadiusS};
367
372
  }
368
373
 
369
374
  .ft-input-label--outlined:after {
370
375
  border-right-width: 1px;
371
376
  border-right-style: solid;
372
- border-radius: 0 ${$i.borderRadiusS} ${$i.borderRadiusS} 0;
377
+ border-radius: 0 ${Ni.borderRadiusS} ${Ni.borderRadiusS} 0;
373
378
  }
374
379
 
375
380
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
376
381
  padding: 2px 4px;
377
- z-index: ${$i.raisedZIndex};
378
- background-color: ${$i.colorSurface};
379
- border-radius: ${$i.borderRadiusS};
382
+ z-index: ${Ni.raisedZIndex};
383
+ background-color: ${Ni.colorSurface};
384
+ border-radius: ${Ni.borderRadiusS};
380
385
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
381
386
  }
382
387
 
383
388
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
384
389
  border-top: none;
385
390
  }
386
- `;var Ci=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ei extends De{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 re`
387
- <div class="${lo(t)}">
388
- ${this.text?re`
391
+ `;var Ei=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ki extends Be{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`
392
+ <div class="${co(t)}">
393
+ ${this.text?ne`
389
394
  <div class="ft-input-label--text ft-typography--caption">
390
395
  <span class="ft-input-label--floating-text">${this.text}</span>
391
396
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
392
397
  </div>
393
398
  `:null}
394
399
  </div>
395
- `}}Ei.elementDefinitions={},Ei.styles=[gi,Ni],Ci([$({type:String})],Ei.prototype,"text",void 0),Ci([$({type:Boolean})],Ei.prototype,"raised",void 0),Ci([$({type:Boolean})],Ei.prototype,"outlined",void 0),Ci([$({type:Boolean})],Ei.prototype,"disabled",void 0),Ci([$({type:Boolean})],Ei.prototype,"error",void 0),I("ft-input-label")(Ei);const ki=Se.extend("--ft-ripple-color","",Re.colorContent),Ri={color:ki,backgroundColor:Se.extend("--ft-ripple-background-color","",ki),opacityContentOnSurfacePressed:Se.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Se.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Se.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Se.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Se.create("--ft-ripple-border-radius","","SIZE","0px")},Ui=Se.extend("--ft-ripple-color","",Re.colorPrimary),Ii=Ui,Li=Se.extend("--ft-ripple-background-color","",Ui),Wi=Se.extend("--ft-ripple-color","",Re.colorSecondary),zi=Wi,Fi=Se.extend("--ft-ripple-background-color","",Wi),Zi=wt`
400
+ `}}ki.elementDefinitions={},ki.styles=[bi,Ci],Ei([$({type:String})],ki.prototype,"text",void 0),Ei([$({type:Boolean})],ki.prototype,"raised",void 0),Ei([$({type:Boolean})],ki.prototype,"outlined",void 0),Ei([$({type:Boolean})],ki.prototype,"disabled",void 0),Ei([$({type:Boolean})],ki.prototype,"error",void 0),L("ft-input-label")(ki);const Ri=$e.extend("--ft-ripple-color","",Ue.colorContent),Ui={color:Ri,backgroundColor:$e.extend("--ft-ripple-background-color","",Ri),opacityContentOnSurfacePressed:$e.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$e.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$e.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$e.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$e.create("--ft-ripple-border-radius","","SIZE","0px")},Ii=$e.extend("--ft-ripple-color","",Ue.colorPrimary),Li=Ii,Wi=$e.extend("--ft-ripple-background-color","",Ii),zi=$e.extend("--ft-ripple-color","",Ue.colorSecondary),Fi=zi,Zi=$e.extend("--ft-ripple-background-color","",zi),Ki=St`
396
401
  :host {
397
402
  display: contents;
398
403
  }
@@ -405,7 +410,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
405
410
 
406
411
  .ft-ripple:not(.ft-ripple--unbounded) {
407
412
  overflow: hidden;
408
- border-radius: ${Ri.borderRadius};
413
+ border-radius: ${Ui.borderRadius};
409
414
  }
410
415
 
411
416
  .ft-ripple .ft-ripple--background,
@@ -439,27 +444,27 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
439
444
  }
440
445
 
441
446
  .ft-ripple .ft-ripple--background {
442
- background-color: ${Ri.backgroundColor};
447
+ background-color: ${Ui.backgroundColor};
443
448
  }
444
449
 
445
450
  .ft-ripple .ft-ripple--effect {
446
- background-color: ${Ri.color};
451
+ background-color: ${Ui.color};
447
452
  }
448
453
 
449
454
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
450
- background-color: ${Fi};
455
+ background-color: ${Zi};
451
456
  }
452
457
 
453
458
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
454
- background-color: ${zi};
459
+ background-color: ${Fi};
455
460
  }
456
461
 
457
462
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
458
- background-color: ${Li};
463
+ background-color: ${Wi};
459
464
  }
460
465
 
461
466
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
462
- background-color: ${Ii};
467
+ background-color: ${Li};
463
468
  }
464
469
 
465
470
  .ft-ripple .ft-ripple--background {
@@ -489,33 +494,33 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
489
494
  }
490
495
 
491
496
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
492
- opacity: ${Ri.opacityContentOnSurfaceHover};
497
+ opacity: ${Ui.opacityContentOnSurfaceHover};
493
498
  }
494
499
 
495
500
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
496
- opacity: ${Ri.opacityContentOnSurfaceSelected};
501
+ opacity: ${Ui.opacityContentOnSurfaceSelected};
497
502
  }
498
503
 
499
504
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
500
- opacity: ${Ri.opacityContentOnSurfaceFocused};
505
+ opacity: ${Ui.opacityContentOnSurfaceFocused};
501
506
  }
502
507
 
503
508
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
504
- opacity: ${Ri.opacityContentOnSurfacePressed};
509
+ opacity: ${Ui.opacityContentOnSurfacePressed};
505
510
  transform: translate(-50%, -50%) scale(1);
506
511
  }
507
- `;var Ki,Di,Bi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ai extends De{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new R(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new R(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return re`
512
+ `;var Di,Bi,Ai=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 Mi extends Be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ne`
508
513
  <style>
509
514
  .ft-ripple .ft-ripple--effect {
510
515
  left: ${this.originX}px;
511
516
  top: ${this.originY}px;
512
517
  }
513
518
  </style>
514
- <div class="${lo(t)}">
519
+ <div class="${co(t)}">
515
520
  <div class="ft-ripple--background"></div>
516
521
  <div class="ft-ripple--effect"></div>
517
522
  </div>
518
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ai.elementDefinitions={},Ai.styles=Zi,Bi([$({type:Boolean})],Ai.prototype,"primary",void 0),Bi([$({type:Boolean})],Ai.prototype,"secondary",void 0),Bi([$({type:Boolean})],Ai.prototype,"unbounded",void 0),Bi([$({type:Boolean})],Ai.prototype,"activated",void 0),Bi([$({type:Boolean})],Ai.prototype,"selected",void 0),Bi([$({type:Boolean})],Ai.prototype,"disabled",void 0),Bi([N()],Ai.prototype,"hovered",void 0),Bi([N()],Ai.prototype,"focused",void 0),Bi([N()],Ai.prototype,"pressed",void 0),Bi([N()],Ai.prototype,"rippling",void 0),Bi([N()],Ai.prototype,"originX",void 0),Bi([N()],Ai.prototype,"originY",void 0),Bi([E(".ft-ripple")],Ai.prototype,"ripple",void 0),Bi([E(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),I("ft-ripple")(Ai),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ki||(Ki={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Di||(Di={})),new Map([...["abw"].map((t=>[t,Di.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Di.AUDIO])),...["avi"].map((t=>[t,Di.AVI])),...["chm","xhs"].map((t=>[t,Di.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Di.CODE])),...["csv"].map((t=>[t,Di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Di.DITA])),...["epub"].map((t=>[t,Di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Di.EXCEL])),...["flac"].map((t=>[t,Di.FLAC])),...["gif"].map((t=>[t,Di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Di.GZIP])),...["html","htm","xhtml"].map((t=>[t,Di.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Di.JPEG])),...["json"].map((t=>[t,Di.JSON])),...["m4a","m4p"].map((t=>[t,Di.M4A])),...["mov","qt"].map((t=>[t,Di.MOV])),...["mp3"].map((t=>[t,Di.MP3])),...["mp4","m4v"].map((t=>[t,Di.MP4])),...["ogg","oga"].map((t=>[t,Di.OGG])),...["pdf","ps"].map((t=>[t,Di.PDF])),...["png"].map((t=>[t,Di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Di.POWERPOINT])),...["rar"].map((t=>[t,Di.RAR])),...["stp"].map((t=>[t,Di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Di.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Di.VIDEO])),...["wav"].map((t=>[t,Di.WAV])),...["wma"].map((t=>[t,Di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Di.WORD])),...["xml","xsl","rdf"].map((t=>[t,Di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Di.YAML])),...["zip"].map((t=>[t,Di.ZIP]))]);const Mi={size:Se.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Se.extend("--ft-icon-fluid-topics-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Se.extend("--ft-icon-file-format-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Se.extend("--ft-icon-material-font-family","",Se.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Se.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Pi=wt`
523
+ `}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()}}Mi.elementDefinitions={},Mi.styles=Ki,Ai([$({type:Boolean})],Mi.prototype,"primary",void 0),Ai([$({type:Boolean})],Mi.prototype,"secondary",void 0),Ai([$({type:Boolean})],Mi.prototype,"unbounded",void 0),Ai([$({type:Boolean})],Mi.prototype,"activated",void 0),Ai([$({type:Boolean})],Mi.prototype,"selected",void 0),Ai([$({type:Boolean})],Mi.prototype,"disabled",void 0),Ai([N()],Mi.prototype,"hovered",void 0),Ai([N()],Mi.prototype,"focused",void 0),Ai([N()],Mi.prototype,"pressed",void 0),Ai([N()],Mi.prototype,"rippling",void 0),Ai([N()],Mi.prototype,"originX",void 0),Ai([N()],Mi.prototype,"originY",void 0),Ai([k(".ft-ripple")],Mi.prototype,"ripple",void 0),Ai([k(".ft-ripple--effect")],Mi.prototype,"rippleEffect",void 0),L("ft-ripple")(Mi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Di||(Di={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Bi||(Bi={})),new Map([...["abw"].map((t=>[t,Bi.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,Bi.AUDIO])),...["avi"].map((t=>[t,Bi.AVI])),...["chm","xhs"].map((t=>[t,Bi.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,Bi.CODE])),...["csv"].map((t=>[t,Bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bi.DITA])),...["epub"].map((t=>[t,Bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bi.EXCEL])),...["flac"].map((t=>[t,Bi.FLAC])),...["gif"].map((t=>[t,Bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bi.JPEG])),...["json"].map((t=>[t,Bi.JSON])),...["m4a","m4p"].map((t=>[t,Bi.M4A])),...["mov","qt"].map((t=>[t,Bi.MOV])),...["mp3"].map((t=>[t,Bi.MP3])),...["mp4","m4v"].map((t=>[t,Bi.MP4])),...["ogg","oga"].map((t=>[t,Bi.OGG])),...["pdf","ps"].map((t=>[t,Bi.PDF])),...["png"].map((t=>[t,Bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bi.POWERPOINT])),...["rar"].map((t=>[t,Bi.RAR])),...["stp"].map((t=>[t,Bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bi.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,Bi.VIDEO])),...["wav"].map((t=>[t,Bi.WAV])),...["wma"].map((t=>[t,Bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bi.YAML])),...["zip"].map((t=>[t,Bi.ZIP]))]);const Pi={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")},Hi=St`
519
524
  :host, i.ft-icon {
520
525
  display: inline-flex;
521
526
  align-items: center;
@@ -524,14 +529,14 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
524
529
  }
525
530
 
526
531
  :host {
527
- width: ${Mi.size};
528
- height: ${Mi.size};
532
+ width: ${Pi.size};
533
+ height: ${Pi.size};
529
534
  }
530
535
 
531
536
  i.ft-icon {
532
537
  width: 100%;
533
538
  height: 100%;
534
- font-size: ${Mi.size};
539
+ font-size: ${Pi.size};
535
540
  line-height: 1;
536
541
  font-weight: normal;
537
542
  text-transform: none;
@@ -542,33 +547,33 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
542
547
  text-rendering: auto;
543
548
  -webkit-font-smoothing: antialiased;
544
549
  -moz-osx-font-smoothing: grayscale;
545
- vertical-align: ${Mi.verticalAlign};
550
+ vertical-align: ${Pi.verticalAlign};
546
551
  }
547
552
 
548
553
  i.ft-icon.ft-icon--fluid-topics {
549
- font-family: ${Mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
554
+ font-family: ${Pi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
550
555
 
551
556
  /* Ugly fix because font is broken */
552
- font-size: calc(0.75 * ${Mi.size});
553
- line-height: ${Mi.size};
557
+ font-size: calc(0.75 * ${Pi.size});
558
+ line-height: ${Pi.size};
554
559
  position: relative;
555
560
  top: -4%;
556
561
  justify-content: center;
557
562
  }
558
563
 
559
564
  .ft-icon--file-format {
560
- font-family: ${Mi.fileFormatFontFamily}, ft-mime, sans-serif;
565
+ font-family: ${Pi.fileFormatFontFamily}, ft-mime, sans-serif;
561
566
  }
562
567
 
563
568
  .ft-icon--material {
564
- font-family: ${Mi.materialFontFamily}, "Material Icons", sans-serif;
569
+ font-family: ${Pi.materialFontFamily}, "Material Icons", sans-serif;
565
570
  }
566
- `;var Hi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Hi||(Hi={}));var ji=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ti extends De{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(Hi).includes(this.variant)?this.variant:Hi.fluid_topics,e=t!==Hi.material||!!this.value;return re`
571
+ `;var ji;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ji||(ji={}));var Ti=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _i extends Be{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(ji).includes(this.variant)?this.variant:ji.fluid_topics,e=t!==ji.material||!!this.value;return ne`
567
572
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
568
- ${so(this.resolvedIcon)}
573
+ ${lo(this.resolvedIcon)}
569
574
  <slot ?hidden=${e}></slot>
570
575
  </i>
571
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Hi.file_format:this.resolvedIcon=null!==(t=Di[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Hi.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=Ki[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ti.elementDefinitions={},Ti.styles=Pi,ji([$()],Ti.prototype,"variant",void 0),ji([$()],Ti.prototype,"value",void 0),ji([N()],Ti.prototype,"resolvedIcon",void 0),ji([E("slot")],Ti.prototype,"slottedContent",void 0),I("ft-icon")(Ti);const _i={labelSize:Se.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Se.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Se.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Se.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Se.extend("--ft-select-selected-option-color","",Re.colorOnSurface),helperColor:Se.extend("--ft-select-helper-color","",Re.colorOnSurfaceMedium),optionsColor:Se.extend("--ft-select-options-color","",Re.colorOnSurface),optionsZIndex:Se.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),colorPrimary:Se.external(Re.colorPrimary,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),colorError:Se.external(Re.colorError,"Design system")},Gi=wt`
576
+ `}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 ji.file_format:this.resolvedIcon=null!==(t=Bi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ji.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=Di[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_i.elementDefinitions={},_i.styles=Hi,Ti([$()],_i.prototype,"variant",void 0),Ti([$()],_i.prototype,"value",void 0),Ti([N()],_i.prototype,"resolvedIcon",void 0),Ti([k("slot")],_i.prototype,"slottedContent",void 0),L("ft-icon")(_i);const Gi={labelSize:$e.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:$e.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:$e.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:$e.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:$e.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:$e.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:$e.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:$e.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),colorError:$e.external(Ue.colorError,"Design system")},Vi=St`
572
577
  *:focus {
573
578
  outline: none;
574
579
  }
@@ -582,7 +587,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
582
587
  .ft-select--main-panel {
583
588
  position: relative;
584
589
  display: flex;
585
- height: calc(4 * ${_i.verticalSpacing} + ${_i.labelSize} + ${_i.selectedOptionSize});
590
+ height: calc(4 * ${Gi.verticalSpacing} + ${Gi.labelSize} + ${Gi.selectedOptionSize});
586
591
  }
587
592
 
588
593
  .ft-select--input-panel {
@@ -591,17 +596,17 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
591
596
  display: flex;
592
597
  align-items: center;
593
598
  overflow: hidden;
594
- padding-left: ${_i.horizontalSpacing};
595
- padding-right: ${_i.horizontalSpacing};
599
+ padding-left: ${Gi.horizontalSpacing};
600
+ padding-right: ${Gi.horizontalSpacing};
596
601
  gap: 8px;
597
- color: ${_i.selectedOptionColor};
598
- ${$e(Ri.color,_i.selectedOptionColor)};
602
+ color: ${Gi.selectedOptionColor};
603
+ ${Ne(Ui.color,Gi.selectedOptionColor)};
599
604
  }
600
605
 
601
606
  .ft-select--input-panel,
602
607
  .ft-select--option {
603
- ${$e(Ri.opacityContentOnSurfaceHover,"0.08")};
604
- ${$e(Ri.opacityContentOnSurfacePressed,"0.04")};
608
+ ${Ne(Ui.opacityContentOnSurfaceHover,"0.08")};
609
+ ${Ne(Ui.opacityContentOnSurfacePressed,"0.04")};
605
610
  }
606
611
 
607
612
  .ft-select--input-panel > *:not(ft-ripple),
@@ -611,7 +616,7 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
611
616
 
612
617
  .ft-select--disabled .ft-select--input-panel,
613
618
  .ft-select--disabled .ft-select--option {
614
- color: ${_i.colorOnSurfaceDisabled};
619
+ color: ${Gi.colorOnSurfaceDisabled};
615
620
  }
616
621
 
617
622
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -620,20 +625,20 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
620
625
  }
621
626
 
622
627
  ft-input-label {
623
- ${$e($i.fontSize,_i.selectedOptionSize)};
624
- ${$e($i.raisedFontSize,_i.labelSize)};
625
- ${$e($i.verticalSpacing,_i.verticalSpacing)};
626
- ${$e($i.horizontalSpacing,_i.horizontalSpacing)};
627
- ${$e($i.labelMaxWidth,`calc(100% - ${Mi.size} - 8px)`)};
628
+ ${Ne(Ni.fontSize,Gi.selectedOptionSize)};
629
+ ${Ne(Ni.raisedFontSize,Gi.labelSize)};
630
+ ${Ne(Ni.verticalSpacing,Gi.verticalSpacing)};
631
+ ${Ne(Ni.horizontalSpacing,Gi.horizontalSpacing)};
632
+ ${Ne(Ni.labelMaxWidth,`calc(100% - ${Pi.size} - 8px)`)};
628
633
  }
629
634
 
630
635
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
631
- color: ${_i.colorPrimary};
636
+ color: ${Gi.colorPrimary};
632
637
  }
633
638
 
634
639
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
635
- ${$e($i.borderColor,_i.colorPrimary)};
636
- ${$e($i.textColor,_i.colorPrimary)};
640
+ ${Ne(Ni.borderColor,Gi.colorPrimary)};
641
+ ${Ne(Ni.textColor,Gi.colorPrimary)};
637
642
  }
638
643
 
639
644
  .ft-select--selected-option {
@@ -643,12 +648,12 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
643
648
  overflow: hidden;
644
649
  white-space: nowrap;
645
650
  text-overflow: ellipsis;
646
- ${$e(Ho.fontSize,_i.selectedOptionSize)};
647
- ${$e(Ho.lineHeight,_i.selectedOptionSize)};
651
+ ${Ne(jo.fontSize,Gi.selectedOptionSize)};
652
+ ${Ne(jo.lineHeight,Gi.selectedOptionSize)};
648
653
  }
649
654
 
650
655
  .ft-select--in-error .ft-select--selected-option {
651
- color: ${_i.colorError};
656
+ color: ${Gi.colorError};
652
657
  }
653
658
 
654
659
  ft-icon {
@@ -660,16 +665,16 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
660
665
  }
661
666
 
662
667
  .ft-select--filled .ft-select--input-panel {
663
- border-radius: ${_i.borderRadiusS} ${_i.borderRadiusS} 0 0;
668
+ border-radius: ${Gi.borderRadiusS} ${Gi.borderRadiusS} 0 0;
664
669
  }
665
670
 
666
671
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
667
672
  align-self: stretch;
668
- padding-top: calc(${_i.labelSize} + 2 * ${_i.verticalSpacing});
673
+ padding-top: calc(${Gi.labelSize} + 2 * ${Gi.verticalSpacing});
669
674
  }
670
675
 
671
676
  .ft-select--outlined .ft-select--input-panel {
672
- border-radius: ${_i.borderRadiusS};
677
+ border-radius: ${Gi.borderRadiusS};
673
678
  }
674
679
 
675
680
  .ft-select--options {
@@ -678,10 +683,10 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
678
683
  top: 100%;
679
684
  left: 0;
680
685
  right: 0;
681
- color: ${_i.optionsColor};
682
- background: ${_i.colorSurface};
683
- z-index: ${_i.optionsZIndex};
684
- box-shadow: ${_i.elevation02};
686
+ color: ${Gi.optionsColor};
687
+ background: ${Gi.colorSurface};
688
+ z-index: ${Gi.optionsZIndex};
689
+ box-shadow: ${Gi.elevation02};
685
690
  }
686
691
 
687
692
  .ft-select--fixed .ft-select--options {
@@ -692,13 +697,13 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
692
697
 
693
698
  .ft-select--options-displayed .ft-select--options {
694
699
  display: block;
695
- max-height: ${_i.optionsHeight};
700
+ max-height: ${Gi.optionsHeight};
696
701
  overflow-y: auto;
697
702
  }
698
703
 
699
704
  .ft-select--option {
700
705
  position: relative;
701
- padding: 4px ${_i.horizontalSpacing};
706
+ padding: 4px ${Gi.horizontalSpacing};
702
707
  min-height: 32px;
703
708
  display: flex;
704
709
  align-items: center;
@@ -710,15 +715,15 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
710
715
  }
711
716
 
712
717
  .ft-select--helper-text {
713
- padding: 0 ${_i.horizontalSpacing};
714
- color: ${_i.helperColor};
718
+ padding: 0 ${Gi.horizontalSpacing};
719
+ color: ${Gi.helperColor};
715
720
  }
716
721
 
717
722
  .ft-select--in-error .ft-select--helper-text {
718
- color: ${_i.colorError};
723
+ color: ${Gi.colorError};
719
724
  }
720
- `;var Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends De{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return re``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Yi.elementDefinitions={},Vi([$({type:String})],Yi.prototype,"label",void 0),Vi([$({type:Object,converter:t=>t})],Yi.prototype,"value",void 0),Vi([$({type:Boolean,reflect:!0})],Yi.prototype,"selected",void 0);class Ji extends De{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return re`
721
- <div class="${lo(l)}" part="container">
725
+ `;var Yi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ji extends Be{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}))}}Ji.elementDefinitions={},Yi([$({type:String})],Ji.prototype,"label",void 0),Yi([$({type:Object,converter:t=>t})],Ji.prototype,"value",void 0),Yi([$({type:Boolean,reflect:!0})],Ji.prototype,"selected",void 0);class qi extends Be{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`
726
+ <div class="${co(l)}" part="container">
722
727
  <div class="ft-select--main-panel" part="main-panel">
723
728
  <ft-input-label text="${this.label}"
724
729
  part="label"
@@ -745,18 +750,18 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
745
750
  part="options"
746
751
  @keydown=${this.onOptionsKeyDown}
747
752
  innerrole="listbox">
748
- ${no(this.options,(t=>t.value),(t=>this.renderOption(t)))}
753
+ ${ao(this.options,(t=>t.value),(t=>this.renderOption(t)))}
749
754
  </div>
750
755
  </div>
751
- ${this.helper?re`
756
+ ${this.helper?ne`
752
757
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
753
758
  </ft-typography>`:void 0}
754
759
  </div>
755
760
  <slot @slotchange=${this.updateOptionsFromSlot}
756
761
  @option-change=${this.updateOptionsFromSlot}
757
762
  ></slot>
758
- `}renderOption(t){let e=this.selectedOption===t;return re`
759
- <div class="${lo({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
763
+ `}renderOption(t){let e=this.selectedOption===t;return ne`
764
+ <div class="${co({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
760
765
  part="option"
761
766
  tabindex="0"
762
767
  data-value="${t.value}"
@@ -765,13 +770,13 @@ let ao=class extends qe{constructor(t){if(super(t),this.et=tt,t.type!==Ye)throw
765
770
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
766
771
  <span>${t.label}</span>
767
772
  </div>
768
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ji.elementDefinitions={"ft-input-label":Ei,"ft-typography":Si,"ft-ripple":Ai,"ft-icon":Ti},Ji.styles=[yi,gi,Gi],Vi([$({type:String})],Ji.prototype,"label",void 0),Vi([$({type:String})],Ji.prototype,"helper",void 0),Vi([$({type:Boolean})],Ji.prototype,"outlined",void 0),Vi([$({type:Boolean})],Ji.prototype,"disabled",void 0),Vi([$({type:Boolean})],Ji.prototype,"error",void 0),Vi([$({type:Boolean})],Ji.prototype,"fixedMenuPosition",void 0),Vi([$({type:Array})],Ji.prototype,"options",void 0),Vi([N()],Ji.prototype,"selectedOption",void 0),Vi([N()],Ji.prototype,"optionsDisplayed",void 0),Vi([N()],Ji.prototype,"focusOptions",void 0),Vi([E(".ft-select")],Ji.prototype,"container",void 0),Vi([E(".ft-select--options")],Ji.prototype,"optionsMenu",void 0),Vi([E(".ft-select--input-panel")],Ji.prototype,"mainPanel",void 0),Vi([E(".ft-select--option:first-child")],Ji.prototype,"firstOption",void 0),Vi([E(".ft-select--option:focus")],Ji.prototype,"focusedOption",void 0),Vi([E(".ft-select--option.ft-select--option-selected")],Ji.prototype,"selectedOptionElement",void 0),Vi([E(".ft-select--option:last-child")],Ji.prototype,"lastOption",void 0),Vi([E("slot")],Ji.prototype,"optionsSlot",void 0),I("ft-select")(Ji),I("ft-select-option")(Yi);
773
+ `}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)}}qi.elementDefinitions={"ft-input-label":ki,"ft-typography":$i,"ft-ripple":Mi,"ft-icon":_i},qi.styles=[gi,bi,Vi],Yi([$({type:String})],qi.prototype,"label",void 0),Yi([$({type:String})],qi.prototype,"helper",void 0),Yi([$({type:Boolean})],qi.prototype,"outlined",void 0),Yi([$({type:Boolean})],qi.prototype,"disabled",void 0),Yi([$({type:Boolean})],qi.prototype,"error",void 0),Yi([$({type:Boolean})],qi.prototype,"fixedMenuPosition",void 0),Yi([$({type:Array})],qi.prototype,"options",void 0),Yi([N()],qi.prototype,"selectedOption",void 0),Yi([N()],qi.prototype,"optionsDisplayed",void 0),Yi([N()],qi.prototype,"focusOptions",void 0),Yi([k(".ft-select")],qi.prototype,"container",void 0),Yi([k(".ft-select--options")],qi.prototype,"optionsMenu",void 0),Yi([k(".ft-select--input-panel")],qi.prototype,"mainPanel",void 0),Yi([k(".ft-select--option:first-child")],qi.prototype,"firstOption",void 0),Yi([k(".ft-select--option:focus")],qi.prototype,"focusedOption",void 0),Yi([k(".ft-select--option.ft-select--option-selected")],qi.prototype,"selectedOptionElement",void 0),Yi([k(".ft-select--option:last-child")],qi.prototype,"lastOption",void 0),Yi([k("slot")],qi.prototype,"optionsSlot",void 0),L("ft-select")(qi),L("ft-select-option")(Ji);
769
774
  /**
770
775
  * @license
771
776
  * Copyright 2018 Google LLC
772
777
  * SPDX-License-Identifier: BSD-3-Clause
773
778
  */
774
- const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Se.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Se.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Se.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Se.extend("--ft-text-field-helper-color","",Re.colorOnSurfaceMedium),colorPrimary:Se.external(Re.colorPrimary,"Design system"),colorOnSurface:Se.external(Re.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Se.external(Re.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Se.external(Re.borderRadiusS,"Design system"),colorError:Se.external(Re.colorError,"Design system"),prefixColor:Se.extend("--ft-text-field-prefix-color","",Re.colorOnSurfaceMedium),iconColor:Se.extend("--ft-text-field-icon-color","",Re.colorOnSurfaceMedium),floatingZIndex:Se.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Se.external(Re.colorSurface,"Design system"),colorOutline:Se.external(Re.colorOutline,"Design system"),elevation02:Se.external(Re.elevation02,"Design system"),suggestSize:Se.create("--ft-text-field-suggest-size","","SIZE","300px")},Xi=wt`
779
+ const Xi={fontSize:$e.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:$e.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:$e.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:$e.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:$e.extend("--ft-text-field-helper-color","",Ue.colorOnSurfaceMedium),colorPrimary:$e.external(Ue.colorPrimary,"Design system"),colorOnSurface:$e.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceDisabled:$e.external(Ue.colorOnSurfaceDisabled,"Design system"),borderRadiusS:$e.external(Ue.borderRadiusS,"Design system"),colorError:$e.external(Ue.colorError,"Design system"),prefixColor:$e.extend("--ft-text-field-prefix-color","",Ue.colorOnSurfaceMedium),iconColor:$e.extend("--ft-text-field-icon-color","",Ue.colorOnSurfaceMedium),floatingZIndex:$e.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:$e.external(Ue.colorSurface,"Design system"),colorOutline:$e.external(Ue.colorOutline,"Design system"),elevation02:$e.external(Ue.elevation02,"Design system"),suggestSize:$e.create("--ft-text-field-suggest-size","","SIZE","300px")},Qi=St`
775
780
  *:focus {
776
781
  outline: none;
777
782
  }
@@ -784,16 +789,16 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
784
789
  }
785
790
 
786
791
  ft-input-label {
787
- ${$e($i.fontSize,qi.fontSize)};
788
- ${$e($i.raisedFontSize,qi.labelSize)};
789
- ${$e($i.verticalSpacing,qi.verticalSpacing)};
790
- ${$e($i.horizontalSpacing,qi.horizontalSpacing)};
792
+ ${Ne(Ni.fontSize,Xi.fontSize)};
793
+ ${Ne(Ni.raisedFontSize,Xi.labelSize)};
794
+ ${Ne(Ni.verticalSpacing,Xi.verticalSpacing)};
795
+ ${Ne(Ni.horizontalSpacing,Xi.horizontalSpacing)};
791
796
  }
792
797
 
793
798
  .ft-text-field--main-panel {
794
799
  position: relative;
795
800
  display: flex;
796
- height: calc(4 * ${qi.verticalSpacing} + ${qi.labelSize} + ${qi.fontSize});
801
+ height: calc(4 * ${Xi.verticalSpacing} + ${Xi.labelSize} + ${Xi.fontSize});
797
802
  }
798
803
 
799
804
  .ft-text-field--input-panel {
@@ -802,24 +807,24 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
802
807
  display: flex;
803
808
  align-items: center;
804
809
  overflow: hidden;
805
- padding: 0 ${qi.horizontalSpacing};
810
+ padding: 0 ${Xi.horizontalSpacing};
806
811
 
807
- ${$e(Ho.fontSize,qi.fontSize)};
808
- ${$e(Ho.lineHeight,qi.fontSize)};
812
+ ${Ne(jo.fontSize,Xi.fontSize)};
813
+ ${Ne(jo.lineHeight,Xi.fontSize)};
809
814
  }
810
815
 
811
816
  .ft-text-field--input-panel ft-ripple {
812
- ${$e(Ri.opacityContentOnSurfaceHover,"0.08")};
813
- ${$e(Ri.opacityContentOnSurfacePressed,"0.04")};
817
+ ${Ne(Ui.opacityContentOnSurfaceHover,"0.08")};
818
+ ${Ne(Ui.opacityContentOnSurfacePressed,"0.04")};
814
819
  }
815
820
 
816
821
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
817
822
  align-items: flex-end;
818
- padding: 0 ${qi.horizontalSpacing} ${qi.verticalSpacing} ${qi.horizontalSpacing};
823
+ padding: 0 ${Xi.horizontalSpacing} ${Xi.verticalSpacing} ${Xi.horizontalSpacing};
819
824
  }
820
825
 
821
826
  .ft-text-field--prefix {
822
- color: ${qi.prefixColor};
827
+ color: ${Xi.prefixColor};
823
828
  margin-right: 2px;
824
829
  flex-shrink: 1;
825
830
  overflow: hidden;
@@ -838,15 +843,15 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
838
843
  flex-shrink: 1;
839
844
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
840
845
 
841
- color: ${qi.colorOnSurface};
842
- padding: calc(2 * ${qi.verticalSpacing}) 0;
846
+ color: ${Xi.colorOnSurface};
847
+ padding: calc(2 * ${Xi.verticalSpacing}) 0;
843
848
  border: none;
844
849
  background: none;
845
850
  }
846
851
 
847
852
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
848
853
  padding-bottom: 0;
849
- padding-top: calc(${qi.labelSize} + 2 * ${qi.verticalSpacing});
854
+ padding-top: calc(${Xi.labelSize} + 2 * ${Xi.verticalSpacing});
850
855
  }
851
856
 
852
857
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -855,37 +860,37 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
855
860
  }
856
861
 
857
862
  .ft-text-field--disabled .ft-text-field--input {
858
- color: ${qi.colorOnSurfaceDisabled};
863
+ color: ${Xi.colorOnSurfaceDisabled};
859
864
  }
860
865
 
861
866
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
862
- ${$e($i.borderColor,qi.colorPrimary)};
863
- ${$e($i.textColor,qi.colorPrimary)};
867
+ ${Ne(Ni.borderColor,Xi.colorPrimary)};
868
+ ${Ne(Ni.textColor,Xi.colorPrimary)};
864
869
  }
865
870
 
866
871
  .ft-text-field--filled .ft-text-field--input-panel {
867
- border-radius: ${qi.borderRadiusS} ${qi.borderRadiusS} 0 0;
872
+ border-radius: ${Xi.borderRadiusS} ${Xi.borderRadiusS} 0 0;
868
873
  }
869
874
 
870
875
  .ft-text-field--outlined .ft-text-field--input-panel {
871
- border-radius: ${qi.borderRadiusS};
876
+ border-radius: ${Xi.borderRadiusS};
872
877
  }
873
878
 
874
879
  .ft-text-field--helper-text {
875
- padding: 0 12px 0 ${qi.horizontalSpacing};
876
- color: ${qi.helperColor};
880
+ padding: 0 12px 0 ${Xi.horizontalSpacing};
881
+ color: ${Xi.helperColor};
877
882
  }
878
883
 
879
884
  .ft-text-field--in-error .ft-text-field--input,
880
885
  .ft-text-field--in-error .ft-text-field--helper-text,
881
886
  .ft-text-field--in-error .ft-text-field--prefix {
882
- color: ${qi.colorError};
887
+ color: ${Xi.colorError};
883
888
  }
884
889
 
885
890
  .ft-text-field--icon {
886
891
  align-self: center;
887
892
  margin-left: 8px;
888
- color: ${qi.iconColor};
893
+ color: ${Xi.iconColor};
889
894
  }
890
895
 
891
896
  .ft-text-field--container {
@@ -898,13 +903,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
898
903
  position: absolute;
899
904
  left: 0;
900
905
  right: 0;
901
- z-index: ${qi.floatingZIndex};
902
- background: ${qi.colorSurface};
903
- border: 1px solid ${qi.colorOutline};
904
- border-radius: 0 0 ${qi.borderRadiusS} ${qi.borderRadiusS};
905
- box-shadow: ${qi.elevation02};
906
+ z-index: ${Xi.floatingZIndex};
907
+ background: ${Xi.colorSurface};
908
+ border: 1px solid ${Xi.colorOutline};
909
+ border-radius: 0 0 ${Xi.borderRadiusS} ${Xi.borderRadiusS};
910
+ box-shadow: ${Xi.elevation02};
906
911
  outline: none;
907
- max-height: ${qi.suggestSize};
912
+ max-height: ${Xi.suggestSize};
908
913
  overflow-y: auto;
909
914
  }
910
915
 
@@ -921,14 +926,14 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
921
926
  }
922
927
 
923
928
  .ft-text-field--with-icon {
924
- ${$e($i.labelMaxWidth,`calc(100% - ${Mi.size} - ${$i.horizontalSpacing})`)};
929
+ ${Ne(Ni.labelMaxWidth,`calc(100% - ${Pi.size} - ${Ni.horizontalSpacing})`)};
925
930
  }
926
931
 
927
932
  .ft-text-field--with-password ft-icon:hover {
928
933
  cursor: pointer;
929
934
  }
930
- `;var Qi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tr extends(He(De,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Ki.EYE_SLASH,this.passwordRevealedIcon=Ki.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return re`
931
- <div class="${lo(t)}">
935
+ `;var tr=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 er extends(je(Be,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Di.EYE_SLASH,this.passwordRevealedIcon=Di.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`
936
+ <div class="${co(t)}">
932
937
  <div class="ft-text-field--main-panel"
933
938
  @keydown=${this.handleKeyboardNavigation}
934
939
  @focusout=${this.onMainPanelBlur}>
@@ -938,16 +943,16 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
938
943
  ?raised=${this.focused||""!=this.value}
939
944
  ?error=${this.error}></ft-input-label>
940
945
  <div class="ft-text-field--input-panel">
941
- ${this.outlined?ae:re`
946
+ ${this.outlined?se:ne`
942
947
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
943
948
  `}
944
- ${this.prefix?re`
949
+ ${this.prefix?ne`
945
950
  <ft-typography class="ft-text-field--prefix" vaiant="body1">
946
951
  ${this.prefix}
947
952
  </ft-typography>
948
- `:ae}
953
+ `:se}
949
954
  <input type=${this.password&&this.hidePassword?"password":"text"}
950
- maxlength=${(t=>t??tt)(this.maxLength||void 0)}
955
+ maxlength=${(t=>t??et)(this.maxLength||void 0)}
951
956
  aria-label="${this.label}"
952
957
  class="ft-typography--body1 ft-text-field--input"
953
958
  ?disabled=${this.disabled}
@@ -962,23 +967,23 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
962
967
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
963
968
  </div>
964
969
  </div>
965
- ${this.helper?re`
970
+ ${this.helper?ne`
966
971
  <ft-typography class="ft-text-field--helper-text" variant="caption">
967
972
  ${this.helper}
968
973
  </ft-typography>
969
- `:ae}
974
+ `:se}
970
975
  </div>
971
- `}renderPasswordIcon(){return re`
976
+ `}renderPasswordIcon(){return ne`
972
977
  <ft-icon class="ft-text-field--icon"
973
978
  .variant=${this.iconVariant}
974
979
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
975
980
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
976
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?re`
981
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?ne`
977
982
  <ft-icon class="ft-text-field--icon"
978
983
  .variant=${this.iconVariant}
979
984
  .value=${this.icon}
980
985
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
981
- `:ae}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}tr.elementDefinitions={"ft-input-label":Ei,"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},tr.styles=[ui,Xi],Qi([$()],tr.prototype,"label",void 0),Qi([$({noAccessor:!0})],tr.prototype,"value",null),Qi([N()],tr.prototype,"dispatchedValue",void 0),Qi([$()],tr.prototype,"helper",void 0),Qi([$({type:Boolean})],tr.prototype,"outlined",void 0),Qi([$({type:Boolean})],tr.prototype,"disabled",void 0),Qi([$({type:Boolean})],tr.prototype,"error",void 0),Qi([$()],tr.prototype,"prefix",void 0),Qi([$()],tr.prototype,"icon",void 0),Qi([$()],tr.prototype,"passwordHiddenIcon",void 0),Qi([$()],tr.prototype,"passwordRevealedIcon",void 0),Qi([$()],tr.prototype,"iconVariant",void 0),Qi([$({type:Boolean})],tr.prototype,"filterSuggestions",void 0),Qi([$({type:Number})],tr.prototype,"maxLength",void 0),Qi([$({type:Boolean})],tr.prototype,"password",void 0),Qi([N()],tr.prototype,"focused",void 0),Qi([N()],tr.prototype,"hidePassword",void 0),Qi([N()],tr.prototype,"suggestionsOnTop",void 0),Qi([N()],tr.prototype,"hideSuggestions",void 0),Qi([N()],tr.prototype,"visibleSuggestions",void 0),Qi([E(".ft-text-field--main-panel")],tr.prototype,"mainPanel",void 0),Qi([E(".ft-text-field--input")],tr.prototype,"input",void 0),Qi([E(".ft-text-field--suggestions")],tr.prototype,"suggestionsContainer",void 0),Qi([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],tr.prototype,"suggestions",void 0);const er=wt`
986
+ `: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}}er.elementDefinitions={"ft-input-label":ki,"ft-ripple":Mi,"ft-typography":$i,"ft-icon":_i},er.styles=[yi,Qi],tr([$()],er.prototype,"label",void 0),tr([$({noAccessor:!0})],er.prototype,"value",null),tr([N()],er.prototype,"dispatchedValue",void 0),tr([$()],er.prototype,"helper",void 0),tr([$({type:Boolean})],er.prototype,"outlined",void 0),tr([$({type:Boolean})],er.prototype,"disabled",void 0),tr([$({type:Boolean})],er.prototype,"error",void 0),tr([$()],er.prototype,"prefix",void 0),tr([$()],er.prototype,"icon",void 0),tr([$()],er.prototype,"passwordHiddenIcon",void 0),tr([$()],er.prototype,"passwordRevealedIcon",void 0),tr([$()],er.prototype,"iconVariant",void 0),tr([$({type:Boolean})],er.prototype,"filterSuggestions",void 0),tr([$({type:Number})],er.prototype,"maxLength",void 0),tr([$({type:Boolean})],er.prototype,"password",void 0),tr([N()],er.prototype,"focused",void 0),tr([N()],er.prototype,"hidePassword",void 0),tr([N()],er.prototype,"suggestionsOnTop",void 0),tr([N()],er.prototype,"hideSuggestions",void 0),tr([N()],er.prototype,"visibleSuggestions",void 0),tr([k(".ft-text-field--main-panel")],er.prototype,"mainPanel",void 0),tr([k(".ft-text-field--input")],er.prototype,"input",void 0),tr([k(".ft-text-field--suggestions")],er.prototype,"suggestionsContainer",void 0),tr([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],er.prototype,"suggestions",void 0);const or=St`
982
987
  .ft-text-field-suggestion {
983
988
  position: relative;
984
989
  padding: 8px 16px;
@@ -1003,7 +1008,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1003
1008
  slot {
1004
1009
  pointer-events: none;
1005
1010
  }
1006
- `;var or=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 ir extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class rr extends De{render(){return re`
1011
+ `;var ir=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 rr extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class nr extends Be{render(){return ne`
1007
1012
  <div class="ft-text-field-suggestion"
1008
1013
  tabindex="-1"
1009
1014
  @keydown=${this.onKeyDown}
@@ -1015,7 +1020,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1015
1020
  <slot></slot>
1016
1021
  </ft-typography>
1017
1022
  </div>
1018
- `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new ir(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}rr.elementDefinitions={"ft-ripple":Ai,"ft-typography":Si,"ft-icon":Ti},rr.styles=er,or([$()],rr.prototype,"value",void 0),or([E(".ft-text-field-suggestion")],rr.prototype,"container",void 0),or([k()],rr.prototype,"assignedNodes",void 0),I("ft-text-field")(tr),I("ft-text-field-suggestion")(rr);const nr={color:Se.extend("--ft-loader-color","",Re.colorPrimary),size:Se.create("--ft-loader-size","","SIZE","80px")},ar=wt`
1023
+ `}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 rr(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())}}nr.elementDefinitions={"ft-ripple":Mi,"ft-typography":$i,"ft-icon":_i},nr.styles=or,ir([$()],nr.prototype,"value",void 0),ir([k(".ft-text-field-suggestion")],nr.prototype,"container",void 0),ir([R()],nr.prototype,"assignedNodes",void 0),L("ft-text-field")(er),L("ft-text-field-suggestion")(nr);const ar={color:$e.extend("--ft-loader-color","",Ue.colorPrimary),size:$e.create("--ft-loader-size","","SIZE","80px")},sr=St`
1019
1024
  :host {
1020
1025
  line-height: 0;
1021
1026
  }
@@ -1024,8 +1029,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1024
1029
  display: inline-block;
1025
1030
  position: relative;
1026
1031
 
1027
- width: ${nr.size};
1028
- height: ${nr.size};
1032
+ width: ${ar.size};
1033
+ height: ${ar.size};
1029
1034
  }
1030
1035
 
1031
1036
  .ft-loader div {
@@ -1034,7 +1039,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1034
1039
  width: 25%;
1035
1040
  height: 25%;
1036
1041
  border-radius: 50%;
1037
- background: ${nr.color};
1042
+ background: ${ar.color};
1038
1043
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
1039
1044
  }
1040
1045
 
@@ -1081,10 +1086,10 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1081
1086
  transform: translate(0, 0);
1082
1087
  }
1083
1088
  100% {
1084
- transform: translate(calc(0.35 * ${nr.size}), 0);
1089
+ transform: translate(calc(0.35 * ${ar.size}), 0);
1085
1090
  }
1086
1091
  }
1087
- `,sr=Se.extend("--ft-button-color","",Re.colorPrimary),lr={backgroundColor:Se.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:Se.extend("--ft-button-border-radius","",Re.borderRadiusL),color:sr,fontSize:Se.extend("--ft-button-font-size","",ci.fontSize),iconSize:Se.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Se.extend("--ft-button-ripple-color","",sr),verticalPadding:Se.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Se.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Se.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Se.external(Re.colorOpacityDisabled,"Design system")},cr=Se.extend("--ft-button-primary-color","",Se.extend("--ft-button-color","",Re.colorOnPrimary)),fr={backgroundColor:Se.extend("--ft-button-primary-background-color","",Se.extend("--ft-button-background-color","",Re.colorPrimary)),color:cr,rippleColor:Se.extend("--ft-button-primary-ripple-color","",cr)},pr=Se.extend("--ft-button-dense-border-radius","",Se.extend("--ft-button-border-radius","",Re.borderRadiusM)),dr=Se.create("--ft-button-dense-vertical-padding","","SIZE","2px"),hr=Se.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ur=Se.create("--ft-button-dense-icon-padding","","SIZE","4px"),yr=[wt`
1092
+ `,lr=$e.extend("--ft-button-color","",Ue.colorPrimary),cr={backgroundColor:$e.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:$e.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:lr,fontSize:$e.extend("--ft-button-font-size","",fi.fontSize),iconSize:$e.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$e.extend("--ft-button-ripple-color","",lr),verticalPadding:$e.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$e.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$e.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$e.external(Ue.colorOpacityDisabled,"Design system")},fr=$e.extend("--ft-button-primary-color","",$e.extend("--ft-button-color","",Ue.colorOnPrimary)),pr={backgroundColor:$e.extend("--ft-button-primary-background-color","",$e.extend("--ft-button-background-color","",Ue.colorPrimary)),color:fr,rippleColor:$e.extend("--ft-button-primary-ripple-color","",fr)},dr=$e.extend("--ft-button-dense-border-radius","",$e.extend("--ft-button-border-radius","",Ue.borderRadiusM)),hr=$e.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ur=$e.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),yr=$e.create("--ft-button-dense-icon-padding","","SIZE","4px"),gr=[St`
1088
1093
  :host {
1089
1094
  display: inline-block;
1090
1095
  max-width: 100%;
@@ -1095,7 +1100,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1095
1100
  box-shadow: 0px 0px 0px transparent;
1096
1101
  border: 0px solid transparent;
1097
1102
  text-shadow: 0px 0px 0px transparent;
1098
- font-size: ${lr.fontSize};
1103
+ font-size: ${cr.fontSize};
1099
1104
  }
1100
1105
 
1101
1106
  button:hover {
@@ -1124,31 +1129,31 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1124
1129
  border: none;
1125
1130
  pointer-events: auto;
1126
1131
 
1127
- --ft-button-internal-line-height: max(calc(${lr.fontSize} + 2px), ${lr.iconSize});
1128
- --ft-button-internal-color: ${lr.color};
1129
- ${$e(Mi.size,lr.iconSize)};
1130
- ${$e(Ri.color,lr.rippleColor)};
1132
+ --ft-button-internal-line-height: max(calc(${cr.fontSize} + 2px), ${cr.iconSize});
1133
+ --ft-button-internal-color: ${cr.color};
1134
+ ${Ne(Pi.size,cr.iconSize)};
1135
+ ${Ne(Ui.color,cr.rippleColor)};
1131
1136
 
1132
- border-radius: ${lr.borderRadius};
1133
- padding: ${lr.verticalPadding} ${lr.horizontalPadding};
1134
- background-color: ${lr.backgroundColor};
1137
+ border-radius: ${cr.borderRadius};
1138
+ padding: ${cr.verticalPadding} ${cr.horizontalPadding};
1139
+ background-color: ${cr.backgroundColor};
1135
1140
  color: var(--ft-button-internal-color);
1136
1141
  -webkit-mask-image: radial-gradient(white, black);
1137
1142
  }
1138
1143
 
1139
1144
  .ft-button.ft-button--outlined {
1140
1145
  border: 1px solid var(--ft-button-internal-color);
1141
- padding: calc(${lr.verticalPadding} - 1px) calc(${lr.horizontalPadding} - 1px);
1146
+ padding: calc(${cr.verticalPadding} - 1px) calc(${cr.horizontalPadding} - 1px);
1142
1147
  }
1143
1148
 
1144
1149
  .ft-button.ft-button--dense {
1145
- padding: ${dr} ${hr};
1146
- border-radius: ${pr};
1147
- gap: ${ur};
1150
+ padding: ${hr} ${ur};
1151
+ border-radius: ${dr};
1152
+ gap: ${yr};
1148
1153
  }
1149
1154
 
1150
1155
  .ft-button.ft-button--dense.ft-button--outlined {
1151
- padding: calc(${dr} - 1px) calc(${hr} - 1px);
1156
+ padding: calc(${hr} - 1px) calc(${ur} - 1px);
1152
1157
  }
1153
1158
 
1154
1159
  .ft-button:not([disabled]):hover {
@@ -1156,22 +1161,22 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1156
1161
  }
1157
1162
 
1158
1163
  .ft-button--round {
1159
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${lr.verticalPadding});
1164
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${cr.verticalPadding});
1160
1165
  }
1161
1166
 
1162
1167
  .ft-button--round.ft-button--dense {
1163
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${dr});
1168
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${hr});
1164
1169
  }
1165
1170
 
1166
1171
  .ft-button[disabled] {
1167
1172
  filter: grayscale(1);
1168
- opacity: ${lr.opacityDisabled};
1173
+ opacity: ${cr.opacityDisabled};
1169
1174
  }
1170
1175
 
1171
1176
  .ft-button.ft-button--primary {
1172
- background-color: ${fr.backgroundColor};
1173
- --ft-button-internal-color: ${fr.color};
1174
- ${$e(Ri.color,fr.rippleColor)};
1177
+ background-color: ${pr.backgroundColor};
1178
+ --ft-button-internal-color: ${pr.color};
1179
+ ${Ne(Ui.color,pr.rippleColor)};
1175
1180
  }
1176
1181
 
1177
1182
  .ft-button:focus {
@@ -1184,13 +1189,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1184
1189
  white-space: nowrap;
1185
1190
  text-overflow: ellipsis;
1186
1191
  display: block;
1187
- margin: 0 ${lr.iconPadding};
1188
- ${$e(ci.fontSize,"1em")};
1189
- ${$e(ci.lineHeight,"var(--ft-button-internal-line-height)")};
1192
+ margin: 0 ${cr.iconPadding};
1193
+ ${Ne(fi.fontSize,"1em")};
1194
+ ${Ne(fi.lineHeight,"var(--ft-button-internal-line-height)")};
1190
1195
  }
1191
1196
 
1192
1197
  .ft-button--dense .ft-button--label {
1193
- margin: 0 ${ur};
1198
+ margin: 0 ${yr};
1194
1199
  }
1195
1200
 
1196
1201
  .ft-button--label[hidden] {
@@ -1203,13 +1208,13 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1203
1208
  }
1204
1209
 
1205
1210
  .ft-button--label[hidden] + ft-icon {
1206
- margin: 0 calc(${lr.horizontalPadding} * -1);
1207
- padding: 0 ${lr.verticalPadding};
1211
+ margin: 0 calc(${cr.horizontalPadding} * -1);
1212
+ padding: 0 ${cr.verticalPadding};
1208
1213
  }
1209
1214
 
1210
1215
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
1211
- margin: 0 calc(${hr} * -1);
1212
- padding: 0 ${dr};
1216
+ margin: 0 calc(${ur} * -1);
1217
+ padding: 0 ${hr};
1213
1218
  }
1214
1219
 
1215
1220
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -1218,10 +1223,10 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1218
1223
  }
1219
1224
 
1220
1225
  ft-loader {
1221
- ${$e(nr.size,lr.iconSize)};
1222
- ${$e(nr.color,"var(--ft-button-internal-color)")};
1226
+ ${Ne(ar.size,cr.iconSize)};
1227
+ ${Ne(ar.color,"var(--ft-button-internal-color)")};
1223
1228
  }
1224
- `,Ae],gr=Se.create("--ft-tooltip-distance","","SIZE","4px"),br=Se.create("--ft-tooltip-color","","COLOR","#FFFFFF"),mr=Se.create("--ft-tooltip-background-color","","COLOR","#666666"),xr=Se.create("--ft-tooltip-z-index","","NUMBER","100"),vr=Se.external(Re.borderRadiusS,"Design system"),Or=Se.create("--ft-tooltip-max-width","","SIZE","150px"),wr=wt`
1229
+ `,Me],br=$e.create("--ft-tooltip-distance","","SIZE","4px"),mr=$e.create("--ft-tooltip-color","","COLOR","#FFFFFF"),xr=$e.create("--ft-tooltip-background-color","","COLOR","#666666"),vr=$e.create("--ft-tooltip-z-index","","NUMBER","100"),Or=$e.external(Ue.borderRadiusS,"Design system"),wr=$e.create("--ft-tooltip-max-width","","SIZE","150px"),Sr=St`
1225
1230
  .ft-tooltip--container {
1226
1231
  display: block;
1227
1232
  }
@@ -1236,21 +1241,21 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1236
1241
  box-sizing: border-box;
1237
1242
  overflow: hidden;
1238
1243
  width: max-content;
1239
- max-width: ${Or};
1244
+ max-width: ${wr};
1240
1245
  text-align: center;
1241
- padding: ${gr};
1242
- z-index: ${xr};
1246
+ padding: ${br};
1247
+ z-index: ${vr};
1243
1248
  }
1244
1249
 
1245
1250
  .ft-tooltip--content {
1246
1251
  padding: 4px 8px;
1247
- border-radius: ${vr};
1248
- background-color: ${mr};
1249
- color: ${br};
1252
+ border-radius: ${Or};
1253
+ background-color: ${xr};
1254
+ color: ${mr};
1250
1255
  position: relative;
1251
1256
  word-break: break-word;
1252
1257
  }
1253
- `,Sr=["start","end"],$r=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Sr[0],e+"-"+Sr[1])),[]),Nr=Math.min,Cr=Math.max,Er=Math.round,kr=t=>({x:t,y:t}),Rr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Ir(t,e,o){return Cr(t,Nr(e,o))}function Lr(t,e){return"function"==typeof t?t(e):t}function Wr(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Fr(t){return"x"===t?"y":"x"}function Zr(t){return"y"===t?"height":"width"}function Kr(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Dr(t){return Fr(Kr(t))}function Br(t){return t.replace(/left|right|bottom|top/g,(t=>Rr[t]))}function Ar(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,e,o){let{reference:i,floating:r}=t;const n=Kr(e),a=Dr(e),s=Zr(a),l=Wr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let h;switch(l){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(zr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Pr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Lr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Ar(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Ar(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Hr(t,e,o){return(t?[...o.filter((e=>zr(e)===t)),...o.filter((e=>zr(e)!==t))]:o.filter((t=>Wr(t)===t))).filter((o=>!t||(zr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(o)!==o)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Lr(t,e),y=void 0!==p||d===$r?Hr(p||null,h,d):d,g=await Pr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=zr(t),r=Dr(t),n=Zr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Br(a)),[a,Br(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Wr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=zr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),$=S.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=$[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Tr(t){return Vr(t)?(t.nodeName||"").toLowerCase():"#document"}function _r(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Gr(t){var e;return null==(e=(Vr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Vr(t){return t instanceof Node||t instanceof _r(t).Node}function Yr(t){return t instanceof Element||t instanceof _r(t).Element}function Jr(t){return t instanceof HTMLElement||t instanceof _r(t).HTMLElement}function qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _r(t).ShadowRoot)}function Xr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=rn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Qr(t){return["table","td","th"].includes(Tr(t))}function tn(t){const e=en(),o=rn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function en(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function on(t){return["html","body","#document"].includes(Tr(t))}function rn(t){return _r(t).getComputedStyle(t)}function nn(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function an(t){if("html"===Tr(t))return t;const e=t.assignedSlot||t.parentNode||qr(t)&&t.host||Gr(t);return qr(e)?e.host:e}function sn(t){const e=an(t);return on(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(e)&&Xr(e)?e:sn(e)}function ln(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=sn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=_r(r);return n?e.concat(a,a.visualViewport||[],Xr(r)?r:[],a.frameElement&&o?ln(a.frameElement):[]):e.concat(r,ln(r,[],o))}function cn(t){const e=rn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Jr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Er(o)!==n||Er(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function fn(t){return Yr(t)?t:t.contextElement}function pn(t){const e=fn(t);if(!Jr(e))return kr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=cn(e);let a=(n?Er(o.width):o.width)/i,s=(n?Er(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const dn=kr(0);function hn(t){const e=_r(t);return en()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:dn}function un(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=fn(t);let a=kr(1);e&&(i?Yr(i)&&(a=pn(i)):a=pn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==_r(t))&&e}(n,o,i)?hn(n):kr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=_r(n),e=i&&Yr(i)?_r(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=pn(o),e=o.getBoundingClientRect(),i=rn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=_r(o).frameElement}}return Ar({width:f,height:p,x:l,y:c})}function yn(t){return un(Gr(t)).left+nn(t).scrollLeft}function gn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=_r(t),i=Gr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=en();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Gr(t),o=nn(t),i=t.ownerDocument.body,r=Cr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Cr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+yn(t);const s=-o.scrollTop;return"rtl"===rn(i).direction&&(a+=Cr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Gr(t));else if(Yr(e))i=function(t,e){const o=un(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Jr(t)?pn(t):kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=hn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ar(i)}function bn(t,e){const o=an(t);return!(o===e||!Yr(o)||on(o))&&("fixed"===rn(o).position||bn(o,e))}function mn(t,e,o){const i=Jr(e),r=Gr(e),n="fixed"===o,a=un(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=kr(0);if(i||!i&&!n)if(("body"!==Tr(e)||Xr(r))&&(s=nn(e)),i){const t=un(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=yn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function xn(t,e){return Jr(t)&&"fixed"!==rn(t).position?e?e(t):t.offsetParent:null}function vn(t,e){const o=_r(t);if(!Jr(t))return o;let i=xn(t,e);for(;i&&Qr(i)&&"static"===rn(i).position;)i=xn(i,e);return i&&("html"===Tr(i)||"body"===Tr(i)&&"static"===rn(i).position&&!tn(i))?o:i||function(t){let e=an(t);for(;Jr(e)&&!on(e);){if(tn(e))return e;e=an(e)}return null}(t)||o}const On={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Jr(o),n=Gr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=kr(1);const l=kr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Tr(o)||Xr(n))&&(a=nn(o)),Jr(o))){const t=un(o);s=pn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Gr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=ln(t,[],!1).filter((t=>Yr(t)&&"body"!==Tr(t))),r=null;const n="fixed"===rn(t).position;let a=n?an(t):t;for(;Yr(a)&&!on(a);){const e=rn(a),o=tn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Xr(a)&&!o&&bn(t,a))?i=i.filter((t=>t!==a)):r=e,a=an(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=gn(e,o,r);return t.top=Cr(i.top,t.top),t.right=Nr(i.right,t.right),t.bottom=Nr(i.bottom,t.bottom),t.left=Cr(i.left,t.left),t}),gn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:vn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||vn,n=this.getDimensions;return{reference:mn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return cn(t)},getScale:pn,isElement:Yr,isRTL:function(t){return"rtl"===rn(t).direction}},wn=(t,e,o)=>{const i=new Map,r={platform:On,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=Mr(c,i,l),d=i,h={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=Mr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var Sn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $n extends De{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new R,this.revealDebouncer=new R}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
1258
+ `,$r=["start","end"],Nr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+$r[0],e+"-"+$r[1])),[]),Cr=Math.min,Er=Math.max,kr=Math.round,Rr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Ir={start:"end",end:"start"};function Lr(t,e,o){return Er(t,Cr(e,o))}function Wr(t,e){return"function"==typeof t?t(e):t}function zr(t){return t.split("-")[0]}function Fr(t){return t.split("-")[1]}function Zr(t){return"x"===t?"y":"x"}function Kr(t){return"y"===t?"height":"width"}function Dr(t){return["top","bottom"].includes(zr(t))?"y":"x"}function Br(t){return Zr(Dr(t))}function Ar(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pr(t,e,o){let{reference:i,floating:r}=t;const n=Dr(e),a=Br(e),s=Kr(a),l=zr(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(Fr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Hr(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}=Wr(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=Mr(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=Mr(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 jr(t,e,o){return(t?[...o.filter((e=>Fr(e)===t)),...o.filter((e=>Fr(e)!==t))]:o.filter((t=>zr(t)===t))).filter((o=>!t||(Fr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ir[t]))}(o)!==o)))}const Tr=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=Nr,autoAlignment:h=!0,...u}=Wr(t,e),y=void 0!==p||d===Nr?jr(p||null,h,d):d,g=await Hr(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=Fr(t),r=Br(t),n=Kr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ar(a)),[a,Ar(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[zr(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=Fr(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,Fr(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 _r(t){return Yr(t)?(t.nodeName||"").toLowerCase():"#document"}function Gr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Vr(t){var e;return null==(e=(Yr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Yr(t){return t instanceof Node||t instanceof Gr(t).Node}function Jr(t){return t instanceof Element||t instanceof Gr(t).Element}function qr(t){return t instanceof HTMLElement||t instanceof Gr(t).HTMLElement}function Xr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Gr(t).ShadowRoot)}function Qr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=nn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function tn(t){return["table","td","th"].includes(_r(t))}function en(t){const e=on(),o=nn(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 on(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rn(t){return["html","body","#document"].includes(_r(t))}function nn(t){return Gr(t).getComputedStyle(t)}function an(t){return Jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function sn(t){if("html"===_r(t))return t;const e=t.assignedSlot||t.parentNode||Xr(t)&&t.host||Vr(t);return Xr(e)?e.host:e}function ln(t){const e=sn(t);return rn(e)?t.ownerDocument?t.ownerDocument.body:t.body:qr(e)&&Qr(e)?e:ln(e)}function cn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=ln(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Gr(r);return n?e.concat(a,a.visualViewport||[],Qr(r)?r:[],a.frameElement&&o?cn(a.frameElement):[]):e.concat(r,cn(r,[],o))}function fn(t){const e=nn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=qr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=kr(o)!==n||kr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function pn(t){return Jr(t)?t:t.contextElement}function dn(t){const e=pn(t);if(!qr(e))return Rr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=fn(e);let a=(n?kr(o.width):o.width)/i,s=(n?kr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const hn=Rr(0);function un(t){const e=Gr(t);return on()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:hn}function yn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=pn(t);let a=Rr(1);e&&(i?Jr(i)&&(a=dn(i)):a=dn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Gr(t))&&e}(n,o,i)?un(n):Rr(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=Gr(n),e=i&&Jr(i)?Gr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=dn(o),e=o.getBoundingClientRect(),i=nn(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=Gr(o).frameElement}}return Mr({width:f,height:p,x:l,y:c})}function gn(t){return yn(Vr(t)).left+an(t).scrollLeft}function bn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Gr(t),i=Vr(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=on();(!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=Vr(t),o=an(t),i=t.ownerDocument.body,r=Er(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Er(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+gn(t);const s=-o.scrollTop;return"rtl"===nn(i).direction&&(a+=Er(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Vr(t));else if(Jr(e))i=function(t,e){const o=yn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=qr(t)?dn(t):Rr(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=un(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Mr(i)}function mn(t,e){const o=sn(t);return!(o===e||!Jr(o)||rn(o))&&("fixed"===nn(o).position||mn(o,e))}function xn(t,e,o){const i=qr(e),r=Vr(e),n="fixed"===o,a=yn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Rr(0);if(i||!i&&!n)if(("body"!==_r(e)||Qr(r))&&(s=an(e)),i){const t=yn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=gn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function vn(t,e){return qr(t)&&"fixed"!==nn(t).position?e?e(t):t.offsetParent:null}function On(t,e){const o=Gr(t);if(!qr(t))return o;let i=vn(t,e);for(;i&&tn(i)&&"static"===nn(i).position;)i=vn(i,e);return i&&("html"===_r(i)||"body"===_r(i)&&"static"===nn(i).position&&!en(i))?o:i||function(t){let e=sn(t);for(;qr(e)&&!rn(e);){if(en(e))return e;e=sn(e)}return null}(t)||o}const wn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=qr(o),n=Vr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Rr(1);const l=Rr(0);if((r||!r&&"fixed"!==i)&&(("body"!==_r(o)||Qr(n))&&(a=an(o)),qr(o))){const t=yn(o);s=dn(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:Vr,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=cn(t,[],!1).filter((t=>Jr(t)&&"body"!==_r(t))),r=null;const n="fixed"===nn(t).position;let a=n?sn(t):t;for(;Jr(a)&&!rn(a);){const e=nn(a),o=en(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Qr(a)&&!o&&mn(t,a))?i=i.filter((t=>t!==a)):r=e,a=sn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=bn(e,o,r);return t.top=Er(i.top,t.top),t.right=Cr(i.right,t.right),t.bottom=Cr(i.bottom,t.bottom),t.left=Er(i.left,t.left),t}),bn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:On,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||On,n=this.getDimensions;return{reference:xn(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 fn(t)},getScale:dn,isElement:Jr,isRTL:function(t){return"rtl"===nn(t).direction}},Sn=(t,e,o)=>{const i=new Map,r={platform:wn,...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}=Pr(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}=Pr(c,d,l))),o=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,e,{...r,platform:n})};var $n=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 Nn extends Be{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
1254
1259
  <div part="container"
1255
1260
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1256
1261
  @mouseenter=${this.onHover}
@@ -1268,37 +1273,37 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1268
1273
  </div>
1269
1274
  </div>
1270
1275
  </div>
1271
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",wn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Lr(t,e),c={x:o,y:i},f=await Pr(e,l),p=Kr(Wr(r)),d=Fr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ir(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ir(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),jr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}$n.elementDefinitions={"ft-typography":Si},$n.styles=wr,Sn([$()],$n.prototype,"text",void 0),Sn([$({type:Boolean})],$n.prototype,"manual",void 0),Sn([$({type:Boolean})],$n.prototype,"inline",void 0),Sn([$({type:Number})],$n.prototype,"delay",void 0),Sn([$()],$n.prototype,"position",void 0),Sn([k()],$n.prototype,"slotNodes",void 0),Sn([E(".ft-tooltip--container")],$n.prototype,"container",void 0),Sn([E(".ft-tooltip")],$n.prototype,"tooltip",void 0),Sn([E(".ft-tooltip--content")],$n.prototype,"tooltipContent",void 0),Sn([N()],$n.prototype,"visible",void 0),I("ft-tooltip")($n);class Nn extends De{render(){return re`
1276
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Sn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Wr(t,e),c={x:o,y:i},f=await Hr(e,l),p=Dr(zr(r)),d=Zr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Lr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Lr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Tr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Nn.elementDefinitions={"ft-typography":$i},Nn.styles=Sr,$n([$()],Nn.prototype,"text",void 0),$n([$({type:Boolean})],Nn.prototype,"manual",void 0),$n([$({type:Boolean})],Nn.prototype,"inline",void 0),$n([$({type:Number})],Nn.prototype,"delay",void 0),$n([$()],Nn.prototype,"position",void 0),$n([R()],Nn.prototype,"slotNodes",void 0),$n([k(".ft-tooltip--container")],Nn.prototype,"container",void 0),$n([k(".ft-tooltip")],Nn.prototype,"tooltip",void 0),$n([k(".ft-tooltip--content")],Nn.prototype,"tooltipContent",void 0),$n([N()],Nn.prototype,"visible",void 0),$n([C({passive:!0})],Nn.prototype,"onTouch",null),$n([C({passive:!0})],Nn.prototype,"onHover",null),$n([C({passive:!0})],Nn.prototype,"onOut",null),L("ft-tooltip")(Nn);class Cn extends Be{render(){return ne`
1272
1277
  <div class="ft-loader">
1273
1278
  <div></div>
1274
1279
  <div></div>
1275
1280
  <div></div>
1276
1281
  <div></div>
1277
1282
  </div>
1278
- `}}Nn.styles=ar,I("ft-loader")(Nn);var Cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class En extends(He(De,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
1283
+ `}}Cn.styles=sr,L("ft-loader")(Cn);var En=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(je(Be,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
1279
1284
  <button part="button"
1280
- class="${lo(this.buttonClasses)}"
1285
+ class="${co(this.buttonClasses)}"
1281
1286
  aria-label="${this.getLabel()}"
1282
1287
  ?disabled=${this.isDisabled()}>
1283
1288
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1284
1289
  <ft-typography part="label"
1285
1290
  variant=${this.typographyVariant}
1286
1291
  element="span"
1287
- class="ft-button--label ${Ge?"ft-safari-ellipsis-fix":""}"
1292
+ class="ft-button--label ${Ve?"ft-safari-ellipsis-fix":""}"
1288
1293
  ?hidden=${!this.hasTextContent()}>
1289
1294
  <slot @slotchange=${this.onSlotchange}></slot>
1290
1295
  </ft-typography>
1291
1296
  ${this.resolveIcon()}
1292
1297
  </button>
1293
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?re`
1298
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ne`
1294
1299
  <ft-tooltip part="tooltip"
1295
1300
  text="${this.getLabel()}"
1296
1301
  position="${this.tooltipPosition}">
1297
1302
  ${t}
1298
1303
  </ft-tooltip>
1299
- `:t}resolveIcon(){return this.loading?re`
1300
- <ft-loader part="loader icon"></ft-loader> `:this.icon?re`
1301
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}En.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":$n,"ft-typography":Si,"ft-icon":Ti,"ft-loader":Nn},Cn([$({type:String,reflect:!0})],En.prototype,"role",void 0),Cn([$()],En.prototype,"type",void 0),Cn([$({type:Boolean})],En.prototype,"disabled",void 0),Cn([$()],En.prototype,"label",void 0),Cn([$()],En.prototype,"icon",void 0),Cn([$()],En.prototype,"iconVariant",void 0),Cn([$({type:Boolean})],En.prototype,"trailingIcon",void 0),Cn([$({type:Boolean})],En.prototype,"loading",void 0),Cn([$()],En.prototype,"tooltipPosition",void 0),Cn([$({type:Boolean})],En.prototype,"hideTooltip",void 0),Cn([$({type:Boolean})],En.prototype,"forceTooltip",void 0),Cn([E(".ft-button")],En.prototype,"button",void 0),Cn([E(".ft-button--label slot")],En.prototype,"slottedContent",void 0);var kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rn extends En{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Rn.styles=[Me,yr],kn([$({type:Boolean})],Rn.prototype,"primary",void 0),kn([$({type:Boolean})],Rn.prototype,"outlined",void 0),kn([$({type:Boolean})],Rn.prototype,"dense",void 0),kn([$({type:Boolean})],Rn.prototype,"round",void 0);const Un=[wt`
1304
+ `:t}resolveIcon(){return this.loading?ne`
1305
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
1306
+ <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}}kn.elementDefinitions={"ft-ripple":Mi,"ft-tooltip":Nn,"ft-typography":$i,"ft-icon":_i,"ft-loader":Cn},En([$({type:String,reflect:!0})],kn.prototype,"role",void 0),En([$()],kn.prototype,"type",void 0),En([$({type:Boolean})],kn.prototype,"disabled",void 0),En([$()],kn.prototype,"label",void 0),En([$()],kn.prototype,"icon",void 0),En([$()],kn.prototype,"iconVariant",void 0),En([$({type:Boolean})],kn.prototype,"trailingIcon",void 0),En([$({type:Boolean})],kn.prototype,"loading",void 0),En([$()],kn.prototype,"tooltipPosition",void 0),En([$({type:Boolean})],kn.prototype,"hideTooltip",void 0),En([$({type:Boolean})],kn.prototype,"forceTooltip",void 0),En([k(".ft-button")],kn.prototype,"button",void 0),En([k(".ft-button--label slot")],kn.prototype,"slottedContent",void 0);var Rn=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 kn{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"}}Un.styles=[Pe,gr],Rn([$({type:Boolean})],Un.prototype,"primary",void 0),Rn([$({type:Boolean})],Un.prototype,"outlined",void 0),Rn([$({type:Boolean})],Un.prototype,"dense",void 0),Rn([$({type:Boolean})],Un.prototype,"round",void 0);const In=[St`
1302
1307
  :host {
1303
1308
  display: inline-block;
1304
1309
  max-width: 100%;
@@ -1348,7 +1353,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1348
1353
  }
1349
1354
 
1350
1355
  .ft-button:focus-visible {
1351
- outline-color: ${ke.focusFocusRingColor};
1356
+ outline-color: ${Re.focusFocusRingColor};
1352
1357
  outline-style: solid;
1353
1358
  }
1354
1359
 
@@ -1377,146 +1382,146 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1377
1382
  /** Primary styles **/
1378
1383
 
1379
1384
  .ft-button--primary {
1380
- ${$e(nr.color,ke.primaryIconColor)};
1385
+ ${Ne(ar.color,Re.primaryIconColor)};
1381
1386
 
1382
- ${$e(Ri.color,ke.primaryStateLayerColor)};
1383
- ${$e(Ri.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
1384
- ${$e(Ri.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
1385
- ${$e(Ri.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
1386
- ${$e(Ri.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
1387
+ ${Ne(Ui.color,Re.primaryStateLayerColor)};
1388
+ ${Ne(Ui.opacityContentOnSurfaceHover,Re.primaryStateLayerOpacityHover)};
1389
+ ${Ne(Ui.opacityContentOnSurfaceFocused,Re.primaryStateLayerOpacityFocus)};
1390
+ ${Ne(Ui.opacityContentOnSurfaceSelected,Re.primaryStateLayerOpacityActive)};
1391
+ ${Ne(Ui.opacityContentOnSurfacePressed,Re.primaryStateLayerOpacityActive)};
1387
1392
 
1388
- background-color: ${ke.primaryBackgroundColor};
1389
- color: ${ke.primaryColor};
1393
+ background-color: ${Re.primaryBackgroundColor};
1394
+ color: ${Re.primaryColor};
1390
1395
  border-style: none;
1391
1396
  }
1392
1397
 
1393
1398
  .ft-button--primary[disabled] {
1394
- opacity: ${ke.primaryComponentOpacityDisabled};
1399
+ opacity: ${Re.primaryComponentOpacityDisabled};
1395
1400
  }
1396
1401
 
1397
1402
  .ft-button--primary ft-icon {
1398
- color: ${ke.primaryIconColor};
1403
+ color: ${Re.primaryIconColor};
1399
1404
  }
1400
1405
 
1401
1406
  /** Secondary styles **/
1402
1407
 
1403
1408
  .ft-button--secondary {
1404
- ${$e(nr.color,ke.secondaryIconColor)};
1409
+ ${Ne(ar.color,Re.secondaryIconColor)};
1405
1410
 
1406
- ${$e(Ri.color,ke.secondaryStateLayerColor)};
1407
- ${$e(Ri.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
1408
- ${$e(Ri.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
1409
- ${$e(Ri.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
1410
- ${$e(Ri.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
1411
+ ${Ne(Ui.color,Re.secondaryStateLayerColor)};
1412
+ ${Ne(Ui.opacityContentOnSurfaceHover,Re.secondaryStateLayerOpacityHover)};
1413
+ ${Ne(Ui.opacityContentOnSurfaceFocused,Re.secondaryStateLayerOpacityFocus)};
1414
+ ${Ne(Ui.opacityContentOnSurfaceSelected,Re.secondaryStateLayerOpacityActive)};
1415
+ ${Ne(Ui.opacityContentOnSurfacePressed,Re.secondaryStateLayerOpacityActive)};
1411
1416
 
1412
- background-color: ${ke.secondaryBackgroundColor};
1413
- color: ${ke.secondaryColor};
1414
- border-color: ${ke.secondaryBorderColor};
1417
+ background-color: ${Re.secondaryBackgroundColor};
1418
+ color: ${Re.secondaryColor};
1419
+ border-color: ${Re.secondaryBorderColor};
1415
1420
  border-style: solid;
1416
1421
  }
1417
1422
 
1418
1423
  .ft-button--secondary[disabled] {
1419
- opacity: ${ke.secondaryComponentOpacityDisabled};
1424
+ opacity: ${Re.secondaryComponentOpacityDisabled};
1420
1425
  }
1421
1426
 
1422
1427
  .ft-button--secondary ft-icon {
1423
- color: ${ke.secondaryIconColor};
1428
+ color: ${Re.secondaryIconColor};
1424
1429
  }
1425
1430
 
1426
1431
  /** Tertiary styles **/
1427
1432
 
1428
1433
  .ft-button--tertiary {
1429
- ${$e(nr.color,ke.tertiaryIconColor)};
1434
+ ${Ne(ar.color,Re.tertiaryIconColor)};
1430
1435
 
1431
- ${$e(Ri.color,ke.tertiaryStateLayerColor)};
1432
- ${$e(Ri.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
1433
- ${$e(Ri.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
1434
- ${$e(Ri.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
1435
- ${$e(Ri.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
1436
+ ${Ne(Ui.color,Re.tertiaryStateLayerColor)};
1437
+ ${Ne(Ui.opacityContentOnSurfaceHover,Re.tertiaryStateLayerOpacityHover)};
1438
+ ${Ne(Ui.opacityContentOnSurfaceFocused,Re.tertiaryStateLayerOpacityFocus)};
1439
+ ${Ne(Ui.opacityContentOnSurfaceSelected,Re.tertiaryStateLayerOpacityActive)};
1440
+ ${Ne(Ui.opacityContentOnSurfacePressed,Re.tertiaryStateLayerOpacityActive)};
1436
1441
 
1437
- background-color: ${ke.tertiaryBackgroundColor};
1438
- color: ${ke.tertiaryColor};
1442
+ background-color: ${Re.tertiaryBackgroundColor};
1443
+ color: ${Re.tertiaryColor};
1439
1444
  border-style: none;
1440
1445
  }
1441
1446
 
1442
1447
  .ft-button--tertiary[disabled] {
1443
- opacity: ${ke.tertiaryComponentOpacityDisabled};
1448
+ opacity: ${Re.tertiaryComponentOpacityDisabled};
1444
1449
  }
1445
1450
 
1446
1451
  .ft-button--tertiary ft-icon {
1447
- color: ${ke.tertiaryIconColor};
1452
+ color: ${Re.tertiaryIconColor};
1448
1453
  }
1449
1454
 
1450
1455
  /** Neutral styles **/
1451
1456
 
1452
1457
  .ft-button--neutral {
1453
- ${$e(nr.color,ke.neutralIconColor)};
1458
+ ${Ne(ar.color,Re.neutralIconColor)};
1454
1459
 
1455
- ${$e(Ri.backgroundColor,ke.neutralStateLayerColor)};
1456
- ${$e(Ri.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
1457
- ${$e(Ri.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
1458
- ${$e(Ri.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
1459
- ${$e(Ri.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
1460
+ ${Ne(Ui.backgroundColor,Re.neutralStateLayerColor)};
1461
+ ${Ne(Ui.opacityContentOnSurfaceHover,Re.neutralStateLayerOpacityHover)};
1462
+ ${Ne(Ui.opacityContentOnSurfaceFocused,Re.neutralStateLayerOpacityFocus)};
1463
+ ${Ne(Ui.opacityContentOnSurfaceSelected,Re.neutralStateLayerOpacityActive)};
1464
+ ${Ne(Ui.opacityContentOnSurfacePressed,Re.neutralStateLayerOpacityActive)};
1460
1465
 
1461
- background-color: ${ke.neutralBackgroundColor};
1462
- color: ${ke.neutralColor};
1466
+ background-color: ${Re.neutralBackgroundColor};
1467
+ color: ${Re.neutralColor};
1463
1468
  border-style: none;
1464
1469
  }
1465
1470
 
1466
1471
  .ft-button--neutral[disabled] {
1467
- opacity: ${ke.neutralComponentOpacityDisabled};
1472
+ opacity: ${Re.neutralComponentOpacityDisabled};
1468
1473
  }
1469
1474
 
1470
1475
  .ft-button--neutral ft-icon {
1471
- color: ${ke.neutralIconColor};
1476
+ color: ${Re.neutralIconColor};
1472
1477
  }
1473
1478
 
1474
1479
  /** Large styles **/
1475
1480
 
1476
1481
  .ft-button--large {
1477
- ${$e(Mi.size,ke.largeIconSize)};
1478
- ${$e(nr.size,ke.largeIconSize)};
1479
-
1480
- height: ${ke.largeHeight};
1481
- padding: 0 ${ke.largeHorizontalPadding};
1482
- gap: ${ke.largeGap};
1483
- border-radius: ${ke.largeBorderRadius};
1484
- border-width: ${ke.largeBorderWidth};
1482
+ ${Ne(Pi.size,Re.largeIconSize)};
1483
+ ${Ne(ar.size,Re.largeIconSize)};
1484
+
1485
+ height: ${Re.largeHeight};
1486
+ padding: 0 ${Re.largeHorizontalPadding};
1487
+ gap: ${Re.largeGap};
1488
+ border-radius: ${Re.largeBorderRadius};
1489
+ border-width: ${Re.largeBorderWidth};
1485
1490
  }
1486
1491
 
1487
1492
  .ft-button--large:focus-visible {
1488
- outline-width: ${ke.largeFocusOutlineWidth};
1489
- outline-offset: ${ke.largeFocusOutlineOffset};
1493
+ outline-width: ${Re.largeFocusOutlineWidth};
1494
+ outline-offset: ${Re.largeFocusOutlineOffset};
1490
1495
  }
1491
1496
 
1492
1497
  .ft-button--large.ft-button--icon-only {
1493
- width: ${ke.largeIconOnlyWidth};
1498
+ width: ${Re.largeIconOnlyWidth};
1494
1499
  padding: unset;
1495
1500
  }
1496
1501
 
1497
1502
  /** Small styles **/
1498
1503
 
1499
1504
  .ft-button--small {
1500
- ${$e(Mi.size,ke.smallIconSize)};
1501
- ${$e(nr.size,ke.smallIconSize)};
1502
-
1503
- height: ${ke.smallHeight};
1504
- padding: 0 ${ke.smallHorizontalPadding};
1505
- gap: ${ke.smallGap};
1506
- border-radius: ${ke.smallBorderRadius};
1507
- border-width: ${ke.smallBorderWidth};
1505
+ ${Ne(Pi.size,Re.smallIconSize)};
1506
+ ${Ne(ar.size,Re.smallIconSize)};
1507
+
1508
+ height: ${Re.smallHeight};
1509
+ padding: 0 ${Re.smallHorizontalPadding};
1510
+ gap: ${Re.smallGap};
1511
+ border-radius: ${Re.smallBorderRadius};
1512
+ border-width: ${Re.smallBorderWidth};
1508
1513
  }
1509
1514
 
1510
1515
  .ft-button--small:focus-visible {
1511
- outline-width: ${ke.smallFocusOutlineWidth};
1512
- outline-offset: ${ke.smallFocusOutlineOffset};
1516
+ outline-width: ${Re.smallFocusOutlineWidth};
1517
+ outline-offset: ${Re.smallFocusOutlineOffset};
1513
1518
  }
1514
1519
 
1515
1520
  .ft-button--small.ft-button--icon-only {
1516
- width: ${ke.smallIconOnlyWidth};
1521
+ width: ${Re.smallIconOnlyWidth};
1517
1522
  padding: unset;
1518
1523
  }
1519
- `,Ae];var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ln extends En{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?yo.caption1medium:yo.body2medium}}Ln.styles=[Me,Un],In([$({type:Boolean})],Ln.prototype,"primary",void 0),In([$({type:Boolean})],Ln.prototype,"secondary",void 0),In([$({type:Boolean})],Ln.prototype,"tertiary",void 0),In([$({type:Boolean})],Ln.prototype,"neutral",void 0),In([$({type:Boolean})],Ln.prototype,"small",void 0),I("ft-button")(Rn),I("ftds-button")(Ln);class Wn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const zn={headerBackground:Se.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Se.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Se.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Se.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Se.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Se.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Se.external(Re.colorOnSurfaceHigh,"Design system"),titleFont:Se.external(Re.titleFont,"Design system"),contentFont:Se.external(Re.contentFont,"Design system")},Fn=wt`
1524
+ `,Me];var Ln=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 Wn extends kn{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?go.caption1medium:go.body2medium}}Wn.styles=[Pe,In],Ln([$({type:Boolean})],Wn.prototype,"primary",void 0),Ln([$({type:Boolean})],Wn.prototype,"secondary",void 0),Ln([$({type:Boolean})],Wn.prototype,"tertiary",void 0),Ln([$({type:Boolean})],Wn.prototype,"neutral",void 0),Ln([$({type:Boolean})],Wn.prototype,"small",void 0),L("ft-button")(Un),L("ftds-button")(Wn);class zn extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Fn={headerBackground:$e.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:$e.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:$e.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:$e.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:$e.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:$e.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:$e.external(Ue.colorOnSurfaceHigh,"Design system"),titleFont:$e.external(Ue.titleFont,"Design system"),contentFont:$e.external(Ue.contentFont,"Design system")},Zn=St`
1520
1525
  :host {
1521
1526
  display: block;
1522
1527
  }
@@ -1532,15 +1537,15 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1532
1537
  .header-cell {
1533
1538
  display: flex;
1534
1539
  flex-direction: column;
1535
- background: ${zn.headerBackground};
1536
- color: ${zn.colorOnSurfaceHigh};
1540
+ background: ${Fn.headerBackground};
1541
+ color: ${Fn.colorOnSurfaceHigh};
1537
1542
  padding: .5rem 1rem;
1538
- font-family: ${zn.titleFont};
1543
+ font-family: ${Fn.titleFont};
1539
1544
  }
1540
1545
 
1541
1546
  .header-cell--sticky {
1542
1547
  top: 0;
1543
- z-index: ${zn.stickyHeaderZIndex};
1548
+ z-index: ${Fn.stickyHeaderZIndex};
1544
1549
  position: sticky;
1545
1550
  }
1546
1551
 
@@ -1558,8 +1563,8 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1558
1563
  }
1559
1564
 
1560
1565
  .column-title-container ft-button {
1561
- ${$e(lr.backgroundColor,zn.headerBackground)};
1562
- ${$e(lr.color,zn.colorOnSurfaceHigh)};
1566
+ ${Ne(cr.backgroundColor,Fn.headerBackground)};
1567
+ ${Ne(cr.color,Fn.colorOnSurfaceHigh)};
1563
1568
  }
1564
1569
 
1565
1570
  .column-title {
@@ -1588,31 +1593,31 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1588
1593
 
1589
1594
  .cell {
1590
1595
  padding: 1rem;
1591
- border-left-color: ${zn.headerBackground};
1596
+ border-left-color: ${Fn.headerBackground};
1592
1597
  border-left-style: solid;
1593
- border-left-width: ${zn.cellVerticalBorderWidth};
1594
- border-bottom: 1px solid ${zn.headerBackground};
1598
+ border-left-width: ${Fn.cellVerticalBorderWidth};
1599
+ border-bottom: 1px solid ${Fn.headerBackground};
1595
1600
  overflow-x: auto;
1596
1601
  display: flex;
1597
1602
  align-items: center;
1598
- font-family: ${zn.contentFont};
1603
+ font-family: ${Fn.contentFont};
1599
1604
  }
1600
1605
 
1601
1606
  /* Even is 2n+1 and odd is 2n because of the header */
1602
1607
  .row:nth-child(2n) > .cell {
1603
- background: ${zn.oddRowBackground};
1608
+ background: ${Fn.oddRowBackground};
1604
1609
  }
1605
1610
 
1606
1611
  .row:nth-child(2n + 1) > .cell {
1607
- background: ${zn.evenRowBackground};
1612
+ background: ${Fn.evenRowBackground};
1608
1613
  }
1609
1614
 
1610
1615
  .row:hover > .cell {
1611
- background: ${zn.rowHoverBackground};
1616
+ background: ${Fn.rowHoverBackground};
1612
1617
  }
1613
1618
 
1614
1619
  .cell:last-of-type {
1615
- border-right: 1px solid ${zn.headerBackground};
1620
+ border-right: 1px solid ${Fn.headerBackground};
1616
1621
  }
1617
1622
 
1618
1623
  .row:last-of-type .cell:first-of-type {
@@ -1626,7 +1631,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1626
1631
  .hidden {
1627
1632
  visibility: hidden;
1628
1633
  }
1629
- `;var Zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Kn=t=>re`${t}`,Dn=(t,e)=>t-e;class Bn extends De{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return re`
1634
+ `;var Kn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Dn=t=>ne`${t}`,Bn=(t,e)=>t-e;class An extends Be{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,o){this.data=t,this.columns=e,this.sort=o}render(){let t=this.sortData(this.filterData());return ne`
1630
1635
  <style>
1631
1636
  .table {
1632
1637
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1634,17 +1639,17 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1634
1639
  </style>
1635
1640
  <div class="table">
1636
1641
  <div class="header">
1637
- ${no(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1642
+ ${ao(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1638
1643
  </div>
1639
- ${no(t,((t,e)=>"row-"+e),((t,e)=>re`
1644
+ ${ao(t,((t,e)=>"row-"+e),((t,e)=>ne`
1640
1645
  <div class="row"
1641
- @click=${()=>this.dispatchEvent(new Wn(t))}>
1642
- ${no(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1646
+ @click=${()=>this.dispatchEvent(new zn(t))}>
1647
+ ${ao(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1643
1648
  </div>
1644
1649
  `))}
1645
1650
  </div>
1646
- `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Dn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return re`
1647
- <div class="${lo(o)}"
1651
+ `}filterData(){return this.filters.reduce(((t,e,o)=>{var i;const r=this.columns[o];if(e&&e.value)switch(null!==(i=r.filter)&&void 0!==i?i:"text"){case"text":return t.filter((t=>this.getValueAsString(r,t,o).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(r,t,o)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const o=this.columns[this.currentSort.column],i=null!==(e=o.comparator)&&void 0!==e?e:Bn,r="asc"===this.currentSort.order?i:(t,e)=>-i(t,e);return[...t].sort(((t,e)=>r(this.getValue(o,t),this.getValue(o,e))))}return t}update(t){super.update(t),t.has("sort")&&(this.currentSort=this.sort),(t.has("data")||t.has("columns"))&&this.updateSelectData()}updateSelectData(){this.selectData=[];const t=this.data,e=this.columns;for(let o in e){const i=e[o];"select"===i.filter&&(this.selectData[o]=[...new Set(t.map(((t,e)=>this.getValueAsString(i,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const o={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return ne`
1652
+ <div class="${co(o)}"
1648
1653
  part="${this.columnPart("header-cell",e)}">
1649
1654
  <div class="column-title-container">
1650
1655
  <span class="column-title"
@@ -1655,7 +1660,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1655
1660
  </div>
1656
1661
  ${this.renderColumnFilter(t,e)}
1657
1662
  </div>
1658
- `}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return re`
1663
+ `}renderColumnSort(t,e){var o;const i=this.currentSort&&this.currentSort.column===e,r=i?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return ne`
1659
1664
  <ft-button
1660
1665
  round
1661
1666
  dense
@@ -1666,7 +1671,7 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1666
1671
  @click=${()=>{var t;i?"asc"===(null===(t=this.currentSort)||void 0===t?void 0:t.order)?this.currentSort={column:e,order:"desc"}:this.currentSort=void 0:this.currentSort={column:e,order:"asc"}}}
1667
1672
  part="${this.columnPart("sort-button",e)}"
1668
1673
  ></ft-button>
1669
- `}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return re`
1674
+ `}renderColumnFilter(t,e){var o,i;const r=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(o=t.filter)&&void 0!==o?o:"text"){case"text":return ne`
1670
1675
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1671
1676
  <ft-text-field
1672
1677
  label="Search ${t.title}"
@@ -1674,20 +1679,20 @@ const qi={fontSize:Se.create("--ft-text-field-font-size","","SIZE","14px"),label
1674
1679
  part="${this.columnPart("filter",e)}"
1675
1680
  ></ft-text-field>
1676
1681
  </div>
1677
- `;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?re`
1682
+ `;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?ne`
1678
1683
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1679
1684
  <ft-select label="Filter ${t.title}"
1680
1685
  @change=${r}
1681
1686
  part="${this.columnPart("filter",e)}">
1682
1687
  <ft-select-option></ft-select-option>
1683
- ${o.map((t=>re`
1688
+ ${o.map((t=>ne`
1684
1689
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1685
1690
  `))}
1686
1691
  </ft-select>
1687
1692
  </div>
1688
- `:ae}return ae}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Kn;return re`
1693
+ `:se}return se}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,o,i){var r;const n=null!==(r=t.render)&&void 0!==r?r:Dn;return ne`
1689
1694
  <div class="cell"
1690
1695
  part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
1691
- ${(t=>{const e=n(t,i);return"string"==typeof e?so(e):e})(this.getValue(t,o))}
1696
+ ${(t=>{const e=n(t,i);return"string"==typeof e?lo(e):e})(this.getValue(t,o))}
1692
1697
  </div>
1693
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,o){const i=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(i,o):(t=>""+t)(i)}}Bn.styles=Fn,Zn([$({attribute:!1})],Bn.prototype,"data",void 0),Zn([$({attribute:!1})],Bn.prototype,"columns",void 0),Zn([$({attribute:!1})],Bn.prototype,"sort",void 0),Zn([$()],Bn.prototype,"stickyHeaders",void 0),Zn([N()],Bn.prototype,"currentSort",void 0),I("ft-filterable-table")(Bn),t.FtFilterableTable=Bn,t.FtFilterableTableCssVariables=zn,t.RowClickEvent=Wn,t.styles=Fn}({});
1698
+ `}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)}}An.styles=Zn,Kn([$({attribute:!1})],An.prototype,"data",void 0),Kn([$({attribute:!1})],An.prototype,"columns",void 0),Kn([$({attribute:!1})],An.prototype,"sort",void 0),Kn([$()],An.prototype,"stickyHeaders",void 0),Kn([N()],An.prototype,"currentSort",void 0),L("ft-filterable-table")(An),t.FtFilterableTable=An,t.FtFilterableTableCssVariables=Fn,t.RowClickEvent=zn,t.styles=Zn}({});