@fluid-topics/ft-filterable-table 1.0.58 → 1.0.60

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.
@@ -14,60 +14,60 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);h(s,a,l);const c={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,c),this._definitionsByClass.set(s,c);let d=i.call(o,t);d||(d=p(t),e.call(o,t,d)),this===window.customElements&&(r.set(s,c),c.standInClass=d);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,c,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.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 i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,d=t=>{let e=t.getRootNode();if(!c(e)){const t=v[v.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=d(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=s.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(g(Element,"innerHTML"),g(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,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o 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,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Yt){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,s=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}s(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ 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,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=r.prototype.attributeChangedCallback,s=new Set(r.observedAttributes||[]);d(r,s,l);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const 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=s;if(e)return s=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?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)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),s=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},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&&l.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)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class 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(re){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function o(t){return(e,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,o):i(t,e)
22
+ */const o=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(o){o.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(o){o.createProperty(e.key,t)}};function i(t){return(e,i)=>void 0!==i?((t,e,o)=>{e.constructor.createProperty(o,t)})(t,e,i):o(t,e)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function s(t){return o({...t,state:!0})}
27
+ */}function r(t){return i({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const n=({finisher:t,descriptor:e})=>(i,o)=>{var s;if(void 0===o){const o=null!==(s=i.originalKey)&&void 0!==s?s:i.key,n=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(n.finisher=function(e){t(e,o)}),n}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(s,o)}}
32
+ */const n=({finisher:t,descriptor:e})=>(o,i)=>{var r;if(void 0===i){const i=null!==(r=o.originalKey)&&void 0!==r?r:o.key,n=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(o.key)}:{...o,key:i};return null!=t&&(n.finisher=function(e){t(e,i)}),n}{const r=o.constructor;void 0!==e&&Object.defineProperty(o,i,e(i)),null==t||t(r,i)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function r(t,e){return n({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
37
+ */;function a(t,e){return n({descriptor:o=>{const i={get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof o?Symbol():"__"+o;i.get=function(){var o,i;return void 0===this[e]&&(this[e]=null!==(i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}
42
+ */var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t){const{slot:e,selector:o}=null!=t?t:{};return n({descriptor:i=>({get(){var i;const r="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?s(n,t):[];return o?a.filter((t=>t.matches(o))):a},enumerable:!0,configurable:!0})})}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */function d(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?c({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}function p(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 i,o,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!p(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!p(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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((i=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=i;0!=o--;){var n=s[o];if(!p(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const h=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
47
+ */function p(t,e,o){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:e},o?c({slot:r,flatten:e,selector:o}):n({descriptor:t=>({get(){var t,e;const o="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o);return null!==(e=null==n?void 0:n.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}function f(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(!f(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(!f(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(!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const d=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2019 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
- const f=window,u=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,x=Symbol(),v=new WeakMap;let b=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==x)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(u&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=v.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&v.set(e,t))}return t}toString(){return this.cssText}};const g=t=>new b("string"==typeof t?t:t+"",void 0,x),y=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>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.")})(i)+t[o+1]),t[0]);return new b(i,t,x)},m=(t,e)=>{u?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=f.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},$=u?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return g(e)})(t):t
53
+ const h=window,u=h.ShadowRoot&&(void 0===h.ShadyCSS||h.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,y=Symbol(),g=new WeakMap;let b=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==y)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(u&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=g.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&g.set(e,t))}return t}toString(){return this.cssText}};const m=t=>new b("string"==typeof t?t:t+"",void 0,y),x=(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 b(o,t,y)},v=(t,e)=>{u?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=h.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},O=u?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return m(e)})(t):t
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */;var w;const O=window,S=O.trustedTypes,k=S?S.emptyScript:"",E=O.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?k:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,e)=>e!==t&&(e==e||t==t),R={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};let M=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=R){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift($(t))}else void 0!==t&&e.push($(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return m(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=R){var o;const s=this.constructor._$Ep(t,i);if(void 0!==s&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,s=o._$Ev.get(t);if(void 0!==s&&this._$El!==s){const t=o.getPropertyOptions(s),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=s,this[s]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||N)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
58
+ */;var N;const $=window,w=$.trustedTypes,S=w?w.emptyScript:"",C=$.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},E=(t,e)=>e!==t&&(e==e||t==t),R={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:E};let I=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,o)=>{const i=this._$Ep(o,e);void 0!==i&&(this._$Ev.set(i,o),t.push(i))})),t}static createProperty(t,e=R){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=R){var i;const r=this.constructor._$Ep(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==(null===(i=o.converter)||void 0===i?void 0:i.toAttribute)?o.converter:k).toAttribute(e,o.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:k;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var z;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==E||E({ReactiveElement:M}),(null!==(w=O.reactiveElementVersions)&&void 0!==w?w:O.reactiveElementVersions=[]).push("1.6.1");const F=window,U=F.trustedTypes,j=U?U.createPolicy("lit-html",{createHTML:t=>t}):void 0,B="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,I="?"+D,A=`<${I}>`,P=document,L=()=>P.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,Z=t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),H="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,V=/>/g,J=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,X=/"/g,Y=/^(?:script|style|textarea|title)$/i,G=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,it=P.createTreeWalker(P,129,null,!1),ot=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=W;for(let e=0;e<i;e++){const i=t[e];let l,a,c=-1,d=0;for(;d<i.length&&(r.lastIndex=d,a=r.exec(i),null!==a);)d=r.lastIndex,r===W?"!--"===a[1]?r=K:void 0!==a[1]?r=V:void 0!==a[2]?(Y.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=J):void 0!==a[3]&&(r=J):r===J?">"===a[0]?(r=null!=s?s:W,c=-1):void 0===a[1]?c=-2:(c=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?J:'"'===a[3]?X:q):r===X||r===q?r=J:r===K||r===V?r=W:(r=J,s=void 0);const p=r===J&&t[e+1].startsWith("/>")?" ":"";n+=r===W?i+A:c>=0?(o.push(l),i.slice(0,c)+B+i.slice(c)+D+p):i+D+(-2===c?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(l):l,o]};class st{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,c]=ot(t,e);if(this.el=st.createElement(a,i),it.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=it.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(B)||e.startsWith(D)){const i=c[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+B).split(D),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?ct:"?"===e[1]?pt:"@"===e[1]?ht:at})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(Y.test(o.tagName)){const t=o.textContent.split(D),e=t.length-1;if(e>0){o.textContent=U?U.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),it.nextNode(),l.push({type:2,index:++s});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===I)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(D,t+1));)l.push({type:7,index:s}),t+=D.length-1}s++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}}function nt(t,e,i=t,o){var s,n,r,l;if(e===Q)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const c=T(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=nt(t,a._$AS(t,e.values),a,o)),e}class rt{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){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:P).importNode(i,!0);it.currentNode=s;let n=it.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new lt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ft(n,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=it.nextNode(),r++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class lt{constructor(t,e,i,o){var s;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),T(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):Z(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&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=st.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new rt(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new st(t)),e}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new lt(this.k(L()),this.k(L()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class at{constructor(t,e,i,o,s){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=tt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=nt(this,t,e,0),n=!T(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=nt(this,o[i+r],e,r),l===Q&&(l=this._$AH[r]),n||(n=!T(l)||l!==this._$AH[r]),l===tt?t=tt:t!==tt&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ct extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}}const dt=U?U.emptyScript:"";class pt extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,dt):this.element.removeAttribute(this.name)}}class ht extends at{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=nt(this,t,e,0))&&void 0!==i?i:tt)===Q)return;const o=this._$AH,s=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==tt&&(o===tt||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ft{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}}const ut={O:B,P:D,A:I,C:1,M:ot,L:rt,D:Z,R:nt,I:lt,V:at,H:pt,N:ht,U:ct,F:ft},xt=F.litHtmlPolyfillSupport;null==xt||xt(st,lt),(null!==(z=F.litHtmlVersions)&&void 0!==z?z:F.litHtmlVersions=[]).push("2.7.3");
64
+ var U;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(N=$.reactiveElementVersions)&&void 0!==N?N:$.reactiveElementVersions=[]).push("1.6.1");const W=window,L=W.trustedTypes,z=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,F="?"+K,D=`<${F}>`,B=document,M=()=>B.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j=t=>H(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),P="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,_=/>/g,V=RegExp(`>|${P}(?:([^\\s"'>=/]+)(${P}*=${P}*(?:[^ \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,null,!1),it=(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 l,s,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,s=a.exec(o),null!==s);)p=a.lastIndex,a===T?"!--"===s[1]?a=G:void 0!==s[1]?a=_:void 0!==s[2]?(q.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=V):void 0!==s[3]&&(a=V):a===V?">"===s[0]?(a=null!=r?r:T,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?V:'"'===s[3]?J:Y):a===J||a===Y?a=V:a===G||a===_?a=T:(a=V,r=void 0);const f=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(l),o.slice(0,c)+Z+o.slice(c)+K+f):o+K+(-2===c?(i.push(void 0),e):f)}const l=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(l):l,i]};class rt{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=it(t,e);if(this.el=rt.createElement(s,o),ot.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=ot.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(Z)||e.startsWith(K)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+Z).split(K),e=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?ct:"?"===e[1]?ft:"@"===e[1]?dt:st})}else l.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(q.test(i.tagName)){const t=i.textContent.split(K),e=t.length-1;if(e>0){i.textContent=L?L.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],M()),ot.nextNode(),l.push({type:2,index:++r});i.append(t[e],M())}}}else if(8===i.nodeType)if(i.data===F)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(K,t+1));)l.push({type:7,index:r}),t+=K.length-1}r++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}}function nt(t,e,o=t,i){var r,n,a,l;if(e===Q)return e;let s=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=A(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,o,i)),void 0!==i?(null!==(a=(l=o)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:o._$Cl=s),void 0!==s&&(e=nt(t,s._$AS(t,e.values),s,i)),e}class at{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){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(o,!0);ot.currentNode=r;let n=ot.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new lt(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new ht(n,this,t)),this._$AV.push(e),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=ot.nextNode(),a++)}return r}v(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++}}class lt{constructor(t,e,o,i){var r;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),A(t)?t===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):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!==tt&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=rt.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new at(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(t){H(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 lt(this.k(M()),this.k(M()),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){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class st{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}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,e,0),n=!A(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=nt(this,i[o+a],e,a),l===Q&&(l=this._$AH[a]),n||(n=!A(l)||l!==this._$AH[a]),l===tt?t=tt:t!==tt&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ct extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}}const pt=L?L.emptyScript:"";class ft extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,pt):this.element.removeAttribute(this.name)}}class dt extends st{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=nt(this,t,e,0))&&void 0!==o?o:tt)===Q)return;const i=this._$AH,r=t===tt&&i!==tt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==tt&&(i===tt||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class ht{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}}const ut={O:Z,P:K,A:F,C:1,M:it,L:at,D:j,R:nt,I:lt,V:st,H:ft,N:dt,U:ct,F:ht},yt=W.litHtmlPolyfillSupport;null==yt||yt(rt,lt),(null!==(U=W.litHtmlVersions)&&void 0!==U?U:W.litHtmlVersions=[]).push("2.7.3");
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2017 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
69
  */
70
- var vt,bt;let gt=class extends M{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new lt(e.insertBefore(L(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Q}};gt.finalized=!0,gt._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:gt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:gt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");class mt{static create(t,e,i){let o=t=>g(null!=t?t:i),s=y`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${g(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=y`var(${g(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${g(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):g(null!=e?e:t.defaultValue),o=y`var(${g(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${g(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function $t(t,e){return g(`${t.name}: ${e}`)}const wt={colorPrimary:mt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:mt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:mt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:mt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:mt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:mt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mt.create("--ft-color-error","COLOR","#B00020"),colorOutline:mt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:mt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:mt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:mt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:mt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:mt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:mt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:mt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:mt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:mt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:mt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:mt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:mt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:mt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:mt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:mt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:mt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:mt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:mt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:mt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:mt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:mt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:mt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:mt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:mt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:mt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:mt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:mt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:mt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:mt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:mt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:mt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Ot extends gt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return m(i,t.elementStyles),i}}var St,kt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Et=Symbol("constructorPrototype"),Ct=Symbol("constructorName"),Nt=Symbol("exportpartsDebouncer");class Rt extends Ot{constructor(){super(),this[St]=new e(5),this[Ct]=this.constructor.name,this[Et]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ct]&&Object.setPrototypeOf(this,this[Et])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).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[Nt].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,i,o,s,n,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const d=[...c.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...d].join(", "))}}St=Nt,kt([o()],Rt.prototype,"exportpartsPrefix",void 0),kt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!p(t,e),...null!=e?e:{}})}([])],Rt.prototype,"exportpartsPrefixes",void 0),kt([o()],Rt.prototype,"customStylesheet",void 0);const Mt=y`
70
+ var gt,bt;let mt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new lt(e.insertBefore(M(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Q}};mt.finalized=!0,mt._$litElement$=!0,null===(gt=globalThis.litElementHydrateSupport)||void 0===gt||gt.call(globalThis,{LitElement:mt});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:mt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?m(t):t;class Ot{static create(t,e,o,i){const r=t=>vt(null!=t?t:i),n=x`var(${vt(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>x`var(${vt(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=x`var(${vt(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=>x`var(${vt(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):vt(null!=e?e:t.lastResortDefaultValue()),i=x`var(${vt(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=>x`var(${vt(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Nt(t,e){return vt(`${t.name}: ${e}`)}const $t={colorWhite:Ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ot.create("--ft-opacity-80","","NUMBER","0.8")},wt={display:{fontFamily:Ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},St={backgroundActionPrimary:Ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$t.colorBrand0),backgroundErrorPrimary:Ot.extend("--ft-background-error-primary","Used as background of error components.",$t.colorRed0),backgroundErrorSubtle:Ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",$t.colorRed10),backgroundInfoPrimary:Ot.extend("--ft-background-info-primary","Used as background of information components.",$t.colorCyan200),backgroundInfoSubtle:Ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",$t.colorCyan10),backgroundWarningPrimary:Ot.extend("--ft-background-warning-primary","Used as background of warning components.",$t.colorOrange300),backgroundWarningSubtle:Ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$t.colorOrange10),backgroundSuccessPrimary:Ot.extend("--ft-background-success-primary","Used as background of success components.",$t.colorGreen200),backgroundSuccessSubtle:Ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",$t.colorGreen10),backgroundGlobalSurface:Ot.extend("--ft-background-global-surface","Used as app background.",$t.colorWhite),backgroundGlobalOnSurface:Ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$t.colorGray10),backgroundGlobalOnSurfaceDark:Ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$t.colorGray30),contentActionPrimary:Ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$t.colorBrand0),contentWarningPrimary:Ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$t.colorOrange300),contentWarningIconOnly:Ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$t.colorOrange0),contentErrorPrimary:Ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$t.colorRed0),contentErrorIconOnly:Ot.extend("--ft-content-error-icon-only","Used on error status icons alone",$t.colorRed0),contentInfoPrimary:Ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$t.colorCyan200),contentInfoIconOnly:Ot.extend("--ft-content-info-icon-only","Used on info status icons alone",$t.colorCyan0),contentSuccessIconOnly:Ot.extend("--ft-content-success-icon-only","Used on success status icons alone",$t.colorGreen0),contentSuccessPrimary:Ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$t.colorGreen200),contentGlobalPrimary:Ot.extend("--ft-content-global-primary","Used for main content on the page.",$t.colorGray500),contentGlobalSecondary:Ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$t.colorGray200),contentGlobalSubtle:Ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$t.colorGray0),contentGlobalOnColor:Ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",$t.colorWhite),borderActionPrimary:Ot.extend("--ft-border-action-primary","Used as border for primary action components.",$t.colorBrand0),borderActionFocusRing:Ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$t.colorCyan0),borderWarningPrimary:Ot.extend("--ft-border-warning-primary","Used as border for warning components.",$t.colorOrange30),borderSuccessPrimary:Ot.extend("--ft-border-success-primary","Used as border for success components.",$t.colorGreen30),borderErrorPrimary:Ot.extend("--ft-border-error-primary","Used as border for error components.",$t.colorRed30),borderInfoPrimary:Ot.extend("--ft-border-info-primary","Used as border for information components.",$t.colorCyan30),borderGlobalSubtle:Ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$t.colorGray30),borderGlobalPrimary:Ot.extend("--ft-border-global-primary","Used as border for element like input.",$t.colorGray50),borderInputPrimary:Ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$t.colorGray80)},Ct={largeHeight:Ot.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ot.extend("--ft-button-large-horizontal-padding","",$t.spacing4),largeGap:Ot.extend("--ft-button-large-gap","",$t.spacing2),largeBorderRadius:Ot.extend("--ft-button-large-border-radius","",$t.borderRadiusS),largeIconSize:Ot.extend("--ft-button-large-icon-size","",$t.iconSize3),largeBorderWidth:Ot.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ot.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ot.extend("--ft-button-small-horizontal-padding","",$t.spacing3),smallGap:Ot.extend("--ft-button-small-gap","",$t.spacing2),smallBorderRadius:Ot.extend("--ft-button-small-border-radius","",$t.borderRadiusS),smallIconSize:Ot.extend("--ft-button-small-icon-size","",$t.iconSize2),smallBorderWidth:Ot.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ot.extend("--ft-button-primary-background-color","",St.backgroundActionPrimary),primaryColor:Ot.extend("--ft-button-primary-color","",St.contentGlobalOnColor),primaryIconColor:Ot.extend("--ft-button-primary-icon-color","",St.contentGlobalOnColor),primaryStateLayerColor:Ot.extend("--ft-button-primary-state-layer-color","",St.contentGlobalOnColor),primaryStateLayerOpacityHover:Ot.extend("--ft-button-primary-state-layer-opacity-hover","",$t.opacity16),primaryStateLayerOpacityFocus:Ot.extend("--ft-button-primary-state-layer-opacity-focus","",$t.opacity16),primaryStateLayerOpacityActive:Ot.extend("--ft-button-primary-state-layer-opacity-active","",$t.opacity24),primaryComponentOpacityDisabled:Ot.extend("--ft-button-primary-component-opacity-disabled","",$t.opacity40),focusFocusRingColor:Ot.extend("--ft-button-focus-focus-ring-color","",St.borderActionFocusRing),tertiaryBackgroundColor:Ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ot.extend("--ft-button-tertiary-color","",St.contentActionPrimary),tertiaryIconColor:Ot.extend("--ft-button-tertiary-icon-color","",St.contentActionPrimary),tertiaryStateLayerColor:Ot.extend("--ft-button-tertiary-state-layer-color","",St.contentActionPrimary),tertiaryStateLayerOpacityHover:Ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",$t.opacity8),tertiaryStateLayerOpacityFocus:Ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",$t.opacity8),tertiaryStateLayerOpacityActive:Ot.extend("--ft-button-tertiary-state-layer-opacity-active","",$t.opacity16),tertiaryComponentOpacityDisabled:Ot.extend("--ft-button-tertiary-component-opacity-disabled","",$t.opacity40),secondaryBackgroundColor:Ot.extend("--ft-button-secondary-background-color","",$t.colorWhite),secondaryColor:Ot.extend("--ft-button-secondary-color","",St.contentActionPrimary),secondaryIconColor:Ot.extend("--ft-button-secondary-icon-color","",St.contentActionPrimary),secondaryStateLayerColor:Ot.extend("--ft-button-secondary-state-layer-color","",St.contentActionPrimary),secondaryStateLayerOpacityHover:Ot.extend("--ft-button-secondary-state-layer-opacity-hover","",$t.opacity8),secondaryStateLayerOpacityFocus:Ot.extend("--ft-button-secondary-state-layer-opacity-focus","",$t.opacity8),secondaryStateLayerOpacityActive:Ot.extend("--ft-button-secondary-state-layer-opacity-active","",$t.opacity16),secondaryComponentOpacityDisabled:Ot.extend("--ft-button-secondary-component-opacity-disabled","",$t.opacity40),secondaryBorderColor:Ot.extend("--ft-button-secondary-border-color","",St.borderActionPrimary),neutralBackgroundColor:Ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ot.extend("--ft-button-neutral-icon-color","",St.contentGlobalSecondary),neutralColor:Ot.extend("--ft-button-neutral-color","",St.contentGlobalSecondary),neutralStateLayerColor:Ot.extend("--ft-button-neutral-state-layer-color","",St.contentGlobalSecondary),neutralStateLayerOpacityHover:Ot.extend("--ft-button-neutral-state-layer-opacity-hover","",$t.opacity8),neutralStateLayerOpacityFocus:Ot.extend("--ft-button-neutral-state-layer-opacity-focus","",$t.opacity8),neutralStateLayerOpacityActive:Ot.extend("--ft-button-neutral-state-layer-opacity-active","",$t.opacity16),neutralComponentOpacityDisabled:Ot.extend("--ft-button-neutral-component-opacity-disabled","",$t.opacity40)};Ot.extend("--ft-tabs-top-left-border-radius","",$t.borderRadiusS),Ot.extend("--ft-tabs-top-right-border-radius","",$t.borderRadiusS),Ot.extend("--ft-tabs-label-horizontal-padding","",$t.spacing4),Ot.extend("--ft-tabs-label-vertical-padding","",$t.spacing3),Ot.extend("--ft-tabs-label-gap","",$t.spacing1),Ot.extend("--ft-switch-group-horizontal-padding","",$t.spacing1),Ot.extend("--ft-switch-group-vertical-padding","",$t.spacing1),Ot.extend("--ft-switch-group-gap","",$t.spacing1),Ot.extend("--ft-switch-group-background-color","",St.backgroundGlobalSurface),Ot.extend("--ft-switch-group-border-color","",St.borderGlobalSubtle),Ot.create("--ft-switch-group-border-radius","","SIZE","6px"),Ot.extend("--ft-switch-label-horizontal-padding","",$t.spacing2),Ot.extend("--ft-switch-label-vertical-padding","",$t.spacing1),Ot.extend("--ft-switch-icon-horizontal-padding","",$t.spacing1),Ot.extend("--ft-switch-icon-vertical-padding","",$t.spacing1),Ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-switch-focus-focus-ring-color","",St.borderActionFocusRing),Ot.extend("--ft-switch-option-border-radius","",$t.borderRadiusS),Ot.extend("--ft-switch-off-state-layer-opacity-hover","",$t.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-focus","",$t.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-active","",$t.opacity16),Ot.extend("--ft-switch-off-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-switch-off-color","",St.contentGlobalSubtle),Ot.extend("--ft-switch-off-state-layer-color","",St.contentGlobalSubtle),Ot.extend("--ft-chart-1-light","for area color charts",$t.colorBrand40),Ot.extend("--ft-chart-1-base","for line charts",$t.colorBrand0),Ot.extend("--ft-chart-2-light","for area color charts",$t.colorYellow60),Ot.extend("--ft-chart-2-base","for line charts",$t.colorYellow100),Ot.extend("--ft-chart-3-light","",$t.colorUltramarine40),Ot.extend("--ft-chart-3-base","",$t.colorUltramarine70),Ot.extend("--ft-chart-4-light","",$t.colorCyan50),Ot.extend("--ft-chart-4-base","",$t.colorCyan100),Ot.extend("--ft-chart-5-light","",$t.colorRed40),Ot.extend("--ft-chart-5-base","",$t.colorRed60),Ot.extend("--ft-chart-6-light","",$t.colorGreen40),Ot.extend("--ft-chart-6-base","",$t.colorGreen70),Ot.extend("--ft-chart-7-light","",$t.colorOrange70),Ot.extend("--ft-chart-7-base","",$t.colorOrange100),Ot.extend("--ft-chart-8-light","",$t.colorAvocado70),Ot.extend("--ft-chart-8-base","",$t.colorAvocado200),Ot.extend("--ft-chart-9-light","",$t.colorBrown50),Ot.extend("--ft-chart-9-base","",$t.colorBrown200),Ot.extend("--ft-chart-10-light","",$t.colorGray50),Ot.extend("--ft-chart-10-base","",$t.colorGray80),Ot.extend("--ft-chart-monochrome-10","",$t.colorBrand10),Ot.extend("--ft-chart-monochrome-20","",$t.colorBrand20),Ot.extend("--ft-chart-monochrome-30","",$t.colorBrand40),Ot.extend("--ft-chart-monochrome-40","",$t.colorBrand60),Ot.extend("--ft-chart-monochrome-50","",$t.colorBrand0),Ot.extend("--ft-chart-monochrome-60","",$t.colorBrand200),Ot.extend("--ft-chip-large-horizontal-padding","",$t.spacing4),Ot.extend("--ft-chip-large-vertical-padding","",$t.spacing2),Ot.extend("--ft-chip-large-gap","",$t.spacing1),Ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-large-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-large-border-width","","SIZE","1px"),Ot.extend("--ft-chip-large-icon-size","",$t.iconSize3),Ot.extend("--ft-chip-medium-horizontal-padding","",$t.spacing3),Ot.extend("--ft-chip-medium-vertical-padding","",$t.spacing1),Ot.extend("--ft-chip-medium-gap","",$t.spacing1),Ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-medium-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-medium-border-width","","SIZE","1px"),Ot.extend("--ft-chip-medium-icon-size","",$t.iconSize2),Ot.extend("--ft-chip-small-horizontal-padding","",$t.spacing2),Ot.extend("--ft-chip-small-vertical-padding","",$t.spacing05),Ot.extend("--ft-chip-small-gap","",$t.spacing1),Ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-small-border-radius","",$t.borderRadiusPill),Ot.create("--ft-chip-small-border-width","","SIZE","1px"),Ot.extend("--ft-chip-small-icon-size","",$t.iconSize1),Ot.extend("--ft-chip-neutral-background-color","",St.backgroundGlobalOnSurface),Ot.extend("--ft-chip-neutral-color","",St.contentGlobalPrimary),Ot.extend("--ft-chip-neutral-border-color","",St.borderGlobalSubtle),Ot.extend("--ft-chip-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-chip-info-color","",St.contentInfoPrimary),Ot.extend("--ft-chip-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-chip-success-background-color","",St.backgroundSuccessSubtle),Ot.extend("--ft-chip-success-color","",St.contentSuccessPrimary),Ot.extend("--ft-chip-success-border-color","",St.borderSuccessPrimary),Ot.extend("--ft-chip-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-chip-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-chip-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-chip-error-background-color","",St.backgroundErrorSubtle),Ot.extend("--ft-chip-error-color","",St.contentErrorPrimary),Ot.extend("--ft-chip-error-border-color","",St.borderErrorPrimary),Ot.create("--ft-notice-border-width","","SIZE","1px"),Ot.extend("--ft-notice-horizontal-padding","",$t.spacing2),Ot.extend("--ft-notice-vertical-padding","",$t.spacing1),Ot.extend("--ft-notice-border-radius","",$t.borderRadiusS),Ot.extend("--ft-notice-gap","",$t.spacing2),Ot.extend("--ft-notice-icon-size","",$t.iconSize3),Ot.extend("--ft-notice-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-notice-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-notice-info-color","",St.contentInfoPrimary),Ot.extend("--ft-notice-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-notice-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-notice-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-checkbox-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-checkbox-checked-background-color","",St.contentActionPrimary),Ot.extend("--ft-checkbox-checked-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-checkbox-checked-color","",St.contentGlobalOnColor),Ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-checkbox-checked-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-checkbox-unchecked-border-color","",$t.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-color","",$t.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-checkbox-focus-focus-ring-color","",St.borderActionFocusRing),Ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-checkbox-gap","",$t.spacing3),Ot.extend("--ft-toggle-off-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-toggle-off-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-toggle-off-background-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-off-icon-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-off-state-layer-color","",St.contentGlobalSubtle),Ot.extend("--ft-toggle-on-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-toggle-on-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-toggle-on-background-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-on-icon-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-on-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-toggle-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-toggle-focus-focus-ring-color","",St.borderActionFocusRing),Ot.extend("--ft-toggle-gap","",$t.spacing3),Ot.extend("--ft-radio-label-color","",St.contentGlobalPrimary),Ot.extend("--ft-radio-selected-color","",St.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-color","",St.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-radio-selected-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-radio-unselected-state-layer-color","",$t.colorGray80),Ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",$t.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",$t.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-active","",$t.opacity24),Ot.extend("--ft-radio-unselected-component-opacity-disabled","",$t.opacity40),Ot.extend("--ft-radio-focus-focus-ring-color","",St.borderActionFocusRing),Ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-radio-gap","",$t.spacing3),Ot.extend("--ft-notification-icon-size","",$t.iconSize4),Ot.extend("--ft-notification-horizontal-padding","",$t.spacing4),Ot.extend("--ft-notification-vertical-padding","",$t.spacing4),Ot.extend("--ft-notification-info-background-color","",St.backgroundInfoSubtle),Ot.extend("--ft-notification-info-color","",St.contentInfoPrimary),Ot.extend("--ft-notification-info-border-color","",St.borderInfoPrimary),Ot.extend("--ft-notification-success-background-color","",St.backgroundSuccessSubtle),Ot.extend("--ft-notification-success-color","",St.contentSuccessPrimary),Ot.extend("--ft-notification-success-border-color","",St.borderSuccessPrimary),Ot.extend("--ft-notification-warning-background-color","",St.backgroundWarningSubtle),Ot.extend("--ft-notification-warning-color","",St.contentWarningPrimary),Ot.extend("--ft-notification-warning-border-color","",St.borderWarningPrimary),Ot.extend("--ft-notification-error-background-color","",St.backgroundErrorSubtle),Ot.extend("--ft-notification-error-color","",St.contentErrorPrimary),Ot.extend("--ft-notification-error-border-color","",St.borderErrorPrimary),Ot.extend("--ft-notification-border-radius","",$t.borderRadiusPill),Ot.create("--ft-notification-border-width","","SIZE","1px"),Ot.extend("--ft-notification-gap-leading","",$t.spacing2),Ot.extend("--ft-notification-gap-trailing","",$t.spacing8);const kt={colorPrimary:Ot.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ot.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ot.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ot.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ot.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ot.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ot.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ot.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ot.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ot.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ot.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ot.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ot.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ot.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ot.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ot.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ot.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ot.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ot.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ot.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ot.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ot.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ot.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ot.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ot.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ot.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ot.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ot.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ot.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ot.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ot.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ot.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ot.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ot.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ot.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ot.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ot.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ot.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ot.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ot.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ot.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ot.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ot.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ot.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.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:Ot.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ot.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ot.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ot.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ot.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ot.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Et extends mt{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 v(o,t.elementStyles),o}}var Rt,It=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Ut=Symbol("constructorPrototype"),Wt=Symbol("constructorName"),Lt=Symbol("exportpartsDebouncer");class zt extends Et{constructor(){super(),this[Rt]=new e(5),this[Wt]=this.constructor.name,this[Ut]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wt]&&Object.setPrototypeOf(this,this[Ut])}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[Lt].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 l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Rt=Lt,It([i()],zt.prototype,"exportpartsPrefix",void 0),It([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return i({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!f(t,e),...null!=e?e:{}})}([])],zt.prototype,"exportpartsPrefixes",void 0),It([i()],zt.prototype,"customStylesheet",void 0);const Zt=x`
71
71
  .ft-no-text-select {
72
72
  -webkit-touch-callout: none;
73
73
  -webkit-user-select: none;
@@ -76,7 +76,7 @@ var vt,bt;let gt=class extends M{constructor(){super(...arguments),this.renderOp
76
76
  -ms-user-select: none;
77
77
  user-select: none;
78
78
  }
79
- `;y`
79
+ `;x`
80
80
  .ft-word-wrap {
81
81
  white-space: normal;
82
82
  word-wrap: break-word;
@@ -88,7 +88,7 @@ var vt,bt;let gt=class extends M{constructor(){super(...arguments),this.renderOp
88
88
  -webkit-hyphens: auto;
89
89
  hyphens: auto
90
90
  }
91
- `;const zt=y`
91
+ `;const Kt=x`
92
92
  .ft-safari-ellipsis-fix {
93
93
  margin-right: 0;
94
94
 
@@ -99,17 +99,17 @@ var vt,bt;let gt=class extends M{constructor(){super(...arguments),this.renderOp
99
99
  display: inline-block;
100
100
  width: 0;
101
101
  }
102
- `;var Ft,Ut,jt;window.ftReduxStores||(window.ftReduxStores={});const Bt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(jt=null===(Ut=null===(Ft=window.safari)||void 0===Ft?void 0:Ft.pushNotification)||void 0===Ut?void 0:Ut.toString())&&void 0!==jt?jt:""),Dt=1,It=2,At=t=>(...e)=>({_$litDirective$:t,values:e});
102
+ `;window.ftReduxStores||(window.ftReduxStores={});const Ft=Symbol("elementInternals");function Dt(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ft].form}constructor(...t){super(t),this[Ft]=this.attachInternals(),this[Ft].role=e}setFormValue(t){this[Ft].setFormValue(t)}}}var Bt,Mt,At;const Ht=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(At=null===(Mt=null===(Bt=window.safari)||void 0===Bt?void 0:Bt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==At?At:""),jt=1,Pt=2,Tt=t=>(...e)=>({_$litDirective$:t,values:e});
103
103
  /**
104
104
  * @license
105
105
  * Copyright 2017 Google LLC
106
106
  * SPDX-License-Identifier: BSD-3-Clause
107
- */class Pt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
107
+ */class Gt{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)}}
108
108
  /**
109
109
  * @license
110
110
  * Copyright 2020 Google LLC
111
111
  * SPDX-License-Identifier: BSD-3-Clause
112
- */const{I:Lt}=ut,Tt=()=>document.createComment(""),_t=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Tt(),n),o=s.insertBefore(Tt(),n);i=new Lt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Zt=(t,e,i=t)=>(t._$AI(e,i),t),Ht={},Wt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Kt=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Vt=At(class extends Pt{constructor(t){if(super(t),t.type!==It)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ht=l,r;const a=null!==(s=this.ht)&&void 0!==s?s:this.ht=[],c=[];let d,p,h=0,f=n.length-1,u=0,x=r.length-1;for(;h<=f&&u<=x;)if(null===n[h])h++;else if(null===n[f])f--;else if(a[h]===l[u])c[u]=Zt(n[h],r[u]),h++,u++;else if(a[f]===l[x])c[x]=Zt(n[f],r[x]),f--,x--;else if(a[h]===l[x])c[x]=Zt(n[h],r[x]),_t(t,c[x+1],n[h]),h++,x--;else if(a[f]===l[u])c[u]=Zt(n[f],r[u]),_t(t,n[h],n[f]),f--,u++;else if(void 0===d&&(d=Kt(l,u,x),p=Kt(a,h,f)),d.has(a[h]))if(d.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=_t(t,n[h]);Zt(e,r[u]),c[u]=e}else c[u]=Zt(i,r[u]),_t(t,n[h],i),n[e]=null;u++}else Wt(n[f]),f--;else Wt(n[h]),h++;for(;u<=x;){const e=_t(t,c[x+1]);Zt(e,r[u]),c[u++]=e}for(;h<=f;){const t=n[h++];null!==t&&Wt(t)}return this.ht=l,((t,e=Ht)=>{t._$AH=e})(t,c),Q}});
112
+ */const{I:_t}=ut,Vt=()=>document.createComment(""),Yt=(t,e,o)=>{var i;const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Vt(),n),i=r.insertBefore(Vt(),n);o=new _t(e,i,t,t.options)}else{const e=o._$AB.nextSibling,a=o._$AM,l=a!==t;if(l){let e;null===(i=o._$AQ)||void 0===i||i.call(o,t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==a._$AU&&o._$AP(e)}if(e!==n||l){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},Jt=(t,e,o=t)=>(t._$AI(e,o),t),qt={},Xt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let o=t._$AA;const i=t._$AB.nextSibling;for(;o!==i;){const t=o.nextSibling;o.remove(),o=t}},Qt=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},te=Tt(class extends Gt{constructor(t){if(super(t),t.type!==Pt)throw Error("repeat() can only be used in text expressions")}dt(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.dt(t,e,o).values}update(t,[e,o,i]){var r;const n=(t=>t._$AH)(t),{values:a,keys:l}=this.dt(e,o,i);if(!Array.isArray(n))return this.ht=l,a;const s=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let p,f,d=0,h=n.length-1,u=0,y=a.length-1;for(;d<=h&&u<=y;)if(null===n[d])d++;else if(null===n[h])h--;else if(s[d]===l[u])c[u]=Jt(n[d],a[u]),d++,u++;else if(s[h]===l[y])c[y]=Jt(n[h],a[y]),h--,y--;else if(s[d]===l[y])c[y]=Jt(n[d],a[y]),Yt(t,c[y+1],n[d]),d++,y--;else if(s[h]===l[u])c[u]=Jt(n[h],a[u]),Yt(t,n[d],n[h]),h--,u++;else if(void 0===p&&(p=Qt(l,u,y),f=Qt(s,d,h)),p.has(s[d]))if(p.has(s[h])){const e=f.get(l[u]),o=void 0!==e?n[e]:null;if(null===o){const e=Yt(t,n[d]);Jt(e,a[u]),c[u]=e}else c[u]=Jt(o,a[u]),Yt(t,n[d],o),n[e]=null;u++}else Xt(n[h]),h--;else Xt(n[d]),d++;for(;u<=y;){const e=Yt(t,c[y+1]);Jt(e,a[u]),c[u++]=e}for(;d<=h;){const t=n[d++];null!==t&&Xt(t)}return this.ht=l,((t,e=qt)=>{t._$AH=e})(t,c),Q}});
113
113
  /**
114
114
  * @license
115
115
  * Copyright 2017 Google LLC
@@ -120,132 +120,139 @@ var vt,bt;let gt=class extends M{constructor(){super(...arguments),this.renderOp
120
120
  * Copyright 2017 Google LLC
121
121
  * SPDX-License-Identifier: BSD-3-Clause
122
122
  */
123
- let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.ft=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.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Jt.directiveName="unsafeHTML",Jt.resultType=1;const qt=At(Jt),Xt=At(class extends Pt{constructor(t){var e;if(super(t),t.type!==Dt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const s=t.element.classList;this.it.forEach((t=>{t in e||(s.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.it.add(t)):(s.remove(t),this.it.delete(t)))}return Q}}),Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void 0:t._$litStatic$},Qt=t=>({_$litStatic$:t,r:Yt}),te=new Map,ee=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,c=0,d=!1;for(;c<o;){for(a=e[c];c<o&&void 0!==(n=i[c],s=Gt(n));)a+=s+e[++c],d=!0;c!==o&&l.push(n),r.push(a),c++}if(c===o&&r.push(e[o]),d){const t=r.join("$$lit$$");void 0===(e=te.get(t))&&(r.raw=r,te.set(t,e=r)),i=l}return t(e,...i)})(G);
123
+ let ee=class extends Gt{constructor(t){if(super(t),this.et=tt,t.type!==Pt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.ft=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.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}};ee.directiveName="unsafeHTML",ee.resultType=1;const oe=Tt(ee),ie=Tt(class extends Gt{constructor(t){var e;if(super(t),t.type!==jt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.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]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return Q}}),re=Symbol.for(""),ne=t=>{if((null==t?void 0:t.r)===re)return null==t?void 0:t._$litStatic$},ae=t=>({_$litStatic$:t,r:re}),le=new Map,se=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=ne(n));)s+=r+e[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=le.get(t))&&(a.raw=a,le.set(t,e=a)),o=l}return t(e,...o)})(X);
124
124
  /**
125
125
  * @license
126
126
  * Copyright 2018 Google LLC
127
127
  * SPDX-License-Identifier: BSD-3-Clause
128
- */var ie;!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"}(ie||(ie={}));const oe=mt.extend("--ft-typography-font-family",wt.titleFont),se=mt.extend("--ft-typography-font-family",wt.contentFont),ne={fontFamily:se,fontSize:mt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:mt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:mt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:mt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:mt.create("--ft-typography-text-transform","UNKNOWN","inherit")},re=mt.extend("--ft-typography-title-font-family",oe),le=mt.extend("--ft-typography-title-font-size",ne.fontSize,"20px"),ae=mt.extend("--ft-typography-title-font-weight",ne.fontWeight,"normal"),ce=mt.extend("--ft-typography-title-letter-spacing",ne.letterSpacing,"0.15px"),de=mt.extend("--ft-typography-title-line-height",ne.lineHeight,"1.2"),pe=mt.extend("--ft-typography-title-text-transform",ne.textTransform,"inherit"),he=mt.extend("--ft-typography-title-dense-font-family",oe),fe=mt.extend("--ft-typography-title-dense-font-size",ne.fontSize,"14px"),ue=mt.extend("--ft-typography-title-dense-font-weight",ne.fontWeight,"normal"),xe=mt.extend("--ft-typography-title-dense-letter-spacing",ne.letterSpacing,"0.105px"),ve=mt.extend("--ft-typography-title-dense-line-height",ne.lineHeight,"1.7"),be=mt.extend("--ft-typography-title-dense-text-transform",ne.textTransform,"inherit"),ge=mt.extend("--ft-typography-subtitle1-font-family",se),ye=mt.extend("--ft-typography-subtitle1-font-size",ne.fontSize,"16px"),me=mt.extend("--ft-typography-subtitle1-font-weight",ne.fontWeight,"600"),$e=mt.extend("--ft-typography-subtitle1-letter-spacing",ne.letterSpacing,"0.144px"),we=mt.extend("--ft-typography-subtitle1-line-height",ne.lineHeight,"1.5"),Oe=mt.extend("--ft-typography-subtitle1-text-transform",ne.textTransform,"inherit"),Se=mt.extend("--ft-typography-subtitle2-font-family",se),ke=mt.extend("--ft-typography-subtitle2-font-size",ne.fontSize,"14px"),Ee=mt.extend("--ft-typography-subtitle2-font-weight",ne.fontWeight,"normal"),Ce=mt.extend("--ft-typography-subtitle2-letter-spacing",ne.letterSpacing,"0.098px"),Ne=mt.extend("--ft-typography-subtitle2-line-height",ne.lineHeight,"1.7"),Re=mt.extend("--ft-typography-subtitle2-text-transform",ne.textTransform,"inherit"),Me={fontFamily:mt.extend("--ft-typography-body1-font-family",se),fontSize:mt.extend("--ft-typography-body1-font-size",ne.fontSize,"16px"),fontWeight:mt.extend("--ft-typography-body1-font-weight",ne.fontWeight,"normal"),letterSpacing:mt.extend("--ft-typography-body1-letter-spacing",ne.letterSpacing,"0.496px"),lineHeight:mt.extend("--ft-typography-body1-line-height",ne.lineHeight,"1.5"),textTransform:mt.extend("--ft-typography-body1-text-transform",ne.textTransform,"inherit")},ze=mt.extend("--ft-typography-body2-font-family",se),Fe=mt.extend("--ft-typography-body2-font-size",ne.fontSize,"14px"),Ue=mt.extend("--ft-typography-body2-font-weight",ne.fontWeight,"normal"),je=mt.extend("--ft-typography-body2-letter-spacing",ne.letterSpacing,"0.252px"),Be=mt.extend("--ft-typography-body2-line-height",ne.lineHeight,"1.4"),De=mt.extend("--ft-typography-body2-text-transform",ne.textTransform,"inherit"),Ie={fontFamily:mt.extend("--ft-typography-caption-font-family",se),fontSize:mt.extend("--ft-typography-caption-font-size",ne.fontSize,"12px"),fontWeight:mt.extend("--ft-typography-caption-font-weight",ne.fontWeight,"normal"),letterSpacing:mt.extend("--ft-typography-caption-letter-spacing",ne.letterSpacing,"0.396px"),lineHeight:mt.extend("--ft-typography-caption-line-height",ne.lineHeight,"1.33"),textTransform:mt.extend("--ft-typography-caption-text-transform",ne.textTransform,"inherit")},Ae=mt.extend("--ft-typography-breadcrumb-font-family",se),Pe=mt.extend("--ft-typography-breadcrumb-font-size",ne.fontSize,"10px"),Le=mt.extend("--ft-typography-breadcrumb-font-weight",ne.fontWeight,"normal"),Te=mt.extend("--ft-typography-breadcrumb-letter-spacing",ne.letterSpacing,"0.33px"),_e=mt.extend("--ft-typography-breadcrumb-line-height",ne.lineHeight,"1.6"),Ze=mt.extend("--ft-typography-breadcrumb-text-transform",ne.textTransform,"inherit"),He=mt.extend("--ft-typography-overline-font-family",se),We=mt.extend("--ft-typography-overline-font-size",ne.fontSize,"10px"),Ke=mt.extend("--ft-typography-overline-font-weight",ne.fontWeight,"normal"),Ve=mt.extend("--ft-typography-overline-letter-spacing",ne.letterSpacing,"1.5px"),Je=mt.extend("--ft-typography-overline-line-height",ne.lineHeight,"1.6"),qe=mt.extend("--ft-typography-overline-text-transform",ne.textTransform,"uppercase"),Xe={fontFamily:mt.extend("--ft-typography-button-font-family",se),fontSize:mt.extend("--ft-typography-button-font-size",ne.fontSize,"14px"),fontWeight:mt.extend("--ft-typography-button-font-weight",ne.fontWeight,"600"),letterSpacing:mt.extend("--ft-typography-button-letter-spacing",ne.letterSpacing,"1.246px"),lineHeight:mt.extend("--ft-typography-button-line-height",ne.lineHeight,"1.15"),textTransform:mt.extend("--ft-typography-button-text-transform",ne.textTransform,"uppercase")},Ye=y`
128
+ */var ce;!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"}(ce||(ce={}));const pe=Ot.extend("--ft-typography-font-family","",kt.titleFont),fe=Ot.extend("--ft-typography-font-family","",kt.contentFont),de={fontFamily:fe,fontSize:Ot.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ot.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ot.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ot.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ot.create("--ft-typography-text-transform","","UNKNOWN","inherit")},he=Ot.extend("--ft-typography-title-font-family","",pe),ue=Ot.extend("--ft-typography-title-font-size","",de.fontSize,"20px"),ye=Ot.extend("--ft-typography-title-font-weight","",de.fontWeight,"normal"),ge=Ot.extend("--ft-typography-title-letter-spacing","",de.letterSpacing,"0.15px"),be=Ot.extend("--ft-typography-title-line-height","",de.lineHeight,"1.2"),me=Ot.extend("--ft-typography-title-text-transform","",de.textTransform,"inherit"),xe=Ot.extend("--ft-typography-title-dense-font-family","",pe),ve=Ot.extend("--ft-typography-title-dense-font-size","",de.fontSize,"14px"),Oe=Ot.extend("--ft-typography-title-dense-font-weight","",de.fontWeight,"normal"),Ne=Ot.extend("--ft-typography-title-dense-letter-spacing","",de.letterSpacing,"0.105px"),$e=Ot.extend("--ft-typography-title-dense-line-height","",de.lineHeight,"1.7"),we=Ot.extend("--ft-typography-title-dense-text-transform","",de.textTransform,"inherit"),Se=Ot.extend("--ft-typography-subtitle1-font-family","",fe),Ce=Ot.extend("--ft-typography-subtitle1-font-size","",de.fontSize,"16px"),ke=Ot.extend("--ft-typography-subtitle1-font-weight","",de.fontWeight,"600"),Ee=Ot.extend("--ft-typography-subtitle1-letter-spacing","",de.letterSpacing,"0.144px"),Re=Ot.extend("--ft-typography-subtitle1-line-height","",de.lineHeight,"1.5"),Ie=Ot.extend("--ft-typography-subtitle1-text-transform","",de.textTransform,"inherit"),Ue=Ot.extend("--ft-typography-subtitle2-font-family","",fe),We=Ot.extend("--ft-typography-subtitle2-font-size","",de.fontSize,"14px"),Le=Ot.extend("--ft-typography-subtitle2-font-weight","",de.fontWeight,"normal"),ze=Ot.extend("--ft-typography-subtitle2-letter-spacing","",de.letterSpacing,"0.098px"),Ze=Ot.extend("--ft-typography-subtitle2-line-height","",de.lineHeight,"1.7"),Ke=Ot.extend("--ft-typography-subtitle2-text-transform","",de.textTransform,"inherit"),Fe={fontFamily:Ot.extend("--ft-typography-body1-font-family","",fe),fontSize:Ot.extend("--ft-typography-body1-font-size","",de.fontSize,"16px"),fontWeight:Ot.extend("--ft-typography-body1-font-weight","",de.fontWeight,"normal"),letterSpacing:Ot.extend("--ft-typography-body1-letter-spacing","",de.letterSpacing,"0.496px"),lineHeight:Ot.extend("--ft-typography-body1-line-height","",de.lineHeight,"1.5"),textTransform:Ot.extend("--ft-typography-body1-text-transform","",de.textTransform,"inherit")},De=Ot.extend("--ft-typography-body2-font-family","",fe),Be=Ot.extend("--ft-typography-body2-font-size","",de.fontSize,"14px"),Me=Ot.extend("--ft-typography-body2-font-weight","",de.fontWeight,"normal"),Ae=Ot.extend("--ft-typography-body2-letter-spacing","",de.letterSpacing,"0.252px"),He=Ot.extend("--ft-typography-body2-line-height","",de.lineHeight,"1.4"),je=Ot.extend("--ft-typography-body2-text-transform","",de.textTransform,"inherit"),Pe={fontFamily:Ot.extend("--ft-typography-caption-font-family","",fe),fontSize:Ot.extend("--ft-typography-caption-font-size","",de.fontSize,"12px"),fontWeight:Ot.extend("--ft-typography-caption-font-weight","",de.fontWeight,"normal"),letterSpacing:Ot.extend("--ft-typography-caption-letter-spacing","",de.letterSpacing,"0.396px"),lineHeight:Ot.extend("--ft-typography-caption-line-height","",de.lineHeight,"1.33"),textTransform:Ot.extend("--ft-typography-caption-text-transform","",de.textTransform,"inherit")},Te=Ot.extend("--ft-typography-breadcrumb-font-family","",fe),Ge=Ot.extend("--ft-typography-breadcrumb-font-size","",de.fontSize,"10px"),_e=Ot.extend("--ft-typography-breadcrumb-font-weight","",de.fontWeight,"normal"),Ve=Ot.extend("--ft-typography-breadcrumb-letter-spacing","",de.letterSpacing,"0.33px"),Ye=Ot.extend("--ft-typography-breadcrumb-line-height","",de.lineHeight,"1.6"),Je=Ot.extend("--ft-typography-breadcrumb-text-transform","",de.textTransform,"inherit"),qe=Ot.extend("--ft-typography-overline-font-family","",fe),Xe=Ot.extend("--ft-typography-overline-font-size","",de.fontSize,"10px"),Qe=Ot.extend("--ft-typography-overline-font-weight","",de.fontWeight,"normal"),to=Ot.extend("--ft-typography-overline-letter-spacing","",de.letterSpacing,"1.5px"),eo=Ot.extend("--ft-typography-overline-line-height","",de.lineHeight,"1.6"),oo=Ot.extend("--ft-typography-overline-text-transform","",de.textTransform,"uppercase"),io={fontFamily:Ot.extend("--ft-typography-button-font-family","",fe),fontSize:Ot.extend("--ft-typography-button-font-size","",de.fontSize,"14px"),fontWeight:Ot.extend("--ft-typography-button-font-weight","",de.fontWeight,"600"),letterSpacing:Ot.extend("--ft-typography-button-letter-spacing","",de.letterSpacing,"1.246px"),lineHeight:Ot.extend("--ft-typography-button-line-height","",de.lineHeight,"1.15"),textTransform:Ot.extend("--ft-typography-button-text-transform","",de.textTransform,"uppercase")},ro=x`
129
129
  .ft-typography--title {
130
- font-family: ${re};
131
- font-size: ${le};
132
- font-weight: ${ae};
133
- letter-spacing: ${ce};
134
- line-height: ${de};
135
- text-transform: ${pe};
136
- }
137
- `,Ge=y`
138
- .ft-typography--title-dense {
139
130
  font-family: ${he};
140
- font-size: ${fe};
141
- font-weight: ${ue};
142
- letter-spacing: ${xe};
143
- line-height: ${ve};
144
- text-transform: ${be};
131
+ font-size: ${ue};
132
+ font-weight: ${ye};
133
+ letter-spacing: ${ge};
134
+ line-height: ${be};
135
+ text-transform: ${me};
145
136
  }
146
- `,Qe=y`
137
+ `,no=x`
138
+ .ft-typography--title-dense {
139
+ font-family: ${xe};
140
+ font-size: ${ve};
141
+ font-weight: ${Oe};
142
+ letter-spacing: ${Ne};
143
+ line-height: ${$e};
144
+ text-transform: ${we};
145
+ }
146
+ `,ao=x`
147
147
  .ft-typography--subtitle1 {
148
- font-family: ${ge};
149
- font-size: ${ye};
150
- font-weight: ${me};
151
- letter-spacing: ${$e};
152
- line-height: ${we};
153
- text-transform: ${Oe};
154
- }
155
- `,ti=y`
156
- .ft-typography--subtitle2 {
157
148
  font-family: ${Se};
158
- font-size: ${ke};
159
- font-weight: ${Ee};
160
- letter-spacing: ${Ce};
161
- line-height: ${Ne};
162
- text-transform: ${Re};
149
+ font-size: ${Ce};
150
+ font-weight: ${ke};
151
+ letter-spacing: ${Ee};
152
+ line-height: ${Re};
153
+ text-transform: ${Ie};
154
+ }
155
+ `,lo=x`
156
+ .ft-typography--subtitle2 {
157
+ font-family: ${Ue};
158
+ font-size: ${We};
159
+ font-weight: ${Le};
160
+ letter-spacing: ${ze};
161
+ line-height: ${Ze};
162
+ text-transform: ${Ke};
163
163
  }
164
164
 
165
- `,ei=y`
165
+ `,so=x`
166
166
  .ft-typography--body1 {
167
- font-family: ${Me.fontFamily};
168
- font-size: ${Me.fontSize};
169
- font-weight: ${Me.fontWeight};
170
- letter-spacing: ${Me.letterSpacing};
171
- line-height: ${Me.lineHeight};
172
- text-transform: ${Me.textTransform};
173
- }
174
- `,ii=y`
167
+ font-family: ${Fe.fontFamily};
168
+ font-size: ${Fe.fontSize};
169
+ font-weight: ${Fe.fontWeight};
170
+ letter-spacing: ${Fe.letterSpacing};
171
+ line-height: ${Fe.lineHeight};
172
+ text-transform: ${Fe.textTransform};
173
+ }
174
+ `,co=x`
175
175
  .ft-typography--body2 {
176
- font-family: ${ze};
177
- font-size: ${Fe};
178
- font-weight: ${Ue};
179
- letter-spacing: ${je};
180
- line-height: ${Be};
181
- text-transform: ${De};
182
- }
183
- `,oi=y`
176
+ font-family: ${De};
177
+ font-size: ${Be};
178
+ font-weight: ${Me};
179
+ letter-spacing: ${Ae};
180
+ line-height: ${He};
181
+ text-transform: ${je};
182
+ }
183
+ `,po=x`
184
184
  .ft-typography--caption {
185
- font-family: ${Ie.fontFamily};
186
- font-size: ${Ie.fontSize};
187
- font-weight: ${Ie.fontWeight};
188
- letter-spacing: ${Ie.letterSpacing};
189
- line-height: ${Ie.lineHeight};
190
- text-transform: ${Ie.textTransform};
191
- }
192
- `,si=y`
185
+ font-family: ${Pe.fontFamily};
186
+ font-size: ${Pe.fontSize};
187
+ font-weight: ${Pe.fontWeight};
188
+ letter-spacing: ${Pe.letterSpacing};
189
+ line-height: ${Pe.lineHeight};
190
+ text-transform: ${Pe.textTransform};
191
+ }
192
+ `,fo=x`
193
193
  .ft-typography--breadcrumb {
194
- font-family: ${Ae};
195
- font-size: ${Pe};
196
- font-weight: ${Le};
197
- letter-spacing: ${Te};
198
- line-height: ${_e};
199
- text-transform: ${Ze};
200
- }
201
- `,ni=y`
202
- .ft-typography--overline {
203
- font-family: ${He};
204
- font-size: ${We};
205
- font-weight: ${Ke};
194
+ font-family: ${Te};
195
+ font-size: ${Ge};
196
+ font-weight: ${_e};
206
197
  letter-spacing: ${Ve};
207
- line-height: ${Je};
208
- text-transform: ${qe};
198
+ line-height: ${Ye};
199
+ text-transform: ${Je};
209
200
  }
210
- `,ri=y`
201
+ `,ho=x`
202
+ .ft-typography--overline {
203
+ font-family: ${qe};
204
+ font-size: ${Xe};
205
+ font-weight: ${Qe};
206
+ letter-spacing: ${to};
207
+ line-height: ${eo};
208
+ text-transform: ${oo};
209
+ }
210
+ `,uo=x`
211
211
  .ft-typography--button {
212
- font-family: ${Xe.fontFamily};
213
- font-size: ${Xe.fontSize};
214
- font-weight: ${Xe.fontWeight};
215
- letter-spacing: ${Xe.letterSpacing};
216
- line-height: ${Xe.lineHeight};
217
- text-transform: ${Xe.textTransform};
218
- }
219
- `,li=y`
212
+ font-family: ${io.fontFamily};
213
+ font-size: ${io.fontSize};
214
+ font-weight: ${io.fontWeight};
215
+ letter-spacing: ${io.letterSpacing};
216
+ line-height: ${io.lineHeight};
217
+ text-transform: ${io.textTransform};
218
+ }
219
+ `,yo=x`
220
220
  .ft-typography {
221
221
  vertical-align: inherit;
222
222
  }
223
- `;var ai=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ci extends Rt{constructor(){super(...arguments),this.variant=ie.body1}render(){return this.element?ee`
224
- <${Qt(this.element)}
225
- class="ft-typography ft-typography--${this.variant}">
223
+ `,go=[Object.keys(wt).map((t=>function(t){const e=wt[t];return x`
224
+ font-family: ${e.fontFamily};
225
+ font-size: ${e.fontSize};
226
+ font-weight: ${e.fontWeight};
227
+ letter-spacing: ${e.letterSpacing};
228
+ line-height: ${e.lineHeight};
229
+ text-transform: ${e.textCase};
230
+ `}(t)))];var bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 mo extends zt{constructor(){super(...arguments),this.variant=ce.body1}render(){return this.element?se`
231
+ <${ae(this.element)}
232
+ class="ft-typography ft-typography--${this.variant}">
226
233
  <slot></slot>
227
- </${Qt(this.element)}>
228
- `:ee`
234
+ </${ae(this.element)}>
235
+ `:se`
229
236
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
230
- `}}ci.styles=[Ye,Ge,Qe,ti,ei,ii,oi,si,ni,ri,li],ai([o()],ci.prototype,"element",void 0),ai([o()],ci.prototype,"variant",void 0),h("ft-typography")(ci);const di={fontSize:mt.create("--ft-input-label-font-size","SIZE","14px"),raisedFontSize:mt.create("--ft-input-label-raised-font-size","SIZE","11px"),raisedZIndex:mt.create("--ft-input-label-outlined-raised-z-index","NUMBER","2"),verticalSpacing:mt.create("--ft-input-label-vertical-spacing","SIZE","4px"),horizontalSpacing:mt.create("--ft-input-label-horizontal-spacing","SIZE","12px"),labelMaxWidth:mt.create("--ft-input-label-max-width","SIZE","100%"),borderColor:mt.extend("--ft-input-label-border-color",wt.colorOutline),textColor:mt.extend("--ft-input-label-text-color",wt.colorOnSurfaceMedium),disabledTextColor:mt.extend("--ft-input-label-disabled-text-color",wt.colorOnSurfaceDisabled),colorSurface:mt.external(wt.colorSurface,"Design system"),borderRadiusS:mt.external(wt.borderRadiusS,"Design system"),colorError:mt.external(wt.colorError,"Design system")},pi=y`
237
+ `}}mo.styles=[ro,no,ao,lo,so,co,po,fo,ho,uo,yo,...go],bo([i()],mo.prototype,"element",void 0),bo([i()],mo.prototype,"variant",void 0),d("ft-typography")(mo);const xo={fontSize:Ot.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ot.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ot.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ot.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ot.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ot.extend("--ft-input-label-border-color","",kt.colorOutline),textColor:Ot.extend("--ft-input-label-text-color","",kt.colorOnSurfaceMedium),disabledTextColor:Ot.extend("--ft-input-label-disabled-text-color","",kt.colorOnSurfaceDisabled),colorSurface:Ot.external(kt.colorSurface,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),colorError:Ot.external(kt.colorError,"Design system")},vo=x`
231
238
  .ft-input-label {
232
239
  position: absolute;
233
240
  inset: 0;
234
241
  display: flex;
235
- background-color: ${di.colorSurface};
236
- border-radius: ${di.borderRadiusS} ${di.borderRadiusS} 0 0;
242
+ background-color: ${xo.colorSurface};
243
+ border-radius: ${xo.borderRadiusS} ${xo.borderRadiusS} 0 0;
237
244
  }
238
245
 
239
246
  .ft-input-label--outlined {
240
- border-radius: ${di.borderRadiusS};
247
+ border-radius: ${xo.borderRadiusS};
241
248
  }
242
249
 
243
250
  .ft-input-label {
244
- border-color: ${di.borderColor};
251
+ border-color: ${xo.borderColor};
245
252
  }
246
253
 
247
254
  .ft-input-label.ft-input-label--in-error {
248
- border-color: ${di.colorError}
255
+ border-color: ${xo.colorError}
249
256
  }
250
257
 
251
258
  .ft-input-label:before,
@@ -258,7 +265,7 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
258
265
  }
259
266
 
260
267
  .ft-input-label:before {
261
- width: calc(${di.horizontalSpacing} - 4px);
268
+ width: calc(${xo.horizontalSpacing} - 4px);
262
269
  flex-shrink: 0;
263
270
  }
264
271
 
@@ -274,20 +281,20 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
274
281
  border-bottom-width: 1px;
275
282
  border-bottom-style: solid;
276
283
  border-color: inherit;
277
- color: ${di.textColor};
284
+ color: ${xo.textColor};
278
285
  transition: font-size 250ms, line-height 250ms, color 250ms;
279
- max-width: calc(${di.labelMaxWidth} - 2 * (${di.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
286
+ max-width: calc(${xo.labelMaxWidth} - 2 * (${xo.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
280
287
  text-overflow: ellipsis;
281
- ${$t(Ie.fontSize,di.fontSize)};
282
- ${$t(Ie.lineHeight,di.fontSize)};
288
+ ${Nt(Pe.fontSize,xo.fontSize)};
289
+ ${Nt(Pe.lineHeight,xo.fontSize)};
283
290
  }
284
291
 
285
292
  .ft-input-label--in-error .ft-input-label--text {
286
- color: ${di.colorError}
293
+ color: ${xo.colorError}
287
294
  }
288
295
 
289
296
  .ft-input-label--disabled .ft-input-label--text {
290
- color: ${di.disabledTextColor};
297
+ color: ${xo.disabledTextColor};
291
298
  }
292
299
 
293
300
  .ft-input-label--hidden-text {
@@ -304,19 +311,19 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
304
311
  overflow: hidden;
305
312
  white-space: nowrap;
306
313
  text-overflow: ellipsis;
307
- padding: ${di.verticalSpacing} 4px;
308
- margin: calc(${di.verticalSpacing} * -1) 0;
314
+ padding: ${xo.verticalSpacing} 4px;
315
+ margin: calc(${xo.verticalSpacing} * -1) 0;
309
316
  max-width: 100%;
310
317
  box-sizing: border-box;
311
318
  }
312
319
 
313
320
  .ft-input-label--raised .ft-input-label--text {
314
- ${$t(Ie.fontSize,di.raisedFontSize)};
315
- ${$t(Ie.lineHeight,di.raisedFontSize)};
321
+ ${Nt(Pe.fontSize,xo.raisedFontSize)};
322
+ ${Nt(Pe.lineHeight,xo.raisedFontSize)};
316
323
  }
317
324
 
318
325
  .ft-input-label--raised .ft-input-label--floating-text {
319
- top: ${di.verticalSpacing};
326
+ top: ${xo.verticalSpacing};
320
327
  }
321
328
 
322
329
  .ft-input-label--outlined .ft-input-label--text,
@@ -329,36 +336,36 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
329
336
  .ft-input-label--outlined:before {
330
337
  border-left-width: 1px;
331
338
  border-left-style: solid;
332
- border-radius: ${di.borderRadiusS} 0 0 ${di.borderRadiusS};
339
+ border-radius: ${xo.borderRadiusS} 0 0 ${xo.borderRadiusS};
333
340
  }
334
341
 
335
342
  .ft-input-label--outlined:after {
336
343
  border-right-width: 1px;
337
344
  border-right-style: solid;
338
- border-radius: 0 ${di.borderRadiusS} ${di.borderRadiusS} 0;
345
+ border-radius: 0 ${xo.borderRadiusS} ${xo.borderRadiusS} 0;
339
346
  }
340
347
 
341
348
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
342
349
  padding: 2px 4px;
343
- z-index: ${di.raisedZIndex};
344
- background-color: ${di.colorSurface};
345
- border-radius: ${di.borderRadiusS};
350
+ z-index: ${xo.raisedZIndex};
351
+ background-color: ${xo.colorSurface};
352
+ border-radius: ${xo.borderRadiusS};
346
353
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
347
354
  }
348
355
 
349
356
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
350
357
  border-top: none;
351
358
  }
352
- `;var hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class fi extends Rt{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 G`
353
- <div class="${Xt(t)}">
354
- ${this.text?G`
359
+ `;var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 No extends zt{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 X`
360
+ <div class="${ie(t)}">
361
+ ${this.text?X`
355
362
  <div class="ft-input-label--text ft-typography--caption">
356
363
  <span class="ft-input-label--floating-text">${this.text}</span>
357
364
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
358
365
  </div>
359
366
  `:null}
360
367
  </div>
361
- `}}fi.elementDefinitions={},fi.styles=[oi,pi],hi([o({type:String})],fi.prototype,"text",void 0),hi([o({type:Boolean})],fi.prototype,"raised",void 0),hi([o({type:Boolean})],fi.prototype,"outlined",void 0),hi([o({type:Boolean})],fi.prototype,"disabled",void 0),hi([o({type:Boolean})],fi.prototype,"error",void 0),h("ft-input-label")(fi);const ui=mt.extend("--ft-ripple-color",wt.colorContent),xi={color:ui,backgroundColor:mt.extend("--ft-ripple-background-color",ui),opacityContentOnSurfacePressed:mt.external(wt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mt.external(wt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mt.external(wt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mt.external(wt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mt.create("--ft-ripple-border-radius","SIZE","0px")},vi=mt.extend("--ft-ripple-color",wt.colorPrimary),bi=vi,gi=mt.extend("--ft-ripple-background-color",vi),yi=mt.extend("--ft-ripple-color",wt.colorSecondary),mi=yi,$i=mt.extend("--ft-ripple-background-color",yi),wi=y`
368
+ `}}No.elementDefinitions={},No.styles=[po,vo],Oo([i({type:String})],No.prototype,"text",void 0),Oo([i({type:Boolean})],No.prototype,"raised",void 0),Oo([i({type:Boolean})],No.prototype,"outlined",void 0),Oo([i({type:Boolean})],No.prototype,"disabled",void 0),Oo([i({type:Boolean})],No.prototype,"error",void 0),d("ft-input-label")(No);const $o=Ot.extend("--ft-ripple-color","",kt.colorContent),wo={color:$o,backgroundColor:Ot.extend("--ft-ripple-background-color","",$o),opacityContentOnSurfacePressed:Ot.external(kt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ot.external(kt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ot.external(kt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ot.external(kt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ot.create("--ft-ripple-border-radius","","SIZE","0px")},So=Ot.extend("--ft-ripple-color","",kt.colorPrimary),Co=So,ko=Ot.extend("--ft-ripple-background-color","",So),Eo=Ot.extend("--ft-ripple-color","",kt.colorSecondary),Ro=Eo,Io=Ot.extend("--ft-ripple-background-color","",Eo),Uo=x`
362
369
  :host {
363
370
  display: contents;
364
371
  }
@@ -371,7 +378,7 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
371
378
 
372
379
  .ft-ripple:not(.ft-ripple--unbounded) {
373
380
  overflow: hidden;
374
- border-radius: ${xi.borderRadius};
381
+ border-radius: ${wo.borderRadius};
375
382
  }
376
383
 
377
384
  .ft-ripple .ft-ripple--background,
@@ -405,27 +412,27 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
405
412
  }
406
413
 
407
414
  .ft-ripple .ft-ripple--background {
408
- background-color: ${xi.backgroundColor};
415
+ background-color: ${wo.backgroundColor};
409
416
  }
410
417
 
411
418
  .ft-ripple .ft-ripple--effect {
412
- background-color: ${xi.color};
419
+ background-color: ${wo.color};
413
420
  }
414
421
 
415
422
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
416
- background-color: ${$i};
423
+ background-color: ${Io};
417
424
  }
418
425
 
419
426
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
420
- background-color: ${mi};
427
+ background-color: ${Ro};
421
428
  }
422
429
 
423
430
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
424
- background-color: ${gi};
431
+ background-color: ${ko};
425
432
  }
426
433
 
427
434
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
428
- background-color: ${bi};
435
+ background-color: ${Co};
429
436
  }
430
437
 
431
438
  .ft-ripple .ft-ripple--background {
@@ -455,33 +462,33 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
455
462
  }
456
463
 
457
464
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
458
- opacity: ${xi.opacityContentOnSurfaceHover};
465
+ opacity: ${wo.opacityContentOnSurfaceHover};
459
466
  }
460
467
 
461
468
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
462
- opacity: ${xi.opacityContentOnSurfaceSelected};
469
+ opacity: ${wo.opacityContentOnSurfaceSelected};
463
470
  }
464
471
 
465
472
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
466
- opacity: ${xi.opacityContentOnSurfaceFocused};
473
+ opacity: ${wo.opacityContentOnSurfaceFocused};
467
474
  }
468
475
 
469
476
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
470
- opacity: ${xi.opacityContentOnSurfacePressed};
477
+ opacity: ${wo.opacityContentOnSurfacePressed};
471
478
  transform: translate(-50%, -50%) scale(1);
472
479
  }
473
- `;var Oi,Si,ki=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ei extends Rt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-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 G`
480
+ `;var Wo,Lo,zo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Zo extends zt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return X`
474
481
  <style>
475
482
  .ft-ripple .ft-ripple--effect {
476
483
  left: ${this.originX}px;
477
484
  top: ${this.originY}px;
478
485
  }
479
486
  </style>
480
- <div class="${Xt(t)}">
487
+ <div class="${ie(t)}">
481
488
  <div class="ft-ripple--background"></div>
482
489
  <div class="ft-ripple--effect"></div>
483
490
  </div>
484
- `}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,i;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===(i=this.target)||void 0===i||i.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 i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}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)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=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",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),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",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),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,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}Ei.elementDefinitions={},Ei.styles=wi,ki([o({type:Boolean})],Ei.prototype,"primary",void 0),ki([o({type:Boolean})],Ei.prototype,"secondary",void 0),ki([o({type:Boolean})],Ei.prototype,"unbounded",void 0),ki([o({type:Boolean})],Ei.prototype,"activated",void 0),ki([o({type:Boolean})],Ei.prototype,"selected",void 0),ki([o({type:Boolean})],Ei.prototype,"disabled",void 0),ki([s()],Ei.prototype,"hovered",void 0),ki([s()],Ei.prototype,"focused",void 0),ki([s()],Ei.prototype,"pressed",void 0),ki([s()],Ei.prototype,"rippling",void 0),ki([s()],Ei.prototype,"originX",void 0),ki([s()],Ei.prototype,"originY",void 0),ki([r(".ft-ripple")],Ei.prototype,"ripple",void 0),ki([r(".ft-ripple--effect")],Ei.prototype,"rippleEffect",void 0),h("ft-ripple")(Ei),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.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;"}(Oi||(Oi={})),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;"}(Si||(Si={})),new Map([...["abw"].map((t=>[t,Si.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,Si.AUDIO])),...["avi"].map((t=>[t,Si.AVI])),...["chm","xhs"].map((t=>[t,Si.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,Si.CODE])),...["csv"].map((t=>[t,Si.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Si.DITA])),...["epub"].map((t=>[t,Si.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Si.EXCEL])),...["flac"].map((t=>[t,Si.FLAC])),...["gif"].map((t=>[t,Si.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Si.GZIP])),...["html","htm","xhtml"].map((t=>[t,Si.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,Si.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Si.JPEG])),...["json"].map((t=>[t,Si.JSON])),...["m4a","m4p"].map((t=>[t,Si.M4A])),...["mov","qt"].map((t=>[t,Si.MOV])),...["mp3"].map((t=>[t,Si.MP3])),...["mp4","m4v"].map((t=>[t,Si.MP4])),...["ogg","oga"].map((t=>[t,Si.OGG])),...["pdf","ps"].map((t=>[t,Si.PDF])),...["png"].map((t=>[t,Si.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Si.POWERPOINT])),...["rar"].map((t=>[t,Si.RAR])),...["stp"].map((t=>[t,Si.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Si.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,Si.VIDEO])),...["wav"].map((t=>[t,Si.WAV])),...["wma"].map((t=>[t,Si.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Si.WORD])),...["xml","xsl","rdf"].map((t=>[t,Si.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Si.YAML])),...["zip"].map((t=>[t,Si.ZIP]))]);const Ci={size:mt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:mt.extend("--ft-icon-fluid-topics-font-family",mt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:mt.extend("--ft-icon-file-format-font-family",mt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:mt.extend("--ft-icon-material-font-family",mt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:mt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ni=y`
491
+ `}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()}}Zo.elementDefinitions={},Zo.styles=Uo,zo([i({type:Boolean})],Zo.prototype,"primary",void 0),zo([i({type:Boolean})],Zo.prototype,"secondary",void 0),zo([i({type:Boolean})],Zo.prototype,"unbounded",void 0),zo([i({type:Boolean})],Zo.prototype,"activated",void 0),zo([i({type:Boolean})],Zo.prototype,"selected",void 0),zo([i({type:Boolean})],Zo.prototype,"disabled",void 0),zo([r()],Zo.prototype,"hovered",void 0),zo([r()],Zo.prototype,"focused",void 0),zo([r()],Zo.prototype,"pressed",void 0),zo([r()],Zo.prototype,"rippling",void 0),zo([r()],Zo.prototype,"originX",void 0),zo([r()],Zo.prototype,"originY",void 0),zo([a(".ft-ripple")],Zo.prototype,"ripple",void 0),zo([a(".ft-ripple--effect")],Zo.prototype,"rippleEffect",void 0),d("ft-ripple")(Zo),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;"}(Wo||(Wo={})),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;"}(Lo||(Lo={})),new Map([...["abw"].map((t=>[t,Lo.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,Lo.AUDIO])),...["avi"].map((t=>[t,Lo.AVI])),...["chm","xhs"].map((t=>[t,Lo.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,Lo.CODE])),...["csv"].map((t=>[t,Lo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Lo.DITA])),...["epub"].map((t=>[t,Lo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Lo.EXCEL])),...["flac"].map((t=>[t,Lo.FLAC])),...["gif"].map((t=>[t,Lo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Lo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Lo.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,Lo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Lo.JPEG])),...["json"].map((t=>[t,Lo.JSON])),...["m4a","m4p"].map((t=>[t,Lo.M4A])),...["mov","qt"].map((t=>[t,Lo.MOV])),...["mp3"].map((t=>[t,Lo.MP3])),...["mp4","m4v"].map((t=>[t,Lo.MP4])),...["ogg","oga"].map((t=>[t,Lo.OGG])),...["pdf","ps"].map((t=>[t,Lo.PDF])),...["png"].map((t=>[t,Lo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Lo.POWERPOINT])),...["rar"].map((t=>[t,Lo.RAR])),...["stp"].map((t=>[t,Lo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Lo.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,Lo.VIDEO])),...["wav"].map((t=>[t,Lo.WAV])),...["wma"].map((t=>[t,Lo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Lo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Lo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Lo.YAML])),...["zip"].map((t=>[t,Lo.ZIP]))]);const Ko={size:Ot.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ot.extend("--ft-icon-fluid-topics-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ot.extend("--ft-icon-file-format-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ot.extend("--ft-icon-material-font-family","",Ot.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ot.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fo=x`
485
492
  :host, i.ft-icon {
486
493
  display: inline-flex;
487
494
  align-items: center;
@@ -490,14 +497,14 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
490
497
  }
491
498
 
492
499
  :host {
493
- width: ${Ci.size};
494
- height: ${Ci.size};
500
+ width: ${Ko.size};
501
+ height: ${Ko.size};
495
502
  }
496
503
 
497
504
  i.ft-icon {
498
505
  width: 100%;
499
506
  height: 100%;
500
- font-size: ${Ci.size};
507
+ font-size: ${Ko.size};
501
508
  line-height: 1;
502
509
  font-weight: normal;
503
510
  text-transform: none;
@@ -508,33 +515,33 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
508
515
  text-rendering: auto;
509
516
  -webkit-font-smoothing: antialiased;
510
517
  -moz-osx-font-smoothing: grayscale;
511
- vertical-align: ${Ci.verticalAlign};
518
+ vertical-align: ${Ko.verticalAlign};
512
519
  }
513
520
 
514
521
  i.ft-icon.ft-icon--fluid-topics {
515
- font-family: ${Ci.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
522
+ font-family: ${Ko.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
516
523
 
517
524
  /* Ugly fix because font is broken */
518
- font-size: calc(0.75 * ${Ci.size});
519
- line-height: ${Ci.size};
525
+ font-size: calc(0.75 * ${Ko.size});
526
+ line-height: ${Ko.size};
520
527
  position: relative;
521
528
  top: -4%;
522
529
  justify-content: center;
523
530
  }
524
531
 
525
532
  .ft-icon--file-format {
526
- font-family: ${Ci.fileFormatFontFamily}, ft-mime, sans-serif;
533
+ font-family: ${Ko.fileFormatFontFamily}, ft-mime, sans-serif;
527
534
  }
528
535
 
529
536
  .ft-icon--material {
530
- font-family: ${Ci.materialFontFamily}, "Material Icons", sans-serif;
537
+ font-family: ${Ko.materialFontFamily}, "Material Icons", sans-serif;
531
538
  }
532
- `;var Ri;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ri||(Ri={}));var Mi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class zi extends Rt{constructor(){super(...arguments),this.resolvedIcon=tt}render(){const t=this.variant&&Object.values(Ri).includes(this.variant)?this.variant:Ri.fluid_topics,e=t!==Ri.material||!!this.value;return G`
539
+ `;var Do;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Do||(Do={}));var Bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Mo extends zt{constructor(){super(...arguments),this.resolvedIcon=tt}render(){const t=this.variant&&Object.values(Do).includes(this.variant)?this.variant:Do.fluid_topics,e=t!==Do.material||!!this.value;return X`
533
540
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
534
- ${qt(this.resolvedIcon)}
541
+ ${oe(this.resolvedIcon)}
535
542
  <slot ?hidden=${e}></slot>
536
543
  </i>
537
- `}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 i=this.value||this.textContent;switch(this.variant){case Ri.file_format:this.resolvedIcon=null!==(t=Si[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ri.material:this.resolvedIcon=this.value||tt;break;default:this.resolvedIcon=null!==(e=Oi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=Ni,Mi([o()],zi.prototype,"variant",void 0),Mi([o()],zi.prototype,"value",void 0),Mi([s()],zi.prototype,"resolvedIcon",void 0),Mi([r("slot")],zi.prototype,"slottedContent",void 0),h("ft-icon")(zi);const Fi={labelSize:mt.create("--ft-select-label-size","SIZE","11px"),selectedOptionSize:mt.create("--ft-select-selected-option-size","SIZE","14px"),verticalSpacing:mt.create("--ft-select-vertical-spacing","SIZE","4px"),horizontalSpacing:mt.create("--ft-select-horizontal-spacing","SIZE","16px"),optionsHeight:mt.create("--ft-select-options-height","SIZE","unset"),selectedOptionColor:mt.extend("--ft-select-selected-option-color",wt.colorOnSurface),helperColor:mt.extend("--ft-select-helper-color",wt.colorOnSurfaceMedium),optionsColor:mt.extend("--ft-select-options-color",wt.colorOnSurface),optionsZIndex:mt.create("--ft-select-options-z-index","NUMBER","3"),colorSurface:mt.external(wt.colorSurface,"Design system"),colorOnSurfaceDisabled:mt.external(wt.colorOnSurfaceDisabled,"Design system"),colorPrimary:mt.external(wt.colorPrimary,"Design system"),borderRadiusS:mt.external(wt.borderRadiusS,"Design system"),elevation02:mt.external(wt.elevation02,"Design system"),colorError:mt.external(wt.colorError,"Design system")},Ui=y`
544
+ `}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 Do.file_format:this.resolvedIcon=null!==(t=Lo[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Do.material:this.resolvedIcon=this.value||tt;break;default:this.resolvedIcon=null!==(e=Wo[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Mo.elementDefinitions={},Mo.styles=Fo,Bo([i()],Mo.prototype,"variant",void 0),Bo([i()],Mo.prototype,"value",void 0),Bo([r()],Mo.prototype,"resolvedIcon",void 0),Bo([a("slot")],Mo.prototype,"slottedContent",void 0),d("ft-icon")(Mo);const Ao={labelSize:Ot.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ot.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ot.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ot.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ot.extend("--ft-select-selected-option-color","",kt.colorOnSurface),helperColor:Ot.extend("--ft-select-helper-color","",kt.colorOnSurfaceMedium),optionsColor:Ot.extend("--ft-select-options-color","",kt.colorOnSurface),optionsZIndex:Ot.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ot.external(kt.colorSurface,"Design system"),colorOnSurfaceDisabled:Ot.external(kt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ot.external(kt.colorPrimary,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),elevation02:Ot.external(kt.elevation02,"Design system"),colorError:Ot.external(kt.colorError,"Design system")},Ho=x`
538
545
  *:focus {
539
546
  outline: none;
540
547
  }
@@ -548,7 +555,7 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
548
555
  .ft-select--main-panel {
549
556
  position: relative;
550
557
  display: flex;
551
- height: calc(4 * ${Fi.verticalSpacing} + ${Fi.labelSize} + ${Fi.selectedOptionSize});
558
+ height: calc(4 * ${Ao.verticalSpacing} + ${Ao.labelSize} + ${Ao.selectedOptionSize});
552
559
  }
553
560
 
554
561
  .ft-select--input-panel {
@@ -557,17 +564,17 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
557
564
  display: flex;
558
565
  align-items: center;
559
566
  overflow: hidden;
560
- padding-left: ${Fi.horizontalSpacing};
561
- padding-right: ${Fi.horizontalSpacing};
567
+ padding-left: ${Ao.horizontalSpacing};
568
+ padding-right: ${Ao.horizontalSpacing};
562
569
  gap: 8px;
563
- color: ${Fi.selectedOptionColor};
564
- ${$t(xi.color,Fi.selectedOptionColor)};
570
+ color: ${Ao.selectedOptionColor};
571
+ ${Nt(wo.color,Ao.selectedOptionColor)};
565
572
  }
566
573
 
567
574
  .ft-select--input-panel,
568
575
  .ft-select--option {
569
- ${$t(xi.opacityContentOnSurfaceHover,"0.08")};
570
- ${$t(xi.opacityContentOnSurfacePressed,"0.04")};
576
+ ${Nt(wo.opacityContentOnSurfaceHover,"0.08")};
577
+ ${Nt(wo.opacityContentOnSurfacePressed,"0.04")};
571
578
  }
572
579
 
573
580
  .ft-select--input-panel > *:not(ft-ripple),
@@ -577,7 +584,7 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
577
584
 
578
585
  .ft-select--disabled .ft-select--input-panel,
579
586
  .ft-select--disabled .ft-select--option {
580
- color: ${Fi.colorOnSurfaceDisabled};
587
+ color: ${Ao.colorOnSurfaceDisabled};
581
588
  }
582
589
 
583
590
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -586,20 +593,20 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
586
593
  }
587
594
 
588
595
  ft-input-label {
589
- ${$t(di.fontSize,Fi.selectedOptionSize)};
590
- ${$t(di.raisedFontSize,Fi.labelSize)};
591
- ${$t(di.verticalSpacing,Fi.verticalSpacing)};
592
- ${$t(di.horizontalSpacing,Fi.horizontalSpacing)};
593
- ${$t(di.labelMaxWidth,`calc(100% - ${Ci.size} - 8px)`)};
596
+ ${Nt(xo.fontSize,Ao.selectedOptionSize)};
597
+ ${Nt(xo.raisedFontSize,Ao.labelSize)};
598
+ ${Nt(xo.verticalSpacing,Ao.verticalSpacing)};
599
+ ${Nt(xo.horizontalSpacing,Ao.horizontalSpacing)};
600
+ ${Nt(xo.labelMaxWidth,`calc(100% - ${Ko.size} - 8px)`)};
594
601
  }
595
602
 
596
603
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
597
- color: ${Fi.colorPrimary};
604
+ color: ${Ao.colorPrimary};
598
605
  }
599
606
 
600
607
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
601
- ${$t(di.borderColor,Fi.colorPrimary)};
602
- ${$t(di.textColor,Fi.colorPrimary)};
608
+ ${Nt(xo.borderColor,Ao.colorPrimary)};
609
+ ${Nt(xo.textColor,Ao.colorPrimary)};
603
610
  }
604
611
 
605
612
  .ft-select--selected-option {
@@ -609,12 +616,12 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
609
616
  overflow: hidden;
610
617
  white-space: nowrap;
611
618
  text-overflow: ellipsis;
612
- ${$t(Me.fontSize,Fi.selectedOptionSize)};
613
- ${$t(Me.lineHeight,Fi.selectedOptionSize)};
619
+ ${Nt(Fe.fontSize,Ao.selectedOptionSize)};
620
+ ${Nt(Fe.lineHeight,Ao.selectedOptionSize)};
614
621
  }
615
622
 
616
623
  .ft-select--in-error .ft-select--selected-option {
617
- color: ${Fi.colorError};
624
+ color: ${Ao.colorError};
618
625
  }
619
626
 
620
627
  ft-icon {
@@ -626,16 +633,16 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
626
633
  }
627
634
 
628
635
  .ft-select--filled .ft-select--input-panel {
629
- border-radius: ${Fi.borderRadiusS} ${Fi.borderRadiusS} 0 0;
636
+ border-radius: ${Ao.borderRadiusS} ${Ao.borderRadiusS} 0 0;
630
637
  }
631
638
 
632
639
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
633
640
  align-self: stretch;
634
- padding-top: calc(${Fi.labelSize} + 2 * ${Fi.verticalSpacing});
641
+ padding-top: calc(${Ao.labelSize} + 2 * ${Ao.verticalSpacing});
635
642
  }
636
643
 
637
644
  .ft-select--outlined .ft-select--input-panel {
638
- border-radius: ${Fi.borderRadiusS};
645
+ border-radius: ${Ao.borderRadiusS};
639
646
  }
640
647
 
641
648
  .ft-select--options {
@@ -644,10 +651,10 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
644
651
  top: 100%;
645
652
  left: 0;
646
653
  right: 0;
647
- color: ${Fi.optionsColor};
648
- background: ${Fi.colorSurface};
649
- z-index: ${Fi.optionsZIndex};
650
- box-shadow: ${Fi.elevation02};
654
+ color: ${Ao.optionsColor};
655
+ background: ${Ao.colorSurface};
656
+ z-index: ${Ao.optionsZIndex};
657
+ box-shadow: ${Ao.elevation02};
651
658
  }
652
659
 
653
660
  .ft-select--fixed .ft-select--options {
@@ -658,13 +665,13 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
658
665
 
659
666
  .ft-select--options-displayed .ft-select--options {
660
667
  display: block;
661
- max-height: ${Fi.optionsHeight};
668
+ max-height: ${Ao.optionsHeight};
662
669
  overflow-y: auto;
663
670
  }
664
671
 
665
672
  .ft-select--option {
666
673
  position: relative;
667
- padding: 4px ${Fi.horizontalSpacing};
674
+ padding: 4px ${Ao.horizontalSpacing};
668
675
  min-height: 32px;
669
676
  display: flex;
670
677
  align-items: center;
@@ -676,34 +683,34 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
676
683
  }
677
684
 
678
685
  .ft-select--helper-text {
679
- padding: 0 ${Fi.horizontalSpacing};
680
- color: ${Fi.helperColor};
686
+ padding: 0 ${Ao.horizontalSpacing};
687
+ color: ${Ao.helperColor};
681
688
  }
682
689
 
683
690
  .ft-select--in-error .ft-select--helper-text {
684
- color: ${Fi.colorError};
691
+ color: ${Ao.colorError};
685
692
  }
686
- `;var ji=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Bi extends Rt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return G``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Bi.elementDefinitions={},ji([o({type:String})],Bi.prototype,"label",void 0),ji([o({type:Object,converter:t=>t})],Bi.prototype,"value",void 0),ji([o({type:Boolean,reflect:!0})],Bi.prototype,"selected",void 0);class Di extends Rt{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,i,o,s;let n=this.hasOptionsMenuOpen,r=this.disabled||!this.hasOptions;const l=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(i=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==i?i:"").length>0,a={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":r,"ft-select--options-displayed":n,"ft-select--has-option-selected":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return G`
687
- <div class="${Xt(a)}" part="container">
693
+ `;var jo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Po extends zt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return X``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Po.elementDefinitions={},jo([i({type:String})],Po.prototype,"label",void 0),jo([i({type:Object,converter:t=>t})],Po.prototype,"value",void 0),jo([i({type:Boolean,reflect:!0})],Po.prototype,"selected",void 0);class To extends zt{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 l=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,s={"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":l,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return X`
694
+ <div class="${ie(s)}" part="container">
688
695
  <div class="ft-select--main-panel" part="main-panel">
689
696
  <ft-input-label text="${this.label}"
690
697
  part="label"
691
- ?disabled=${r}
698
+ ?disabled=${a}
692
699
  ?outlined=${this.outlined}
693
700
  ?raised=${l||n}
694
701
  ?error=${this.error}
695
702
  ></ft-input-label>
696
703
  <div class="ft-select--input-panel"
697
704
  part="selected-value"
698
- tabindex="${r?"-1":"0"}"
705
+ tabindex="${a?"-1":"0"}"
699
706
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
700
707
  @keydown=${this.onMainPanelKeyDown}
701
708
  aria-label="${this.label}"
702
709
  aria-haspopup="listbox"
703
710
  aria-expanded="${n}">
704
- <ft-ripple ?disabled=${r} ?activated=${!this.outlined}></ft-ripple>
711
+ <ft-ripple ?disabled=${a} ?activated=${!this.outlined}></ft-ripple>
705
712
  <ft-typography variant="body1" class="ft-select--selected-option">
706
- ${null!==(s=null===(o=this.selectedOption)||void 0===o?void 0:o.label)&&void 0!==s?s:""}
713
+ ${null!==(r=null===(i=this.selectedOption)||void 0===i?void 0:i.label)&&void 0!==r?r:""}
707
714
  </ft-typography>
708
715
  <ft-icon>${n?"thin_arrow_up":"thin_arrow"}</ft-icon>
709
716
  </div>
@@ -711,18 +718,18 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
711
718
  part="options"
712
719
  @keydown=${this.onOptionsKeyDown}
713
720
  innerrole="listbox">
714
- ${Vt(this.options,(t=>t.value),(t=>this.renderOption(t)))}
721
+ ${te(this.options,(t=>t.value),(t=>this.renderOption(t)))}
715
722
  </div>
716
723
  </div>
717
- ${this.helper?G`
724
+ ${this.helper?X`
718
725
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
719
726
  </ft-typography>`:void 0}
720
727
  </div>
721
728
  <slot @slotchange=${this.updateOptionsFromSlot}
722
729
  @option-change=${this.updateOptionsFromSlot}
723
730
  ></slot>
724
- `}renderOption(t){let e=this.selectedOption===t;return G`
725
- <div class="${Xt({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
731
+ `}renderOption(t){let e=this.selectedOption===t;return X`
732
+ <div class="${ie({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
726
733
  part="option"
727
734
  tabindex="0"
728
735
  data-value="${t.value}"
@@ -731,13 +738,13 @@ let Jt=class extends Pt{constructor(t){if(super(t),this.et=tt,t.type!==It)throw
731
738
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
732
739
  <span>${t.label}</span>
733
740
  </div>
734
- `}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,i;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(i=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===i||i.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 i=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));i&&i.length>0&&(this.options=i)}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,i,o,s,n;let r;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(),r=null!==(o=null===(i=this.focusedOption)||void 0===i?void 0:i.previousElementSibling)&&void 0!==o?o:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=null!==(n=null===(s=this.focusedOption)||void 0===s?void 0:s.nextElementSibling)&&void 0!==n?n:this.firstOption}null==r||r.focus()}onOptionKeyDown(t,e){var i;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(i=this.mainPanel)||void 0===i||i.focus())}selectOption(t){var e,i;if(!p(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===(i=this.selectedOption)||void 0===i?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Di.elementDefinitions={"ft-input-label":fi,"ft-typography":ci,"ft-ripple":Ei,"ft-icon":zi},Di.styles=[ii,oi,Ui],ji([o({type:String})],Di.prototype,"label",void 0),ji([o({type:String})],Di.prototype,"helper",void 0),ji([o({type:Boolean})],Di.prototype,"outlined",void 0),ji([o({type:Boolean})],Di.prototype,"disabled",void 0),ji([o({type:Boolean})],Di.prototype,"error",void 0),ji([o({type:Boolean})],Di.prototype,"fixedMenuPosition",void 0),ji([o({type:Array})],Di.prototype,"options",void 0),ji([s()],Di.prototype,"selectedOption",void 0),ji([s()],Di.prototype,"optionsDisplayed",void 0),ji([s()],Di.prototype,"focusOptions",void 0),ji([r(".ft-select")],Di.prototype,"container",void 0),ji([r(".ft-select--options")],Di.prototype,"optionsMenu",void 0),ji([r(".ft-select--input-panel")],Di.prototype,"mainPanel",void 0),ji([r(".ft-select--option:first-child")],Di.prototype,"firstOption",void 0),ji([r(".ft-select--option:focus")],Di.prototype,"focusedOption",void 0),ji([r(".ft-select--option.ft-select--option-selected")],Di.prototype,"selectedOptionElement",void 0),ji([r(".ft-select--option:last-child")],Di.prototype,"lastOption",void 0),ji([r("slot")],Di.prototype,"optionsSlot",void 0),h("ft-select")(Di),h("ft-select-option")(Bi);
741
+ `}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(!f(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)}}To.elementDefinitions={"ft-input-label":No,"ft-typography":mo,"ft-ripple":Zo,"ft-icon":Mo},To.styles=[co,po,Ho],jo([i({type:String})],To.prototype,"label",void 0),jo([i({type:String})],To.prototype,"helper",void 0),jo([i({type:Boolean})],To.prototype,"outlined",void 0),jo([i({type:Boolean})],To.prototype,"disabled",void 0),jo([i({type:Boolean})],To.prototype,"error",void 0),jo([i({type:Boolean})],To.prototype,"fixedMenuPosition",void 0),jo([i({type:Array})],To.prototype,"options",void 0),jo([r()],To.prototype,"selectedOption",void 0),jo([r()],To.prototype,"optionsDisplayed",void 0),jo([r()],To.prototype,"focusOptions",void 0),jo([a(".ft-select")],To.prototype,"container",void 0),jo([a(".ft-select--options")],To.prototype,"optionsMenu",void 0),jo([a(".ft-select--input-panel")],To.prototype,"mainPanel",void 0),jo([a(".ft-select--option:first-child")],To.prototype,"firstOption",void 0),jo([a(".ft-select--option:focus")],To.prototype,"focusedOption",void 0),jo([a(".ft-select--option.ft-select--option-selected")],To.prototype,"selectedOptionElement",void 0),jo([a(".ft-select--option:last-child")],To.prototype,"lastOption",void 0),jo([a("slot")],To.prototype,"optionsSlot",void 0),d("ft-select")(To),d("ft-select-option")(Po);
735
742
  /**
736
743
  * @license
737
744
  * Copyright 2018 Google LLC
738
745
  * SPDX-License-Identifier: BSD-3-Clause
739
746
  */
740
- const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSize:mt.create("--ft-text-field-label-size","SIZE","11px"),verticalSpacing:mt.create("--ft-text-field-vertical-spacing","SIZE","4px"),horizontalSpacing:mt.create("--ft-text-field-horizontal-spacing","SIZE","16px"),helperColor:mt.extend("--ft-text-field-helper-color",wt.colorOnSurfaceMedium),colorPrimary:mt.external(wt.colorPrimary,"Design system"),colorOnSurface:mt.external(wt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:mt.external(wt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:mt.external(wt.borderRadiusS,"Design system"),colorError:mt.external(wt.colorError,"Design system"),prefixColor:mt.extend("--ft-text-field-prefix-color",wt.colorOnSurfaceMedium),iconColor:mt.extend("--ft-text-field-icon-color",wt.colorOnSurfaceMedium),floatingZIndex:mt.create("--ft-text-field-floating-components-z-index","NUMBER","3"),colorSurface:mt.external(wt.colorSurface,"Design system"),colorOutline:mt.external(wt.colorOutline,"Design system"),elevation02:mt.external(wt.elevation02,"Design system"),suggestSize:mt.create("--ft-text-field-suggest-size","SIZE","300px")},Ai=y`
747
+ const Go={fontSize:Ot.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:Ot.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:Ot.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ot.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:Ot.extend("--ft-text-field-helper-color","",kt.colorOnSurfaceMedium),colorPrimary:Ot.external(kt.colorPrimary,"Design system"),colorOnSurface:Ot.external(kt.colorOnSurface,"Design system"),colorOnSurfaceDisabled:Ot.external(kt.colorOnSurfaceDisabled,"Design system"),borderRadiusS:Ot.external(kt.borderRadiusS,"Design system"),colorError:Ot.external(kt.colorError,"Design system"),prefixColor:Ot.extend("--ft-text-field-prefix-color","",kt.colorOnSurfaceMedium),iconColor:Ot.extend("--ft-text-field-icon-color","",kt.colorOnSurfaceMedium),floatingZIndex:Ot.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:Ot.external(kt.colorSurface,"Design system"),colorOutline:Ot.external(kt.colorOutline,"Design system"),elevation02:Ot.external(kt.elevation02,"Design system"),suggestSize:Ot.create("--ft-text-field-suggest-size","","SIZE","300px")},_o=x`
741
748
  *:focus {
742
749
  outline: none;
743
750
  }
@@ -750,16 +757,16 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
750
757
  }
751
758
 
752
759
  ft-input-label {
753
- ${$t(di.fontSize,Ii.fontSize)};
754
- ${$t(di.raisedFontSize,Ii.labelSize)};
755
- ${$t(di.verticalSpacing,Ii.verticalSpacing)};
756
- ${$t(di.horizontalSpacing,Ii.horizontalSpacing)};
760
+ ${Nt(xo.fontSize,Go.fontSize)};
761
+ ${Nt(xo.raisedFontSize,Go.labelSize)};
762
+ ${Nt(xo.verticalSpacing,Go.verticalSpacing)};
763
+ ${Nt(xo.horizontalSpacing,Go.horizontalSpacing)};
757
764
  }
758
765
 
759
766
  .ft-text-field--main-panel {
760
767
  position: relative;
761
768
  display: flex;
762
- height: calc(4 * ${Ii.verticalSpacing} + ${Ii.labelSize} + ${Ii.fontSize});
769
+ height: calc(4 * ${Go.verticalSpacing} + ${Go.labelSize} + ${Go.fontSize});
763
770
  }
764
771
 
765
772
  .ft-text-field--input-panel {
@@ -768,24 +775,24 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
768
775
  display: flex;
769
776
  align-items: center;
770
777
  overflow: hidden;
771
- padding: 0 ${Ii.horizontalSpacing};
778
+ padding: 0 ${Go.horizontalSpacing};
772
779
 
773
- ${$t(Me.fontSize,Ii.fontSize)};
774
- ${$t(Me.lineHeight,Ii.fontSize)};
780
+ ${Nt(Fe.fontSize,Go.fontSize)};
781
+ ${Nt(Fe.lineHeight,Go.fontSize)};
775
782
  }
776
783
 
777
784
  .ft-text-field--input-panel ft-ripple {
778
- ${$t(xi.opacityContentOnSurfaceHover,"0.08")};
779
- ${$t(xi.opacityContentOnSurfacePressed,"0.04")};
785
+ ${Nt(wo.opacityContentOnSurfaceHover,"0.08")};
786
+ ${Nt(wo.opacityContentOnSurfacePressed,"0.04")};
780
787
  }
781
788
 
782
789
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
783
790
  align-items: flex-end;
784
- padding: 0 ${Ii.horizontalSpacing} ${Ii.verticalSpacing} ${Ii.horizontalSpacing};
791
+ padding: 0 ${Go.horizontalSpacing} ${Go.verticalSpacing} ${Go.horizontalSpacing};
785
792
  }
786
793
 
787
794
  .ft-text-field--prefix {
788
- color: ${Ii.prefixColor};
795
+ color: ${Go.prefixColor};
789
796
  margin-right: 2px;
790
797
  flex-shrink: 1;
791
798
  overflow: hidden;
@@ -804,15 +811,15 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
804
811
  flex-shrink: 1;
805
812
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
806
813
 
807
- color: ${Ii.colorOnSurface};
808
- padding: calc(2 * ${Ii.verticalSpacing}) 0;
814
+ color: ${Go.colorOnSurface};
815
+ padding: calc(2 * ${Go.verticalSpacing}) 0;
809
816
  border: none;
810
817
  background: none;
811
818
  }
812
819
 
813
820
  .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
814
821
  padding-bottom: 0;
815
- padding-top: calc(${Ii.labelSize} + 2 * ${Ii.verticalSpacing});
822
+ padding-top: calc(${Go.labelSize} + 2 * ${Go.verticalSpacing});
816
823
  }
817
824
 
818
825
  .ft-text-field--input::-webkit-calendar-picker-indicator,
@@ -821,37 +828,37 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
821
828
  }
822
829
 
823
830
  .ft-text-field--disabled .ft-text-field--input {
824
- color: ${Ii.colorOnSurfaceDisabled};
831
+ color: ${Go.colorOnSurfaceDisabled};
825
832
  }
826
833
 
827
834
  .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
828
- ${$t(di.borderColor,Ii.colorPrimary)};
829
- ${$t(di.textColor,Ii.colorPrimary)};
835
+ ${Nt(xo.borderColor,Go.colorPrimary)};
836
+ ${Nt(xo.textColor,Go.colorPrimary)};
830
837
  }
831
838
 
832
839
  .ft-text-field--filled .ft-text-field--input-panel {
833
- border-radius: ${Ii.borderRadiusS} ${Ii.borderRadiusS} 0 0;
840
+ border-radius: ${Go.borderRadiusS} ${Go.borderRadiusS} 0 0;
834
841
  }
835
842
 
836
843
  .ft-text-field--outlined .ft-text-field--input-panel {
837
- border-radius: ${Ii.borderRadiusS};
844
+ border-radius: ${Go.borderRadiusS};
838
845
  }
839
846
 
840
847
  .ft-text-field--helper-text {
841
- padding: 0 12px 0 ${Ii.horizontalSpacing};
842
- color: ${Ii.helperColor};
848
+ padding: 0 12px 0 ${Go.horizontalSpacing};
849
+ color: ${Go.helperColor};
843
850
  }
844
851
 
845
852
  .ft-text-field--in-error .ft-text-field--input,
846
853
  .ft-text-field--in-error .ft-text-field--helper-text,
847
854
  .ft-text-field--in-error .ft-text-field--prefix {
848
- color: ${Ii.colorError};
855
+ color: ${Go.colorError};
849
856
  }
850
857
 
851
858
  .ft-text-field--icon {
852
859
  align-self: center;
853
860
  margin-left: 8px;
854
- color: ${Ii.iconColor};
861
+ color: ${Go.iconColor};
855
862
  }
856
863
 
857
864
  .ft-text-field--container {
@@ -864,13 +871,13 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
864
871
  position: absolute;
865
872
  left: 0;
866
873
  right: 0;
867
- z-index: ${Ii.floatingZIndex};
868
- background: ${Ii.colorSurface};
869
- border: 1px solid ${Ii.colorOutline};
870
- border-radius: 0 0 ${Ii.borderRadiusS} ${Ii.borderRadiusS};
871
- box-shadow: ${Ii.elevation02};
874
+ z-index: ${Go.floatingZIndex};
875
+ background: ${Go.colorSurface};
876
+ border: 1px solid ${Go.colorOutline};
877
+ border-radius: 0 0 ${Go.borderRadiusS} ${Go.borderRadiusS};
878
+ box-shadow: ${Go.elevation02};
872
879
  outline: none;
873
- max-height: ${Ii.suggestSize};
880
+ max-height: ${Go.suggestSize};
874
881
  overflow-y: auto;
875
882
  }
876
883
 
@@ -887,14 +894,14 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
887
894
  }
888
895
 
889
896
  .ft-text-field--with-icon {
890
- ${$t(di.labelMaxWidth,`calc(100% - ${Ci.size} - ${di.horizontalSpacing})`)};
897
+ ${Nt(xo.labelMaxWidth,`calc(100% - ${Ko.size} - ${xo.horizontalSpacing})`)};
891
898
  }
892
899
 
893
900
  .ft-text-field--with-password ft-icon:hover {
894
901
  cursor: pointer;
895
902
  }
896
- `;var Pi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Li extends Rt{constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Oi.EYE_SLASH,this.passwordRevealedIcon=Oi.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.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 G`
897
- <div class="${Xt(t)}">
903
+ `;var Vo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Yo extends(Dt(zt,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Wo.EYE_SLASH,this.passwordRevealedIcon=Wo.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 X`
904
+ <div class="${ie(t)}">
898
905
  <div class="ft-text-field--main-panel"
899
906
  @keydown=${this.handleKeyboardNavigation}
900
907
  @focusout=${this.onMainPanelBlur}>
@@ -904,14 +911,14 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
904
911
  ?raised=${this.focused||""!=this.value}
905
912
  ?error=${this.error}></ft-input-label>
906
913
  <div class="ft-text-field--input-panel">
907
- ${this.outlined?tt:G`
914
+ ${this.outlined?tt:X`
908
915
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
909
916
  `}
910
- ${this.prefix?G`
911
- <ft-typography class="ft-text-field--prefix" vaiant="body1">
912
- ${this.prefix}
913
- </ft-typography>
914
- `:tt}
917
+ ${this.prefix?X`
918
+ <ft-typography class="ft-text-field--prefix" vaiant="body1">
919
+ ${this.prefix}
920
+ </ft-typography>
921
+ `:tt}
915
922
  <input type=${this.password&&this.hidePassword?"password":"text"}
916
923
  maxlength=${(t=>null!=t?t:tt)(this.maxLength||void 0)}
917
924
  aria-label="${this.label}"
@@ -928,23 +935,23 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
928
935
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
929
936
  </div>
930
937
  </div>
931
- ${this.helper?G`
938
+ ${this.helper?X`
932
939
  <ft-typography class="ft-text-field--helper-text" variant="caption">
933
940
  ${this.helper}
934
941
  </ft-typography>
935
942
  `:tt}
936
943
  </div>
937
- `}renderPasswordIcon(){return G`
944
+ `}renderPasswordIcon(){return X`
938
945
  <ft-icon class="ft-text-field--icon"
939
946
  .variant=${this.iconVariant}
940
947
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
941
948
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
942
- `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?G`
949
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?X`
943
950
  <ft-icon class="ft-text-field--icon"
944
951
  .variant=${this.iconVariant}
945
952
  .value=${this.icon}
946
953
  @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
947
- `:tt}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,i;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(),o=null===(i=this.suggestionsContainer)||void 0===i?void 0:i.getBoundingClientRect();t&&o&&(this.suggestionsOnTop=t.bottom+o.height>window.innerHeight&&t.top-o.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 i=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(i,"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 i=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let o;o="ArrowDown"===t.key?i<this.visibleSuggestions.length-1?i+1:0:i>0?i-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[o])||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}}Li.elementDefinitions={"ft-input-label":fi,"ft-ripple":Ei,"ft-typography":ci,"ft-icon":zi},Li.styles=[ei,Ai],Pi([o()],Li.prototype,"label",void 0),Pi([o({noAccessor:!0})],Li.prototype,"value",null),Pi([s()],Li.prototype,"dispatchedValue",void 0),Pi([o()],Li.prototype,"helper",void 0),Pi([o({type:Boolean})],Li.prototype,"outlined",void 0),Pi([o({type:Boolean})],Li.prototype,"disabled",void 0),Pi([o({type:Boolean})],Li.prototype,"error",void 0),Pi([o()],Li.prototype,"prefix",void 0),Pi([o()],Li.prototype,"icon",void 0),Pi([o()],Li.prototype,"passwordHiddenIcon",void 0),Pi([o()],Li.prototype,"passwordRevealedIcon",void 0),Pi([o()],Li.prototype,"iconVariant",void 0),Pi([o({type:Boolean})],Li.prototype,"filterSuggestions",void 0),Pi([o({type:Number})],Li.prototype,"maxLength",void 0),Pi([o({type:Boolean})],Li.prototype,"password",void 0),Pi([s()],Li.prototype,"focused",void 0),Pi([s()],Li.prototype,"hidePassword",void 0),Pi([s()],Li.prototype,"suggestionsOnTop",void 0),Pi([s()],Li.prototype,"hideSuggestions",void 0),Pi([s()],Li.prototype,"visibleSuggestions",void 0),Pi([r(".ft-text-field--main-panel")],Li.prototype,"mainPanel",void 0),Pi([r(".ft-text-field--input")],Li.prototype,"input",void 0),Pi([r(".ft-text-field--suggestions")],Li.prototype,"suggestionsContainer",void 0),Pi([c({selector:"ft-text-field-suggestion"})],Li.prototype,"suggestions",void 0);const Ti=y`
954
+ `:tt}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}}Yo.elementDefinitions={"ft-input-label":No,"ft-ripple":Zo,"ft-typography":mo,"ft-icon":Mo},Yo.styles=[so,_o],Vo([i()],Yo.prototype,"label",void 0),Vo([i({noAccessor:!0})],Yo.prototype,"value",null),Vo([r()],Yo.prototype,"dispatchedValue",void 0),Vo([i()],Yo.prototype,"helper",void 0),Vo([i({type:Boolean})],Yo.prototype,"outlined",void 0),Vo([i({type:Boolean})],Yo.prototype,"disabled",void 0),Vo([i({type:Boolean})],Yo.prototype,"error",void 0),Vo([i()],Yo.prototype,"prefix",void 0),Vo([i()],Yo.prototype,"icon",void 0),Vo([i()],Yo.prototype,"passwordHiddenIcon",void 0),Vo([i()],Yo.prototype,"passwordRevealedIcon",void 0),Vo([i()],Yo.prototype,"iconVariant",void 0),Vo([i({type:Boolean})],Yo.prototype,"filterSuggestions",void 0),Vo([i({type:Number})],Yo.prototype,"maxLength",void 0),Vo([i({type:Boolean})],Yo.prototype,"password",void 0),Vo([r()],Yo.prototype,"focused",void 0),Vo([r()],Yo.prototype,"hidePassword",void 0),Vo([r()],Yo.prototype,"suggestionsOnTop",void 0),Vo([r()],Yo.prototype,"hideSuggestions",void 0),Vo([r()],Yo.prototype,"visibleSuggestions",void 0),Vo([a(".ft-text-field--main-panel")],Yo.prototype,"mainPanel",void 0),Vo([a(".ft-text-field--input")],Yo.prototype,"input",void 0),Vo([a(".ft-text-field--suggestions")],Yo.prototype,"suggestionsContainer",void 0),Vo([c({selector:"ft-text-field-suggestion"})],Yo.prototype,"suggestions",void 0);const Jo=x`
948
955
  .ft-text-field-suggestion {
949
956
  position: relative;
950
957
  padding: 8px 16px;
@@ -969,7 +976,7 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
969
976
  slot {
970
977
  pointer-events: none;
971
978
  }
972
- `;var _i=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Zi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Hi extends Rt{render(){return G`
979
+ `;var qo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Xo extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class Qo extends zt{render(){return X`
973
980
  <div class="ft-text-field-suggestion"
974
981
  tabindex="-1"
975
982
  @keydown=${this.onKeyDown}
@@ -981,54 +988,7 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
981
988
  <slot></slot>
982
989
  </ft-typography>
983
990
  </div>
984
- `}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 Zi(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())}}Hi.elementDefinitions={"ft-ripple":Ei,"ft-typography":ci,"ft-icon":zi},Hi.styles=Ti,_i([o()],Hi.prototype,"value",void 0),_i([r(".ft-text-field-suggestion")],Hi.prototype,"container",void 0),_i([d()],Hi.prototype,"assignedNodes",void 0),h("ft-text-field")(Li),h("ft-text-field-suggestion")(Hi);const Wi=mt.create("--ft-tooltip-distance","SIZE","4px"),Ki=mt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Vi=mt.create("--ft-tooltip-background-color","COLOR","#666666"),Ji=mt.create("--ft-tooltip-z-index","NUMBER","100"),qi=mt.external(wt.borderRadiusS,"Design system"),Xi=mt.create("--ft-tooltip-max-width","SIZE","150px"),Yi=y`
985
- .ft-tooltip--container {
986
- display: block;
987
- }
988
-
989
- .ft-tooltip--inline {
990
- display: inline-block;
991
- max-width: 100%;
992
- }
993
-
994
- .ft-tooltip {
995
- position: absolute;
996
- box-sizing: border-box;
997
- overflow: hidden;
998
- width: max-content;
999
- max-width: ${Xi};
1000
- text-align: center;
1001
- padding: ${Wi};
1002
- z-index: ${Ji};
1003
- }
1004
-
1005
- .ft-tooltip--content {
1006
- padding: 4px 8px;
1007
- border-radius: ${qi};
1008
- background-color: ${Vi};
1009
- color: ${Ki};
1010
- position: relative;
1011
- word-break: break-word;
1012
- }
1013
- `;var Gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Qi extends Rt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return G`
1014
- <div part="container"
1015
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1016
- @mouseenter=${this.onHover}
1017
- @mouseleave=${this.onOut}
1018
- @focusin=${this.onHover}
1019
- @focusout=${this.onOut}
1020
- @touchstart=${this.onTouch}>
1021
- <slot></slot>
1022
- <div part="tooltip" role="tooltip" inert
1023
- class="ft-tooltip ft-tooltip--${this.validPosition}"
1024
- ?hidden=${!this.visible}>
1025
- <div part="tooltip-content" class="ft-tooltip--content">
1026
- <slot name="text"></slot>
1027
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
1028
- </div>
1029
- </div>
1030
- </div>
1031
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,s=(t.offsetWidth-e)/2;let n=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let c=-a.x,d=a.x+a.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,d))+"px";let p=-a.y,h=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(p,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Xi})`}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))}}Qi.elementDefinitions={"ft-typography":ci},Qi.styles=Yi,Gi([o()],Qi.prototype,"text",void 0),Gi([o({type:Boolean})],Qi.prototype,"manual",void 0),Gi([o({type:Boolean})],Qi.prototype,"inline",void 0),Gi([o({type:Number})],Qi.prototype,"delay",void 0),Gi([o()],Qi.prototype,"position",void 0),Gi([d("",!0)],Qi.prototype,"slotNodes",void 0),Gi([r(".ft-tooltip--container")],Qi.prototype,"container",void 0),Gi([r(".ft-tooltip")],Qi.prototype,"tooltip",void 0),Gi([r(".ft-tooltip--content")],Qi.prototype,"tooltipContent",void 0),Gi([s()],Qi.prototype,"visible",void 0),h("ft-tooltip")(Qi);const to={color:mt.extend("--ft-loader-color",wt.colorPrimary),size:mt.create("--ft-loader-size","SIZE","80px")},eo=y`
991
+ `}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 Xo(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())}}Qo.elementDefinitions={"ft-ripple":Zo,"ft-typography":mo,"ft-icon":Mo},Qo.styles=Jo,qo([i()],Qo.prototype,"value",void 0),qo([a(".ft-text-field-suggestion")],Qo.prototype,"container",void 0),qo([p()],Qo.prototype,"assignedNodes",void 0),d("ft-text-field")(Yo),d("ft-text-field-suggestion")(Qo);const ti={color:Ot.extend("--ft-loader-color","",kt.colorPrimary),size:Ot.create("--ft-loader-size","","SIZE","80px")},ei=x`
1032
992
  :host {
1033
993
  line-height: 0;
1034
994
  }
@@ -1037,8 +997,8 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1037
997
  display: inline-block;
1038
998
  position: relative;
1039
999
 
1040
- width: ${to.size};
1041
- height: ${to.size};
1000
+ width: ${ti.size};
1001
+ height: ${ti.size};
1042
1002
  }
1043
1003
 
1044
1004
  .ft-loader div {
@@ -1047,7 +1007,7 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1047
1007
  width: 25%;
1048
1008
  height: 25%;
1049
1009
  border-radius: 50%;
1050
- background: ${to.color};
1010
+ background: ${ti.color};
1051
1011
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
1052
1012
  }
1053
1013
 
@@ -1094,17 +1054,10 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1094
1054
  transform: translate(0, 0);
1095
1055
  }
1096
1056
  100% {
1097
- transform: translate(calc(0.35 * ${to.size}), 0);
1057
+ transform: translate(calc(0.35 * ${ti.size}), 0);
1098
1058
  }
1099
1059
  }
1100
- `;class io extends Rt{render(){return G`
1101
- <div class="ft-loader">
1102
- <div></div>
1103
- <div></div>
1104
- <div></div>
1105
- <div></div>
1106
- </div>
1107
- `}}io.styles=eo,h("ft-loader")(io);const oo=mt.extend("--ft-button-color",wt.colorPrimary),so={backgroundColor:mt.extend("--ft-button-background-color",wt.colorSurface),borderRadius:mt.extend("--ft-button-border-radius",wt.borderRadiusL),color:oo,fontSize:mt.extend("--ft-button-font-size",Xe.fontSize),iconSize:mt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:mt.extend("--ft-button-ripple-color",oo),verticalPadding:mt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:mt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:mt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:mt.external(wt.colorOpacityDisabled,"Design system")},no=mt.extend("--ft-button-primary-color",mt.extend("--ft-button-color",wt.colorOnPrimary)),ro={backgroundColor:mt.extend("--ft-button-primary-background-color",mt.extend("--ft-button-background-color",wt.colorPrimary)),color:no,rippleColor:mt.extend("--ft-button-primary-ripple-color",no)},lo=mt.extend("--ft-button-dense-border-radius",mt.extend("--ft-button-border-radius",wt.borderRadiusM)),ao=mt.create("--ft-button-dense-vertical-padding","SIZE","2px"),co=mt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),po=mt.create("--ft-button-dense-icon-padding","SIZE","4px"),ho=[y`
1060
+ `,oi=Ot.extend("--ft-button-color","",kt.colorPrimary),ii={backgroundColor:Ot.extend("--ft-button-background-color","",kt.colorSurface),borderRadius:Ot.extend("--ft-button-border-radius","",kt.borderRadiusL),color:oi,fontSize:Ot.extend("--ft-button-font-size","",io.fontSize),iconSize:Ot.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ot.extend("--ft-button-ripple-color","",oi),verticalPadding:Ot.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ot.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ot.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ot.external(kt.colorOpacityDisabled,"Design system")},ri=Ot.extend("--ft-button-primary-color","",Ot.extend("--ft-button-color","",kt.colorOnPrimary)),ni={backgroundColor:Ot.extend("--ft-button-primary-background-color","",Ot.extend("--ft-button-background-color","",kt.colorPrimary)),color:ri,rippleColor:Ot.extend("--ft-button-primary-ripple-color","",ri)},ai=Ot.extend("--ft-button-dense-border-radius","",Ot.extend("--ft-button-border-radius","",kt.borderRadiusM)),li=Ot.create("--ft-button-dense-vertical-padding","","SIZE","2px"),si=Ot.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ci=Ot.create("--ft-button-dense-icon-padding","","SIZE","4px"),pi=[x`
1108
1061
  :host {
1109
1062
  display: inline-block;
1110
1063
  max-width: 100%;
@@ -1115,7 +1068,7 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1115
1068
  box-shadow: 0px 0px 0px transparent;
1116
1069
  border: 0px solid transparent;
1117
1070
  text-shadow: 0px 0px 0px transparent;
1118
- font-size: ${so.fontSize};
1071
+ font-size: ${ii.fontSize};
1119
1072
  }
1120
1073
 
1121
1074
  button:hover {
@@ -1144,31 +1097,31 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1144
1097
  border: none;
1145
1098
  pointer-events: auto;
1146
1099
 
1147
- --ft-button-internal-line-height: max(calc(${so.fontSize} + 2px), ${so.iconSize});
1148
- --ft-button-internal-color: ${so.color};
1149
- ${$t(Ci.size,so.iconSize)};
1150
- ${$t(xi.color,so.rippleColor)};
1100
+ --ft-button-internal-line-height: max(calc(${ii.fontSize} + 2px), ${ii.iconSize});
1101
+ --ft-button-internal-color: ${ii.color};
1102
+ ${Nt(Ko.size,ii.iconSize)};
1103
+ ${Nt(wo.color,ii.rippleColor)};
1151
1104
 
1152
- border-radius: ${so.borderRadius};
1153
- padding: ${so.verticalPadding} ${so.horizontalPadding};
1154
- background-color: ${so.backgroundColor};
1105
+ border-radius: ${ii.borderRadius};
1106
+ padding: ${ii.verticalPadding} ${ii.horizontalPadding};
1107
+ background-color: ${ii.backgroundColor};
1155
1108
  color: var(--ft-button-internal-color);
1156
1109
  -webkit-mask-image: radial-gradient(white, black);
1157
1110
  }
1158
1111
 
1159
1112
  .ft-button.ft-button--outlined {
1160
1113
  border: 1px solid var(--ft-button-internal-color);
1161
- padding: calc(${so.verticalPadding} - 1px) calc(${so.horizontalPadding} - 1px);
1114
+ padding: calc(${ii.verticalPadding} - 1px) calc(${ii.horizontalPadding} - 1px);
1162
1115
  }
1163
1116
 
1164
1117
  .ft-button.ft-button--dense {
1165
- padding: ${ao} ${co};
1166
- border-radius: ${lo};
1167
- gap: ${po};
1118
+ padding: ${li} ${si};
1119
+ border-radius: ${ai};
1120
+ gap: ${ci};
1168
1121
  }
1169
1122
 
1170
1123
  .ft-button.ft-button--dense.ft-button--outlined {
1171
- padding: calc(${ao} - 1px) calc(${co} - 1px);
1124
+ padding: calc(${li} - 1px) calc(${si} - 1px);
1172
1125
  }
1173
1126
 
1174
1127
  .ft-button:not([disabled]):hover {
@@ -1176,22 +1129,22 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1176
1129
  }
1177
1130
 
1178
1131
  .ft-button--round {
1179
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${so.verticalPadding});
1132
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ii.verticalPadding});
1180
1133
  }
1181
1134
 
1182
1135
  .ft-button--round.ft-button--dense {
1183
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ao});
1136
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${li});
1184
1137
  }
1185
1138
 
1186
1139
  .ft-button[disabled] {
1187
1140
  filter: grayscale(1);
1188
- opacity: ${so.opacityDisabled};
1141
+ opacity: ${ii.opacityDisabled};
1189
1142
  }
1190
1143
 
1191
1144
  .ft-button.ft-button--primary {
1192
- background-color: ${ro.backgroundColor};
1193
- --ft-button-internal-color: ${ro.color};
1194
- ${$t(xi.color,ro.rippleColor)};
1145
+ background-color: ${ni.backgroundColor};
1146
+ --ft-button-internal-color: ${ni.color};
1147
+ ${Nt(wo.color,ni.rippleColor)};
1195
1148
  }
1196
1149
 
1197
1150
  .ft-button:focus {
@@ -1204,13 +1157,13 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1204
1157
  white-space: nowrap;
1205
1158
  text-overflow: ellipsis;
1206
1159
  display: block;
1207
- margin: 0 ${so.iconPadding};
1208
- ${$t(Xe.fontSize,"1em")};
1209
- ${$t(Xe.lineHeight,"var(--ft-button-internal-line-height)")};
1160
+ margin: 0 ${ii.iconPadding};
1161
+ ${Nt(io.fontSize,"1em")};
1162
+ ${Nt(io.lineHeight,"var(--ft-button-internal-line-height)")};
1210
1163
  }
1211
1164
 
1212
1165
  .ft-button--dense .ft-button--label {
1213
- margin: 0 ${po};
1166
+ margin: 0 ${ci};
1214
1167
  }
1215
1168
 
1216
1169
  .ft-button--label[hidden] {
@@ -1223,13 +1176,13 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1223
1176
  }
1224
1177
 
1225
1178
  .ft-button--label[hidden] + ft-icon {
1226
- margin: 0 calc(${so.horizontalPadding} * -1);
1227
- padding: 0 ${so.verticalPadding};
1179
+ margin: 0 calc(${ii.horizontalPadding} * -1);
1180
+ padding: 0 ${ii.verticalPadding};
1228
1181
  }
1229
1182
 
1230
1183
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
1231
- margin: 0 calc(${co} * -1);
1232
- padding: 0 ${ao};
1184
+ margin: 0 calc(${si} * -1);
1185
+ padding: 0 ${li};
1233
1186
  }
1234
1187
 
1235
1188
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -1238,33 +1191,305 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1238
1191
  }
1239
1192
 
1240
1193
  ft-loader {
1241
- ${$t(to.size,so.iconSize)};
1242
- ${$t(to.color,"var(--ft-button-internal-color)")};
1194
+ ${Nt(ti.size,ii.iconSize)};
1195
+ ${Nt(ti.color,"var(--ft-button-internal-color)")};
1243
1196
  }
1244
- `,Mt];var fo=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class uo extends Rt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!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=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"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};return this.addTooltipIfNeeded(G`
1197
+ `,Zt],fi=Ot.create("--ft-tooltip-distance","","SIZE","4px"),di=Ot.create("--ft-tooltip-color","","COLOR","#FFFFFF"),hi=Ot.create("--ft-tooltip-background-color","","COLOR","#666666"),ui=Ot.create("--ft-tooltip-z-index","","NUMBER","100"),yi=Ot.external(kt.borderRadiusS,"Design system"),gi=Ot.create("--ft-tooltip-max-width","","SIZE","150px"),bi=x`
1198
+ .ft-tooltip--container {
1199
+ display: block;
1200
+ }
1201
+
1202
+ .ft-tooltip--inline {
1203
+ display: inline-block;
1204
+ max-width: 100%;
1205
+ }
1206
+
1207
+ .ft-tooltip {
1208
+ position: absolute;
1209
+ box-sizing: border-box;
1210
+ overflow: hidden;
1211
+ width: max-content;
1212
+ max-width: ${gi};
1213
+ text-align: center;
1214
+ padding: ${fi};
1215
+ z-index: ${ui};
1216
+ }
1217
+
1218
+ .ft-tooltip--content {
1219
+ padding: 4px 8px;
1220
+ border-radius: ${yi};
1221
+ background-color: ${hi};
1222
+ color: ${di};
1223
+ position: relative;
1224
+ word-break: break-word;
1225
+ }
1226
+ `;var mi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 xi extends zt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
1227
+ <div part="container"
1228
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
1229
+ @mouseenter=${this.onHover}
1230
+ @mouseleave=${this.onOut}
1231
+ @focusin=${this.onHover}
1232
+ @focusout=${this.onOut}
1233
+ @touchstart=${this.onTouch}>
1234
+ <slot></slot>
1235
+ <div part="tooltip" role="tooltip" inert
1236
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
1237
+ ?hidden=${!this.visible}>
1238
+ <div part="tooltip-content" class="ft-tooltip--content">
1239
+ <slot name="text"></slot>
1240
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
1241
+ </div>
1242
+ </div>
1243
+ </div>
1244
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,d=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${gi})`}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))}}xi.elementDefinitions={"ft-typography":mo},xi.styles=bi,mi([i()],xi.prototype,"text",void 0),mi([i({type:Boolean})],xi.prototype,"manual",void 0),mi([i({type:Boolean})],xi.prototype,"inline",void 0),mi([i({type:Number})],xi.prototype,"delay",void 0),mi([i()],xi.prototype,"position",void 0),mi([p("",!0)],xi.prototype,"slotNodes",void 0),mi([a(".ft-tooltip--container")],xi.prototype,"container",void 0),mi([a(".ft-tooltip")],xi.prototype,"tooltip",void 0),mi([a(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),mi([r()],xi.prototype,"visible",void 0),d("ft-tooltip")(xi);class vi extends zt{render(){return X`
1245
+ <div class="ft-loader">
1246
+ <div></div>
1247
+ <div></div>
1248
+ <div></div>
1249
+ <div></div>
1250
+ </div>
1251
+ `}}vi.styles=ei,d("ft-loader")(vi);var Oi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Ni extends(Dt(zt,"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(X`
1245
1252
  <button part="button"
1246
- class="${Xt(t)}"
1253
+ class="${ie(this.buttonClasses)}"
1247
1254
  aria-label="${this.getLabel()}"
1248
1255
  ?disabled=${this.isDisabled()}>
1249
1256
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
1250
1257
  <ft-typography part="label"
1251
- variant="button"
1258
+ variant=${this.typographyVariant}
1252
1259
  element="span"
1253
- class="ft-button--label ${Bt?"ft-safari-ellipsis-fix":""}"
1260
+ class="ft-button--label ${Ht?"ft-safari-ellipsis-fix":""}"
1254
1261
  ?hidden=${!this.hasTextContent()}>
1255
1262
  <slot @slotchange=${this.onSlotchange}></slot>
1256
1263
  </ft-typography>
1257
1264
  ${this.resolveIcon()}
1258
1265
  </button>
1259
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?G`
1260
- <ft-tooltip part="tooltip"
1261
- text="${this.getLabel()}"
1262
- position="${this.tooltipPosition}">
1263
- ${t}
1264
- </ft-tooltip>
1265
- `:t}resolveIcon(){return this.loading?G`
1266
- <ft-loader part="loader icon"></ft-loader> `:this.icon?G`
1267
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:tt}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}}uo.elementDefinitions={"ft-ripple":Ei,"ft-tooltip":Qi,"ft-typography":ci,"ft-icon":zi,"ft-loader":io},uo.styles=[zt,ho],fo([o({type:String,reflect:!0})],uo.prototype,"role",void 0),fo([o({type:Boolean})],uo.prototype,"primary",void 0),fo([o({type:Boolean})],uo.prototype,"outlined",void 0),fo([o({type:Boolean})],uo.prototype,"disabled",void 0),fo([o({type:Boolean})],uo.prototype,"dense",void 0),fo([o({type:Boolean})],uo.prototype,"round",void 0),fo([o()],uo.prototype,"label",void 0),fo([o()],uo.prototype,"icon",void 0),fo([o()],uo.prototype,"iconVariant",void 0),fo([o({type:Boolean})],uo.prototype,"trailingIcon",void 0),fo([o({type:Boolean})],uo.prototype,"loading",void 0),fo([o()],uo.prototype,"tooltipPosition",void 0),fo([o({type:Boolean})],uo.prototype,"hideTooltip",void 0),fo([o({type:Boolean})],uo.prototype,"forceTooltip",void 0),fo([r(".ft-button")],uo.prototype,"button",void 0),fo([r(".ft-button--label slot")],uo.prototype,"slottedContent",void 0),h("ft-button")(uo);class xo extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const vo={headerBackground:mt.create("--ft-filterable-table-header-background","COLOR","whitesmoke"),oddRowBackground:mt.create("--ft-filterable-table-odd-row-background","COLOR","#FFFFFF"),evenRowBackground:mt.create("--ft-filterable-table-even-row-background","COLOR","#fdfdfd"),rowHoverBackground:mt.create("--ft-filterable-table-row-hover-background","COLOR","#fafafa"),stickyHeaderZIndex:mt.create("--ft-filterable-table-sticky-header-zindex","NUMBER","100"),cellVerticalBorderWidth:mt.create("--ft-filterable-table-cell-vertical-border-width","SIZE","1px"),colorOnSurfaceHigh:mt.external(wt.colorOnSurfaceHigh,"Design system"),titleFont:mt.external(wt.titleFont,"Design system"),contentFont:mt.external(wt.contentFont,"Design system")},bo=y`
1266
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?X`
1267
+ <ft-tooltip part="tooltip"
1268
+ text="${this.getLabel()}"
1269
+ position="${this.tooltipPosition}">
1270
+ ${t}
1271
+ </ft-tooltip>
1272
+ `:t}resolveIcon(){return this.loading?X`
1273
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?X`
1274
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:tt}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}}Ni.elementDefinitions={"ft-ripple":Zo,"ft-tooltip":xi,"ft-typography":mo,"ft-icon":Mo,"ft-loader":vi},Oi([i({type:String,reflect:!0})],Ni.prototype,"role",void 0),Oi([i()],Ni.prototype,"type",void 0),Oi([i({type:Boolean})],Ni.prototype,"disabled",void 0),Oi([i()],Ni.prototype,"label",void 0),Oi([i()],Ni.prototype,"icon",void 0),Oi([i()],Ni.prototype,"iconVariant",void 0),Oi([i({type:Boolean})],Ni.prototype,"trailingIcon",void 0),Oi([i({type:Boolean})],Ni.prototype,"loading",void 0),Oi([i()],Ni.prototype,"tooltipPosition",void 0),Oi([i({type:Boolean})],Ni.prototype,"hideTooltip",void 0),Oi([i({type:Boolean})],Ni.prototype,"forceTooltip",void 0),Oi([a(".ft-button")],Ni.prototype,"button",void 0),Oi([a(".ft-button--label slot")],Ni.prototype,"slottedContent",void 0);var $i=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wi extends Ni{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}wi.styles=[Kt,pi],$i([i({type:Boolean})],wi.prototype,"primary",void 0),$i([i({type:Boolean})],wi.prototype,"outlined",void 0),$i([i({type:Boolean})],wi.prototype,"disabled",void 0),$i([i({type:Boolean})],wi.prototype,"dense",void 0),$i([i({type:Boolean})],wi.prototype,"round",void 0);const Si=[x`
1275
+ :host {
1276
+ display: inline-block;
1277
+ max-width: 100%;
1278
+ pointer-events: none;
1279
+ }
1280
+
1281
+ /** Remove default button styles **/
1282
+
1283
+ button {
1284
+ box-shadow: 0 0 0 transparent;
1285
+ border: 0 solid transparent;
1286
+ text-shadow: 0 0 0 transparent;
1287
+ }
1288
+
1289
+ button:hover {
1290
+ box-shadow: 0 0 0 transparent;
1291
+ text-shadow: 0 0 0 transparent;
1292
+ }
1293
+
1294
+ button:active {
1295
+ outline: none;
1296
+ }
1297
+
1298
+ button:focus {
1299
+ outline: 0;
1300
+ }
1301
+
1302
+ /** Base styles **/
1303
+
1304
+ .ft-button {
1305
+ position: relative;
1306
+ display: flex;
1307
+ justify-content: center;
1308
+ align-items: center;
1309
+ width: 100%;
1310
+ overflow: hidden;
1311
+ box-sizing: border-box;
1312
+ pointer-events: auto;
1313
+ }
1314
+
1315
+ .ft-button:not([disabled]):hover {
1316
+ cursor: pointer;
1317
+ }
1318
+
1319
+ .ft-button:focus {
1320
+ outline: none;
1321
+ }
1322
+
1323
+ .ft-button:focus-visible {
1324
+ outline-color: ${Ct.focusFocusRingColor};
1325
+ outline-style: solid;
1326
+ }
1327
+
1328
+ ft-icon {
1329
+ flex-shrink: 0;
1330
+ position: relative;
1331
+ }
1332
+
1333
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
1334
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
1335
+ order: -1;
1336
+ }
1337
+
1338
+ .ft-button--label {
1339
+ position: relative;
1340
+ overflow: hidden;
1341
+ white-space: nowrap;
1342
+ text-overflow: ellipsis;
1343
+ display: block;
1344
+ }
1345
+
1346
+ .ft-button--label[hidden] {
1347
+ display: none;
1348
+ }
1349
+
1350
+ /** Primary styles **/
1351
+
1352
+ .ft-button--primary {
1353
+ ${Nt(ti.color,Ct.primaryIconColor)};
1354
+
1355
+ ${Nt(wo.color,Ct.primaryStateLayerColor)};
1356
+ ${Nt(wo.opacityContentOnSurfaceHover,Ct.primaryStateLayerOpacityHover)};
1357
+ ${Nt(wo.opacityContentOnSurfaceFocused,Ct.primaryStateLayerOpacityFocus)};
1358
+ ${Nt(wo.opacityContentOnSurfaceSelected,Ct.primaryStateLayerOpacityActive)};
1359
+ ${Nt(wo.opacityContentOnSurfacePressed,Ct.primaryStateLayerOpacityActive)};
1360
+
1361
+ background-color: ${Ct.primaryBackgroundColor};
1362
+ color: ${Ct.primaryColor};
1363
+ border-style: none;
1364
+ }
1365
+
1366
+ .ft-button--primary[disabled] {
1367
+ opacity: ${Ct.primaryComponentOpacityDisabled};
1368
+ }
1369
+
1370
+ .ft-button--primary ft-icon {
1371
+ color: ${Ct.primaryIconColor};
1372
+ }
1373
+
1374
+ /** Secondary styles **/
1375
+
1376
+ .ft-button--secondary {
1377
+ ${Nt(ti.color,Ct.secondaryIconColor)};
1378
+
1379
+ ${Nt(wo.color,Ct.secondaryStateLayerColor)};
1380
+ ${Nt(wo.opacityContentOnSurfaceHover,Ct.secondaryStateLayerOpacityHover)};
1381
+ ${Nt(wo.opacityContentOnSurfaceFocused,Ct.secondaryStateLayerOpacityFocus)};
1382
+ ${Nt(wo.opacityContentOnSurfaceSelected,Ct.secondaryStateLayerOpacityActive)};
1383
+ ${Nt(wo.opacityContentOnSurfacePressed,Ct.secondaryStateLayerOpacityActive)};
1384
+
1385
+ background-color: ${Ct.secondaryBackgroundColor};
1386
+ color: ${Ct.secondaryColor};
1387
+ border-color: ${Ct.secondaryBorderColor};
1388
+ border-style: solid;
1389
+ }
1390
+
1391
+ .ft-button--secondary[disabled] {
1392
+ opacity: ${Ct.secondaryComponentOpacityDisabled};
1393
+ }
1394
+
1395
+ .ft-button--secondary ft-icon {
1396
+ color: ${Ct.secondaryIconColor};
1397
+ }
1398
+
1399
+ /** Tertiary styles **/
1400
+
1401
+ .ft-button--tertiary {
1402
+ ${Nt(ti.color,Ct.tertiaryIconColor)};
1403
+
1404
+ ${Nt(wo.color,Ct.tertiaryStateLayerColor)};
1405
+ ${Nt(wo.opacityContentOnSurfaceHover,Ct.tertiaryStateLayerOpacityHover)};
1406
+ ${Nt(wo.opacityContentOnSurfaceFocused,Ct.tertiaryStateLayerOpacityFocus)};
1407
+ ${Nt(wo.opacityContentOnSurfaceSelected,Ct.tertiaryStateLayerOpacityActive)};
1408
+ ${Nt(wo.opacityContentOnSurfacePressed,Ct.tertiaryStateLayerOpacityActive)};
1409
+
1410
+ background-color: ${Ct.tertiaryBackgroundColor};
1411
+ color: ${Ct.tertiaryColor};
1412
+ border-style: none;
1413
+ }
1414
+
1415
+ .ft-button--tertiary[disabled] {
1416
+ opacity: ${Ct.tertiaryComponentOpacityDisabled};
1417
+ }
1418
+
1419
+ .ft-button--tertiary ft-icon {
1420
+ color: ${Ct.tertiaryIconColor};
1421
+ }
1422
+
1423
+ /** Neutral styles **/
1424
+
1425
+ .ft-button--neutral {
1426
+ ${Nt(ti.color,Ct.neutralIconColor)};
1427
+
1428
+ ${Nt(wo.backgroundColor,Ct.neutralStateLayerColor)};
1429
+ ${Nt(wo.opacityContentOnSurfaceHover,Ct.neutralStateLayerOpacityHover)};
1430
+ ${Nt(wo.opacityContentOnSurfaceFocused,Ct.neutralStateLayerOpacityFocus)};
1431
+ ${Nt(wo.opacityContentOnSurfaceSelected,Ct.neutralStateLayerOpacityActive)};
1432
+ ${Nt(wo.opacityContentOnSurfacePressed,Ct.neutralStateLayerOpacityActive)};
1433
+
1434
+ background-color: ${Ct.neutralBackgroundColor};
1435
+ color: ${Ct.neutralColor};
1436
+ border-style: none;
1437
+ }
1438
+
1439
+ .ft-button--neutral[disabled] {
1440
+ opacity: ${Ct.neutralComponentOpacityDisabled};
1441
+ }
1442
+
1443
+ .ft-button--neutral ft-icon {
1444
+ color: ${Ct.neutralIconColor};
1445
+ }
1446
+
1447
+ /** Large styles **/
1448
+
1449
+ .ft-button--large {
1450
+ ${Nt(Ko.size,Ct.largeIconSize)};
1451
+ ${Nt(ti.size,Ct.largeIconSize)};
1452
+
1453
+ height: ${Ct.largeHeight};
1454
+ padding: 0 ${Ct.largeHorizontalPadding};
1455
+ gap: ${Ct.largeGap};
1456
+ border-radius: ${Ct.largeBorderRadius};
1457
+ border-width: ${Ct.largeBorderWidth};
1458
+ }
1459
+
1460
+ .ft-button--large:focus-visible {
1461
+ outline-width: ${Ct.largeFocusOutlineWidth};
1462
+ outline-offset: ${Ct.largeFocusOutlineOffset};
1463
+ }
1464
+
1465
+ .ft-button--large.ft-button--icon-only {
1466
+ width: ${Ct.largeIconOnlyWidth};
1467
+ padding: unset;
1468
+ }
1469
+
1470
+ /** Small styles **/
1471
+
1472
+ .ft-button--small {
1473
+ ${Nt(Ko.size,Ct.smallIconSize)};
1474
+ ${Nt(ti.size,Ct.smallIconSize)};
1475
+
1476
+ height: ${Ct.smallHeight};
1477
+ padding: 0 ${Ct.smallHorizontalPadding};
1478
+ gap: ${Ct.smallGap};
1479
+ border-radius: ${Ct.smallBorderRadius};
1480
+ border-width: ${Ct.smallBorderWidth};
1481
+ }
1482
+
1483
+ .ft-button--small:focus-visible {
1484
+ outline-width: ${Ct.smallFocusOutlineWidth};
1485
+ outline-offset: ${Ct.smallFocusOutlineOffset};
1486
+ }
1487
+
1488
+ .ft-button--small.ft-button--icon-only {
1489
+ width: ${Ct.smallIconOnlyWidth};
1490
+ padding: unset;
1491
+ }
1492
+ `,Zt];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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Ni{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?ce.caption1medium:ce.body2medium}}ki.styles=[Kt,Si],Ci([i({type:Boolean})],ki.prototype,"primary",void 0),Ci([i({type:Boolean})],ki.prototype,"secondary",void 0),Ci([i({type:Boolean})],ki.prototype,"tertiary",void 0),Ci([i({type:Boolean})],ki.prototype,"neutral",void 0),Ci([i({type:Boolean})],ki.prototype,"small",void 0),d("ft-button")(wi),d("ftds-button")(ki);class Ei extends CustomEvent{constructor(t){super("row-click",{detail:t})}}const Ri={headerBackground:Ot.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:Ot.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:Ot.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:Ot.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:Ot.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","100"),cellVerticalBorderWidth:Ot.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),colorOnSurfaceHigh:Ot.external(kt.colorOnSurfaceHigh,"Design system"),titleFont:Ot.external(kt.titleFont,"Design system"),contentFont:Ot.external(kt.contentFont,"Design system")},Ii=x`
1268
1493
  :host {
1269
1494
  display: block;
1270
1495
  }
@@ -1280,15 +1505,15 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1280
1505
  .header-cell {
1281
1506
  display: flex;
1282
1507
  flex-direction: column;
1283
- background: ${vo.headerBackground};
1284
- color: ${vo.colorOnSurfaceHigh};
1508
+ background: ${Ri.headerBackground};
1509
+ color: ${Ri.colorOnSurfaceHigh};
1285
1510
  padding: .5rem 1rem;
1286
- font-family: ${vo.titleFont};
1511
+ font-family: ${Ri.titleFont};
1287
1512
  }
1288
1513
 
1289
1514
  .header-cell--sticky {
1290
1515
  top: 0;
1291
- z-index: ${vo.stickyHeaderZIndex};
1516
+ z-index: ${Ri.stickyHeaderZIndex};
1292
1517
  position: sticky;
1293
1518
  }
1294
1519
 
@@ -1306,8 +1531,8 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1306
1531
  }
1307
1532
 
1308
1533
  .column-title-container ft-button {
1309
- ${$t(so.backgroundColor,vo.headerBackground)};
1310
- ${$t(so.color,vo.colorOnSurfaceHigh)};
1534
+ ${Nt(ii.backgroundColor,Ri.headerBackground)};
1535
+ ${Nt(ii.color,Ri.colorOnSurfaceHigh)};
1311
1536
  }
1312
1537
 
1313
1538
  .column-title {
@@ -1336,31 +1561,31 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1336
1561
 
1337
1562
  .cell {
1338
1563
  padding: 1rem;
1339
- border-left-color: ${vo.headerBackground};
1564
+ border-left-color: ${Ri.headerBackground};
1340
1565
  border-left-style: solid;
1341
- border-left-width: ${vo.cellVerticalBorderWidth};
1342
- border-bottom: 1px solid ${vo.headerBackground};
1566
+ border-left-width: ${Ri.cellVerticalBorderWidth};
1567
+ border-bottom: 1px solid ${Ri.headerBackground};
1343
1568
  overflow-x: auto;
1344
1569
  display: flex;
1345
1570
  align-items: center;
1346
- font-family: ${vo.contentFont};
1571
+ font-family: ${Ri.contentFont};
1347
1572
  }
1348
1573
 
1349
1574
  /* Even is 2n+1 and odd is 2n because of the header */
1350
1575
  .row:nth-child(2n) > .cell {
1351
- background: ${vo.oddRowBackground};
1576
+ background: ${Ri.oddRowBackground};
1352
1577
  }
1353
1578
 
1354
1579
  .row:nth-child(2n + 1) > .cell {
1355
- background: ${vo.evenRowBackground};
1580
+ background: ${Ri.evenRowBackground};
1356
1581
  }
1357
1582
 
1358
1583
  .row:hover > .cell {
1359
- background: ${vo.rowHoverBackground};
1584
+ background: ${Ri.rowHoverBackground};
1360
1585
  }
1361
1586
 
1362
1587
  .cell:last-of-type {
1363
- border-right: 1px solid ${vo.headerBackground};
1588
+ border-right: 1px solid ${Ri.headerBackground};
1364
1589
  }
1365
1590
 
1366
1591
  .row:last-of-type .cell:first-of-type {
@@ -1374,7 +1599,7 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1374
1599
  .hidden {
1375
1600
  visibility: hidden;
1376
1601
  }
1377
- `;var go=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const yo=t=>G`${t}`,mo=(t,e)=>t-e;class $o extends Rt{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.filters=[],this.selectData=[]}init(t,e,i){this.data=t,this.columns=e,this.sort=i}render(){let t=this.sortData(this.filterData());return G`
1602
+ `;var Ui=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Wi=t=>X`${t}`,Li=(t,e)=>t-e;class zi extends zt{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 X`
1378
1603
  <style>
1379
1604
  .table {
1380
1605
  grid-template-columns: repeat(${this.columns.length}, minmax(min-content, auto));
@@ -1382,17 +1607,17 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1382
1607
  </style>
1383
1608
  <div class="table">
1384
1609
  <div class="header">
1385
- ${Vt(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1610
+ ${te(this.columns,((t,e)=>"header-cell-"+e),((t,e)=>this.renderHeader(t,e)))}
1386
1611
  </div>
1387
- ${Vt(t,((t,e)=>"row-"+e),((t,e)=>G`
1612
+ ${te(t,((t,e)=>"row-"+e),((t,e)=>X`
1388
1613
  <div class="row"
1389
- @click=${()=>this.dispatchEvent(new xo(t))}>
1390
- ${Vt(this.columns,((t,i)=>"cell-"+i+"-"+e),((i,o)=>this.renderCell(i,o,t,e)))}
1614
+ @click=${()=>this.dispatchEvent(new Ei(t))}>
1615
+ ${te(this.columns,((t,o)=>"cell-"+o+"-"+e),((o,i)=>this.renderCell(o,i,t,e)))}
1391
1616
  </div>
1392
1617
  `))}
1393
1618
  </div>
1394
- `}filterData(){return this.filters.reduce(((t,e,i)=>{var o;const s=this.columns[i];if(e&&e.value)switch(null!==(o=s.filter)&&void 0!==o?o:"text"){case"text":return t.filter((t=>this.getValueAsString(s,t,i).toLowerCase().includes(e.value.toLowerCase())));case"select":return t.filter((t=>this.getValueAsString(s,t,i)===e.value))}return t}),this.data)}sortData(t){var e;if(this.currentSort){const i=this.columns[this.currentSort.column],o=null!==(e=i.comparator)&&void 0!==e?e:mo,s="asc"===this.currentSort.order?o:(t,e)=>-o(t,e);return[...t].sort(((t,e)=>s(this.getValue(i,t),this.getValue(i,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 i in e){const o=e[i];"select"===o.filter&&(this.selectData[i]=[...new Set(t.map(((t,e)=>this.getValueAsString(o,t,e))))].sort(((t,e)=>t.localeCompare(e))))}this.requestUpdate()}renderHeader(t,e){const i={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return G`
1395
- <div class="${Xt(i)}"
1619
+ `}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:Li,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 X`
1620
+ <div class="${ie(o)}"
1396
1621
  part="${this.columnPart("header-cell",e)}">
1397
1622
  <div class="column-title-container">
1398
1623
  <span class="column-title"
@@ -1403,39 +1628,39 @@ const Ii={fontSize:mt.create("--ft-text-field-font-size","SIZE","14px"),labelSiz
1403
1628
  </div>
1404
1629
  ${this.renderColumnFilter(t,e)}
1405
1630
  </div>
1406
- `}renderColumnSort(t,e){var i;const o=this.currentSort&&this.currentSort.column===e,s=o?"asc"===this.currentSort.order?"expand_more":"expand_less":"unfold_more";return G`
1631
+ `}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 X`
1407
1632
  <ft-button
1408
1633
  round
1409
1634
  dense
1410
- class="${null===(i=t.sortable)||void 0===i||i?"":"hidden"}"
1635
+ class="${null===(o=t.sortable)||void 0===o||o?"":"hidden"}"
1411
1636
  iconVariant="material"
1412
- icon="${s}"
1637
+ icon="${r}"
1413
1638
  label="Sort ${t.title}"
1414
- @click=${()=>{var t;o?"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"}}}
1639
+ @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"}}}
1415
1640
  part="${this.columnPart("sort-button",e)}"
1416
1641
  ></ft-button>
1417
- `}renderColumnFilter(t,e){var i,o;const s=t=>{this.filters[e]={value:t.detail},this.requestUpdate()};switch(null!==(i=t.filter)&&void 0!==i?i:"text"){case"text":return G`
1642
+ `}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 X`
1418
1643
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1419
1644
  <ft-text-field
1420
1645
  label="Search ${t.title}"
1421
- @live-change="${s}"
1646
+ @live-change="${r}"
1422
1647
  part="${this.columnPart("filter",e)}"
1423
1648
  ></ft-text-field>
1424
1649
  </div>
1425
- `;case"select":const i=null!==(o=this.selectData[e])&&void 0!==o?o:[];return i.length?G`
1650
+ `;case"select":const o=null!==(i=this.selectData[e])&&void 0!==i?i:[];return o.length?X`
1426
1651
  <div class="column-filter" part="${this.columnPart("filter-container",e)}">
1427
1652
  <ft-select label="Filter ${t.title}"
1428
- @change=${s}
1653
+ @change=${r}
1429
1654
  part="${this.columnPart("filter",e)}">
1430
1655
  <ft-select-option></ft-select-option>
1431
- ${i.map((t=>G`
1656
+ ${o.map((t=>X`
1432
1657
  <ft-select-option value="${t}" label="${t}"></ft-select-option>
1433
1658
  `))}
1434
1659
  </ft-select>
1435
1660
  </div>
1436
- `:tt}return tt}columnPart(t,e){return`${t} ${t}-column-${e}`}renderCell(t,e,i,o){var s;const n=null!==(s=t.render)&&void 0!==s?s:yo;return G`
1661
+ `:tt}return tt}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:Wi;return X`
1437
1662
  <div class="cell"
1438
- part="${this.columnPart("cell",e)} cell-row-${o} cell-column-${e}-row-${o}">
1439
- ${(t=>{const e=n(t,o);return"string"==typeof e?qt(e):e})(this.getValue(t,i))}
1663
+ part="${this.columnPart("cell",e)} cell-row-${i} cell-column-${e}-row-${i}">
1664
+ ${(t=>{const e=n(t,i);return"string"==typeof e?oe(e):e})(this.getValue(t,o))}
1440
1665
  </div>
1441
- `}getValue(t,e){return"string"==typeof t.getter?e[t.getter]:t.getter(e)}getValueAsString(t,e,i){const o=this.getValue(t,e);return"function"==typeof t.stringify?t.stringify(o,i):(t=>""+t)(o)}}$o.styles=bo,go([o({attribute:!1})],$o.prototype,"data",void 0),go([o({attribute:!1})],$o.prototype,"columns",void 0),go([o({attribute:!1})],$o.prototype,"sort",void 0),go([o()],$o.prototype,"stickyHeaders",void 0),go([s()],$o.prototype,"currentSort",void 0),h("ft-filterable-table")($o),t.FtFilterableTable=$o,t.FtFilterableTableCssVariables=vo,t.RowClickEvent=xo,t.styles=bo}({});
1666
+ `}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)}}zi.styles=Ii,Ui([i({attribute:!1})],zi.prototype,"data",void 0),Ui([i({attribute:!1})],zi.prototype,"columns",void 0),Ui([i({attribute:!1})],zi.prototype,"sort",void 0),Ui([i()],zi.prototype,"stickyHeaders",void 0),Ui([r()],zi.prototype,"currentSort",void 0),d("ft-filterable-table")(zi),t.FtFilterableTable=zi,t.FtFilterableTableCssVariables=Ri,t.RowClickEvent=Ei,t.styles=Ii}({});