@fluid-topics/ft-search-selected-facets 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=s.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,h=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=a.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=h(o)||window.customElements,r=i._getDefinition(e);return r?d(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)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(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(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.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(Us){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 extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=i(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{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}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=s.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,h=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=a.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=h(o)||window.customElements,r=i._getDefinition(e);return r?d(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)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(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(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.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(js){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 extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=i(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -53,7 +53,7 @@ const E={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N},k=(t=E,e,
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */let W;const j=t=>new Promise((e=>setTimeout(e,t)));async function z(t,e=5,o){return await async function(t,e=5,o){let i,r,n=await t();for(i=r=performance.now();!n&&(!o||r-i<o);)await j(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded")}((async()=>null!=await t()),e,o),await t()}function F(t,e){return t.flatMap((t=>[t,...F(e(t),e)]))}function D(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(!D(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(!D(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(!D(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const B=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function P(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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)=>!D(t,e),...null!=e?e:{}})}
56
+ */let W;const j=t=>new Promise((e=>setTimeout(e,t)));async function z(t,e=5,o){return await async function(t,e=5,o){let i,r,n=await t();for(i=r=performance.now();!n&&(!o||r-i<o);)await j(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded")}((async()=>null!=await t()),e,o),await t()}function D(t,e){return t.flatMap((t=>[t,...D(e(t),e)]))}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 B=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function P(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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:{}})}
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2017 Google LLC
@@ -69,7 +69,7 @@ const $t=globalThis,Ct=$t.ShadowRoot&&(void 0===$t.ShadyCSS||$t.ShadyCSS.nativeS
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:At,defineProperty:Wt,getOwnPropertyDescriptor:jt,getOwnPropertyNames:zt,getOwnPropertySymbols:Ft,getPrototypeOf:Dt}=Object,Bt=globalThis,Pt=Bt.trustedTypes,Tt=Pt?Pt.emptyScript:"",Mt=Bt.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Tt: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}},_t=(t,e)=>!At(t,e),Ht={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:_t};Symbol.metadata??=Symbol("metadata"),Bt.litPropertyMetadata??=new WeakMap;let Gt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Wt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=jt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Dt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...zt(t),...Ft(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(Lt(t))}else void 0!==t&&e.push(Lt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Ct)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=$t.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Zt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??_t)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[Kt("elementProperties")]=new Map,Gt[Kt("finalized")]=new Map,Mt?.({ReactiveElement:Gt}),(Bt.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:At,defineProperty:Wt,getOwnPropertyDescriptor:jt,getOwnPropertyNames:zt,getOwnPropertySymbols:Dt,getPrototypeOf:Ft}=Object,Bt=globalThis,Pt=Bt.trustedTypes,Tt=Pt?Pt.emptyScript:"",Mt=Bt.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Tt: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}},_t=(t,e)=>!At(t,e),Ht={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:_t};Symbol.metadata??=Symbol("metadata"),Bt.litPropertyMetadata??=new WeakMap;let Gt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ht){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Wt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=jt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ht}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ft(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...zt(t),...Dt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(Lt(t))}else void 0!==t&&e.push(Lt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Ct)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=$t.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Zt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??_t)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Gt.elementStyles=[],Gt.shadowRootOptions={mode:"open"},Gt[Kt("elementProperties")]=new Map,Gt[Kt("finalized")]=new Map,Mt?.({ReactiveElement:Gt}),(Bt.reactiveElementVersions??=[]).push("2.0.2");
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
@@ -81,12 +81,12 @@ const Vt=globalThis,qt=Vt.trustedTypes,Yt=qt?qt.createPolicy("lit-html",{createH
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new Oe(e.insertBefore(oe(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Re=globalThis.litElementPolyfillSupport;Re?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ie=t=>"string"==typeof t?It(t):t;class Ue{static create(t,e,o,i){const r=t=>Ie(null!=t?t:i),n=Ut`var(${Ie(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ut`var(${Ie(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=Ut`var(${Ie(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=>Ut`var(${Ie(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):Ie(null!=e?e:t.lastResortDefaultValue()),i=Ut`var(${Ie(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=>Ut`var(${Ie(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Le(t,e){return Ie(`${t.name}: ${e}`)}const Ae={colorWhite:Ue.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ue.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ue.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ue.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ue.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ue.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ue.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ue.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ue.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ue.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ue.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ue.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ue.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ue.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ue.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ue.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ue.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ue.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ue.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ue.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ue.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ue.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ue.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ue.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ue.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ue.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ue.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ue.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ue.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ue.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ue.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ue.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ue.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ue.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ue.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ue.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ue.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ue.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ue.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ue.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ue.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ue.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ue.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ue.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ue.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ue.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ue.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ue.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ue.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ue.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ue.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ue.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ue.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ue.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ue.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ue.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ue.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ue.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ue.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ue.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ue.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ue.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ue.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ue.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ue.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ue.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ue.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ue.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ue.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ue.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ue.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ue.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ue.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ue.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ue.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ue.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ue.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ue.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ue.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ue.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ue.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ue.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ue.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ue.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ue.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ue.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ue.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ue.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ue.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ue.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ue.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ue.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ue.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ue.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ue.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ue.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ue.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ue.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ue.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ue.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ue.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ue.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ue.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ue.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ue.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ue.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ue.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ue.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ue.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ue.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ue.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ue.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ue.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ue.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ue.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ue.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ue.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ue.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ue.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ue.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ue.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ue.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ue.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ue.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ue.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ue.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ue.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ue.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ue.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ue.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ue.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ue.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ue.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ue.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ue.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ue.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ue.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ue.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ue.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ue.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ue.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ue.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ue.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ue.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ue.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ue.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ue.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ue.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ue.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ue.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ue.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ue.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ue.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ue.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ue.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ue.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ue.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ue.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ue.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ue.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ue.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ue.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ue.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ue.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ue.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ue.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ue.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ue.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ue.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ue.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ue.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ue.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ue.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ue.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ue.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ue.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ue.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ue.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ue.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ue.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ue.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ue.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ue.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ue.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ue.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ue.create("--ft-opacity-80","","NUMBER","0.8")},We={display:{fontFamily:Ue.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ue.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ue.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ue.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ue.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ue.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ue.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ue.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ue.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ue.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ue.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ue.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ue.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ue.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ue.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ue.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ue.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ue.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ue.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ue.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ue.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ue.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ue.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ue.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ue.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ue.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ue.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ue.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ue.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},je={backgroundActionPrimary:Ue.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ae.colorBrand0),backgroundErrorPrimary:Ue.extend("--ft-background-error-primary","Used as background of error components.",Ae.colorRed0),backgroundErrorSubtle:Ue.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ae.colorRed10),backgroundInfoPrimary:Ue.extend("--ft-background-info-primary","Used as background of information components.",Ae.colorCyan200),backgroundInfoSubtle:Ue.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ae.colorCyan10),backgroundWarningPrimary:Ue.extend("--ft-background-warning-primary","Used as background of warning components.",Ae.colorOrange300),backgroundWarningSubtle:Ue.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ae.colorOrange10),backgroundSuccessPrimary:Ue.extend("--ft-background-success-primary","Used as background of success components.",Ae.colorGreen200),backgroundSuccessSubtle:Ue.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ae.colorGreen10),backgroundGlobalSurface:Ue.extend("--ft-background-global-surface","Used as app background.",Ae.colorWhite),backgroundGlobalOnSurface:Ue.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ae.colorGray10),backgroundGlobalOnSurfaceDark:Ue.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ae.colorGray30),contentActionPrimary:Ue.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ae.colorBrand0),contentWarningPrimary:Ue.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ae.colorOrange300),contentWarningIconOnly:Ue.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ae.colorOrange0),contentErrorPrimary:Ue.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ae.colorRed0),contentErrorIconOnly:Ue.extend("--ft-content-error-icon-only","Used on error status icons alone",Ae.colorRed0),contentInfoPrimary:Ue.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ae.colorCyan200),contentInfoIconOnly:Ue.extend("--ft-content-info-icon-only","Used on info status icons alone",Ae.colorCyan0),contentSuccessIconOnly:Ue.extend("--ft-content-success-icon-only","Used on success status icons alone",Ae.colorGreen0),contentSuccessPrimary:Ue.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ae.colorGreen200),contentGlobalPrimary:Ue.extend("--ft-content-global-primary","Used for main content on the page.",Ae.colorGray500),contentGlobalSecondary:Ue.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ae.colorGray200),contentGlobalSubtle:Ue.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ae.colorGray0),contentGlobalOnColor:Ue.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ae.colorWhite),borderActionPrimary:Ue.extend("--ft-border-action-primary","Used as border for primary action components.",Ae.colorBrand0),borderActionFocusRing:Ue.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ae.colorCyan0),borderWarningPrimary:Ue.extend("--ft-border-warning-primary","Used as border for warning components.",Ae.colorOrange30),borderSuccessPrimary:Ue.extend("--ft-border-success-primary","Used as border for success components.",Ae.colorGreen30),borderErrorPrimary:Ue.extend("--ft-border-error-primary","Used as border for error components.",Ae.colorRed30),borderInfoPrimary:Ue.extend("--ft-border-info-primary","Used as border for information components.",Ae.colorCyan30),borderGlobalSubtle:Ue.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ae.colorGray30),borderGlobalPrimary:Ue.extend("--ft-border-global-primary","Used as border for element like input.",Ae.colorGray50),borderInputPrimary:Ue.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ae.colorGray80)},ze={largeHeight:Ue.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ue.extend("--ft-button-large-horizontal-padding","",Ae.spacing4),largeGap:Ue.extend("--ft-button-large-gap","",Ae.spacing2),largeBorderRadius:Ue.extend("--ft-button-large-border-radius","",Ae.borderRadiusS),largeIconSize:Ue.extend("--ft-button-large-icon-size","",Ae.iconSize3),largeBorderWidth:Ue.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ue.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ue.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ue.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ue.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ue.extend("--ft-button-small-horizontal-padding","",Ae.spacing3),smallGap:Ue.extend("--ft-button-small-gap","",Ae.spacing2),smallBorderRadius:Ue.extend("--ft-button-small-border-radius","",Ae.borderRadiusS),smallIconSize:Ue.extend("--ft-button-small-icon-size","",Ae.iconSize2),smallBorderWidth:Ue.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ue.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ue.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ue.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ue.extend("--ft-button-primary-background-color","",je.backgroundActionPrimary),primaryColor:Ue.extend("--ft-button-primary-color","",je.contentGlobalOnColor),primaryIconColor:Ue.extend("--ft-button-primary-icon-color","",je.contentGlobalOnColor),primaryStateLayerColor:Ue.extend("--ft-button-primary-state-layer-color","",je.contentGlobalOnColor),primaryStateLayerOpacityHover:Ue.extend("--ft-button-primary-state-layer-opacity-hover","",Ae.opacity16),primaryStateLayerOpacityFocus:Ue.extend("--ft-button-primary-state-layer-opacity-focus","",Ae.opacity16),primaryStateLayerOpacityActive:Ue.extend("--ft-button-primary-state-layer-opacity-active","",Ae.opacity24),primaryComponentOpacityDisabled:Ue.extend("--ft-button-primary-component-opacity-disabled","",Ae.opacity40),focusFocusRingColor:Ue.extend("--ft-button-focus-focus-ring-color","",je.borderActionFocusRing),tertiaryBackgroundColor:Ue.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ue.extend("--ft-button-tertiary-color","",je.contentActionPrimary),tertiaryIconColor:Ue.extend("--ft-button-tertiary-icon-color","",je.contentActionPrimary),tertiaryStateLayerColor:Ue.extend("--ft-button-tertiary-state-layer-color","",je.contentActionPrimary),tertiaryStateLayerOpacityHover:Ue.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ae.opacity8),tertiaryStateLayerOpacityFocus:Ue.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ae.opacity8),tertiaryStateLayerOpacityActive:Ue.extend("--ft-button-tertiary-state-layer-opacity-active","",Ae.opacity16),tertiaryComponentOpacityDisabled:Ue.extend("--ft-button-tertiary-component-opacity-disabled","",Ae.opacity40),secondaryBackgroundColor:Ue.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ue.extend("--ft-button-secondary-color","",je.contentActionPrimary),secondaryIconColor:Ue.extend("--ft-button-secondary-icon-color","",je.contentActionPrimary),secondaryStateLayerColor:Ue.extend("--ft-button-secondary-state-layer-color","",je.contentActionPrimary),secondaryStateLayerOpacityHover:Ue.extend("--ft-button-secondary-state-layer-opacity-hover","",Ae.opacity8),secondaryStateLayerOpacityFocus:Ue.extend("--ft-button-secondary-state-layer-opacity-focus","",Ae.opacity8),secondaryStateLayerOpacityActive:Ue.extend("--ft-button-secondary-state-layer-opacity-active","",Ae.opacity16),secondaryComponentOpacityDisabled:Ue.extend("--ft-button-secondary-component-opacity-disabled","",Ae.opacity40),secondaryBorderColor:Ue.extend("--ft-button-secondary-border-color","",je.borderActionPrimary),neutralBackgroundColor:Ue.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ue.extend("--ft-button-neutral-icon-color","",je.contentGlobalSecondary),neutralColor:Ue.extend("--ft-button-neutral-color","",je.contentGlobalSecondary),neutralStateLayerColor:Ue.extend("--ft-button-neutral-state-layer-color","",je.contentGlobalSecondary),neutralStateLayerOpacityHover:Ue.extend("--ft-button-neutral-state-layer-opacity-hover","",Ae.opacity8),neutralStateLayerOpacityFocus:Ue.extend("--ft-button-neutral-state-layer-opacity-focus","",Ae.opacity8),neutralStateLayerOpacityActive:Ue.extend("--ft-button-neutral-state-layer-opacity-active","",Ae.opacity16),neutralComponentOpacityDisabled:Ue.extend("--ft-button-neutral-component-opacity-disabled","",Ae.opacity40)};Ue.extend("--ft-tabs-top-left-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-tabs-top-right-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-tabs-label-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-tabs-label-vertical-padding","",Ae.spacing3),Ue.extend("--ft-tabs-label-gap","",Ae.spacing1),Ue.extend("--ft-switch-group-horizontal-padding","",Ae.spacing1),Ue.extend("--ft-switch-group-vertical-padding","",Ae.spacing1),Ue.extend("--ft-switch-group-gap","",Ae.spacing1),Ue.extend("--ft-switch-group-background-color","",je.backgroundGlobalSurface),Ue.extend("--ft-switch-group-border-color","",je.borderGlobalSubtle),Ue.create("--ft-switch-group-border-radius","","SIZE","6px"),Ue.extend("--ft-switch-label-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-switch-label-vertical-padding","",Ae.spacing1),Ue.extend("--ft-switch-icon-horizontal-padding","",Ae.spacing1),Ue.extend("--ft-switch-icon-vertical-padding","",Ae.spacing1),Ue.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-switch-focus-focus-ring-color","",je.borderActionFocusRing),Ue.extend("--ft-switch-option-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-switch-off-state-layer-opacity-hover","",Ae.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-focus","",Ae.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-active","",Ae.opacity16),Ue.extend("--ft-switch-off-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-switch-off-color","",je.contentGlobalSubtle),Ue.extend("--ft-switch-off-state-layer-color","",je.contentGlobalSubtle),Ue.extend("--ft-chart-1-light","for area color charts",Ae.colorBrand40),Ue.extend("--ft-chart-1-base","for line charts",Ae.colorBrand0),Ue.extend("--ft-chart-2-light","for area color charts",Ae.colorYellow60),Ue.extend("--ft-chart-2-base","for line charts",Ae.colorYellow100),Ue.extend("--ft-chart-3-light","",Ae.colorUltramarine40),Ue.extend("--ft-chart-3-base","",Ae.colorUltramarine70),Ue.extend("--ft-chart-4-light","",Ae.colorCyan50),Ue.extend("--ft-chart-4-base","",Ae.colorCyan100),Ue.extend("--ft-chart-5-light","",Ae.colorRed40),Ue.extend("--ft-chart-5-base","",Ae.colorRed60),Ue.extend("--ft-chart-6-light","",Ae.colorGreen40),Ue.extend("--ft-chart-6-base","",Ae.colorGreen70),Ue.extend("--ft-chart-7-light","",Ae.colorOrange70),Ue.extend("--ft-chart-7-base","",Ae.colorOrange100),Ue.extend("--ft-chart-8-light","",Ae.colorAvocado70),Ue.extend("--ft-chart-8-base","",Ae.colorAvocado200),Ue.extend("--ft-chart-9-light","",Ae.colorBrown50),Ue.extend("--ft-chart-9-base","",Ae.colorBrown200),Ue.extend("--ft-chart-10-light","",Ae.colorGray50),Ue.extend("--ft-chart-10-base","",Ae.colorGray80),Ue.extend("--ft-chart-monochrome-10","",Ae.colorBrand10),Ue.extend("--ft-chart-monochrome-20","",Ae.colorBrand20),Ue.extend("--ft-chart-monochrome-30","",Ae.colorBrand40),Ue.extend("--ft-chart-monochrome-40","",Ae.colorBrand60),Ue.extend("--ft-chart-monochrome-50","",Ae.colorBrand0),Ue.extend("--ft-chart-monochrome-60","",Ae.colorBrand200),Ue.extend("--ft-chip-large-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-chip-large-vertical-padding","",Ae.spacing2),Ue.extend("--ft-chip-large-gap","",Ae.spacing1),Ue.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-large-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-large-border-width","","SIZE","1px"),Ue.extend("--ft-chip-large-icon-size","",Ae.iconSize3),Ue.extend("--ft-chip-medium-horizontal-padding","",Ae.spacing3),Ue.extend("--ft-chip-medium-vertical-padding","",Ae.spacing1),Ue.extend("--ft-chip-medium-gap","",Ae.spacing1),Ue.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-medium-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-medium-border-width","","SIZE","1px"),Ue.extend("--ft-chip-medium-icon-size","",Ae.iconSize2),Ue.extend("--ft-chip-small-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-chip-small-vertical-padding","",Ae.spacing05),Ue.extend("--ft-chip-small-gap","",Ae.spacing1),Ue.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-small-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-small-border-width","","SIZE","1px"),Ue.extend("--ft-chip-small-icon-size","",Ae.iconSize1),Ue.extend("--ft-chip-neutral-background-color","",je.backgroundGlobalOnSurface),Ue.extend("--ft-chip-neutral-color","",je.contentGlobalPrimary),Ue.extend("--ft-chip-neutral-border-color","",je.borderGlobalSubtle),Ue.extend("--ft-chip-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-chip-info-color","",je.contentInfoPrimary),Ue.extend("--ft-chip-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-chip-success-background-color","",je.backgroundSuccessSubtle),Ue.extend("--ft-chip-success-color","",je.contentSuccessPrimary),Ue.extend("--ft-chip-success-border-color","",je.borderSuccessPrimary),Ue.extend("--ft-chip-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-chip-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-chip-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-chip-error-background-color","",je.backgroundErrorSubtle),Ue.extend("--ft-chip-error-color","",je.contentErrorPrimary),Ue.extend("--ft-chip-error-border-color","",je.borderErrorPrimary),Ue.create("--ft-notice-border-width","","SIZE","1px"),Ue.extend("--ft-notice-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-notice-vertical-padding","",Ae.spacing1),Ue.extend("--ft-notice-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-notice-gap","",Ae.spacing2),Ue.extend("--ft-notice-icon-size","",Ae.iconSize3),Ue.extend("--ft-notice-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-notice-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-notice-info-color","",je.contentInfoPrimary),Ue.extend("--ft-notice-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-notice-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-notice-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-checkbox-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-checkbox-checked-background-color","",je.contentActionPrimary),Ue.extend("--ft-checkbox-checked-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-checkbox-checked-color","",je.contentGlobalOnColor),Ue.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-checkbox-checked-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-checkbox-unchecked-border-color","",Ae.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-color","",Ae.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-checkbox-focus-focus-ring-color","",je.borderActionFocusRing),Ue.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-checkbox-gap","",Ae.spacing3),Ue.extend("--ft-toggle-off-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-toggle-off-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-toggle-off-background-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-off-icon-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-off-state-layer-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-on-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-toggle-on-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-toggle-on-background-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-on-icon-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-on-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-toggle-focus-focus-ring-color","",je.borderActionFocusRing),Ue.extend("--ft-toggle-gap","",Ae.spacing3),Ue.extend("--ft-radio-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-radio-selected-color","",je.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-radio-selected-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-radio-unselected-state-layer-color","",Ae.colorGray80),Ue.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-radio-unselected-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-radio-focus-focus-ring-color","",je.borderActionFocusRing),Ue.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-radio-gap","",Ae.spacing3),Ue.extend("--ft-notification-icon-size","",Ae.iconSize4),Ue.extend("--ft-notification-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-notification-vertical-padding","",Ae.spacing4),Ue.extend("--ft-notification-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-notification-info-color","",je.contentInfoPrimary),Ue.extend("--ft-notification-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-notification-success-background-color","",je.backgroundSuccessSubtle),Ue.extend("--ft-notification-success-color","",je.contentSuccessPrimary),Ue.extend("--ft-notification-success-border-color","",je.borderSuccessPrimary),Ue.extend("--ft-notification-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-notification-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-notification-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-notification-error-background-color","",je.backgroundErrorSubtle),Ue.extend("--ft-notification-error-color","",je.contentErrorPrimary),Ue.extend("--ft-notification-error-border-color","",je.borderErrorPrimary),Ue.extend("--ft-notification-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-notification-border-width","","SIZE","1px"),Ue.extend("--ft-notification-gap-leading","",Ae.spacing2),Ue.extend("--ft-notification-gap-trailing","",Ae.spacing8);const Fe={colorPrimary:Ue.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ue.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ue.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ue.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ue.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ue.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ue.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ue.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ue.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ue.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ue.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ue.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ue.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ue.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ue.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ue.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ue.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ue.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ue.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ue.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ue.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ue.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ue.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ue.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ue.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ue.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ue.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ue.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ue.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ue.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ue.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ue.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ue.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ue.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ue.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ue.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ue.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ue.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ue.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ue.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ue.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ue.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ue.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ue.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ue.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ue.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ue.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ue.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ue.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ue.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ue.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},De=window,Be=De.ShadowRoot&&(void 0===De.ShadyCSS||De.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
84
+ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new Oe(e.insertBefore(oe(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Re=globalThis.litElementPolyfillSupport;Re?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ie=t=>"string"==typeof t?It(t):t;class Ue{static create(t,e,o,i){const r=t=>Ie(null!=t?t:i),n=Ut`var(${Ie(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ut`var(${Ie(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=Ut`var(${Ie(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=>Ut`var(${Ie(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):Ie(null!=e?e:t.lastResortDefaultValue()),i=Ut`var(${Ie(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=>Ut`var(${Ie(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Le(t,e){return Ie(`${t.name}: ${e}`)}const Ae={colorWhite:Ue.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ue.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ue.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ue.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ue.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ue.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ue.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ue.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ue.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ue.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ue.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ue.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ue.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ue.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ue.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ue.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ue.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ue.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ue.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ue.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ue.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ue.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ue.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ue.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ue.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ue.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ue.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ue.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ue.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ue.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ue.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ue.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ue.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ue.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ue.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ue.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ue.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ue.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ue.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ue.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ue.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ue.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ue.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ue.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ue.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ue.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ue.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ue.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ue.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ue.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ue.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ue.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ue.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ue.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ue.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ue.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ue.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ue.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ue.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ue.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ue.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ue.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ue.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ue.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ue.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ue.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ue.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ue.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ue.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ue.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ue.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ue.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ue.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ue.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ue.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ue.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ue.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ue.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ue.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ue.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ue.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ue.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ue.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ue.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ue.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ue.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ue.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ue.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ue.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ue.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ue.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ue.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ue.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ue.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ue.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ue.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ue.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ue.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ue.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ue.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ue.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ue.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ue.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ue.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ue.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ue.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ue.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ue.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ue.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ue.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ue.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ue.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ue.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ue.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ue.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ue.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ue.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ue.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ue.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ue.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ue.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ue.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ue.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ue.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ue.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ue.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ue.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ue.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ue.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ue.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ue.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ue.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ue.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ue.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ue.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ue.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ue.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ue.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ue.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ue.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ue.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ue.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ue.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ue.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ue.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ue.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ue.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ue.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ue.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ue.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ue.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ue.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ue.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ue.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ue.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ue.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ue.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ue.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ue.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ue.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ue.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ue.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ue.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ue.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ue.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ue.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ue.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ue.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ue.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ue.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ue.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ue.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ue.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ue.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ue.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ue.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ue.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ue.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ue.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ue.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ue.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ue.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ue.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ue.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ue.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ue.create("--ft-opacity-80","","NUMBER","0.8")},We={display:{fontFamily:Ue.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ue.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ue.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ue.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ue.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ue.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ue.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ue.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ue.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ue.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ue.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ue.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ue.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ue.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ue.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ue.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ue.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ue.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ue.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ue.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ue.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ue.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ue.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ue.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ue.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ue.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ue.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ue.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ue.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ue.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ue.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ue.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ue.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ue.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ue.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ue.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ue.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ue.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ue.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ue.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},je={backgroundActionPrimary:Ue.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ae.colorBrand0),backgroundErrorPrimary:Ue.extend("--ft-background-error-primary","Used as background of error components.",Ae.colorRed0),backgroundErrorSubtle:Ue.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ae.colorRed10),backgroundInfoPrimary:Ue.extend("--ft-background-info-primary","Used as background of information components.",Ae.colorCyan200),backgroundInfoSubtle:Ue.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ae.colorCyan10),backgroundWarningPrimary:Ue.extend("--ft-background-warning-primary","Used as background of warning components.",Ae.colorOrange300),backgroundWarningSubtle:Ue.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ae.colorOrange10),backgroundSuccessPrimary:Ue.extend("--ft-background-success-primary","Used as background of success components.",Ae.colorGreen200),backgroundSuccessSubtle:Ue.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ae.colorGreen10),backgroundGlobalSurface:Ue.extend("--ft-background-global-surface","Used as app background.",Ae.colorWhite),backgroundGlobalOnSurface:Ue.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ae.colorGray10),backgroundGlobalOnSurfaceDark:Ue.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ae.colorGray30),contentActionPrimary:Ue.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ae.colorBrand0),contentWarningPrimary:Ue.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ae.colorOrange300),contentWarningIconOnly:Ue.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ae.colorOrange0),contentErrorPrimary:Ue.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ae.colorRed0),contentErrorIconOnly:Ue.extend("--ft-content-error-icon-only","Used on error status icons alone",Ae.colorRed0),contentInfoPrimary:Ue.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ae.colorCyan200),contentInfoIconOnly:Ue.extend("--ft-content-info-icon-only","Used on info status icons alone",Ae.colorCyan0),contentSuccessIconOnly:Ue.extend("--ft-content-success-icon-only","Used on success status icons alone",Ae.colorGreen0),contentSuccessPrimary:Ue.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ae.colorGreen200),contentGlobalPrimary:Ue.extend("--ft-content-global-primary","Used for main content on the page.",Ae.colorGray500),contentGlobalSecondary:Ue.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ae.colorGray200),contentGlobalSubtle:Ue.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ae.colorGray0),contentGlobalOnColor:Ue.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ae.colorWhite),borderActionPrimary:Ue.extend("--ft-border-action-primary","Used as border for primary action components.",Ae.colorBrand0),borderActionFocusRing:Ue.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ae.colorCyan0),borderWarningPrimary:Ue.extend("--ft-border-warning-primary","Used as border for warning components.",Ae.colorOrange30),borderSuccessPrimary:Ue.extend("--ft-border-success-primary","Used as border for success components.",Ae.colorGreen30),borderErrorPrimary:Ue.extend("--ft-border-error-primary","Used as border for error components.",Ae.colorRed30),borderInfoPrimary:Ue.extend("--ft-border-info-primary","Used as border for information components.",Ae.colorCyan30),borderGlobalSubtle:Ue.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ae.colorGray30),borderGlobalPrimary:Ue.extend("--ft-border-global-primary","Used as border for element like input.",Ae.colorGray50),borderInputPrimary:Ue.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ae.colorGray80)},ze={largeHeight:Ue.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ue.extend("--ft-button-large-horizontal-padding","",Ae.spacing4),largeGap:Ue.extend("--ft-button-large-gap","",Ae.spacing2),largeBorderRadius:Ue.extend("--ft-button-large-border-radius","",Ae.borderRadiusS),largeIconSize:Ue.extend("--ft-button-large-icon-size","",Ae.iconSize3),largeBorderWidth:Ue.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ue.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ue.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ue.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ue.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ue.extend("--ft-button-small-horizontal-padding","",Ae.spacing3),smallGap:Ue.extend("--ft-button-small-gap","",Ae.spacing2),smallBorderRadius:Ue.extend("--ft-button-small-border-radius","",Ae.borderRadiusS),smallIconSize:Ue.extend("--ft-button-small-icon-size","",Ae.iconSize2),smallBorderWidth:Ue.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ue.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ue.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ue.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ue.extend("--ft-button-primary-background-color","",je.backgroundActionPrimary),primaryColor:Ue.extend("--ft-button-primary-color","",je.contentGlobalOnColor),primaryIconColor:Ue.extend("--ft-button-primary-icon-color","",je.contentGlobalOnColor),primaryStateLayerColor:Ue.extend("--ft-button-primary-state-layer-color","",je.contentGlobalOnColor),primaryStateLayerOpacityHover:Ue.extend("--ft-button-primary-state-layer-opacity-hover","",Ae.opacity16),primaryStateLayerOpacityFocus:Ue.extend("--ft-button-primary-state-layer-opacity-focus","",Ae.opacity16),primaryStateLayerOpacityActive:Ue.extend("--ft-button-primary-state-layer-opacity-active","",Ae.opacity24),primaryComponentOpacityDisabled:Ue.extend("--ft-button-primary-component-opacity-disabled","",Ae.opacity40),focusFocusRingColor:Ue.extend("--ft-button-focus-focus-ring-color","",je.borderActionFocusRing),tertiaryBackgroundColor:Ue.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ue.extend("--ft-button-tertiary-color","",je.contentActionPrimary),tertiaryIconColor:Ue.extend("--ft-button-tertiary-icon-color","",je.contentActionPrimary),tertiaryStateLayerColor:Ue.extend("--ft-button-tertiary-state-layer-color","",je.contentActionPrimary),tertiaryStateLayerOpacityHover:Ue.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ae.opacity8),tertiaryStateLayerOpacityFocus:Ue.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ae.opacity8),tertiaryStateLayerOpacityActive:Ue.extend("--ft-button-tertiary-state-layer-opacity-active","",Ae.opacity16),tertiaryComponentOpacityDisabled:Ue.extend("--ft-button-tertiary-component-opacity-disabled","",Ae.opacity40),secondaryBackgroundColor:Ue.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ue.extend("--ft-button-secondary-color","",je.contentActionPrimary),secondaryIconColor:Ue.extend("--ft-button-secondary-icon-color","",je.contentActionPrimary),secondaryStateLayerColor:Ue.extend("--ft-button-secondary-state-layer-color","",je.contentActionPrimary),secondaryStateLayerOpacityHover:Ue.extend("--ft-button-secondary-state-layer-opacity-hover","",Ae.opacity8),secondaryStateLayerOpacityFocus:Ue.extend("--ft-button-secondary-state-layer-opacity-focus","",Ae.opacity8),secondaryStateLayerOpacityActive:Ue.extend("--ft-button-secondary-state-layer-opacity-active","",Ae.opacity16),secondaryComponentOpacityDisabled:Ue.extend("--ft-button-secondary-component-opacity-disabled","",Ae.opacity40),secondaryBorderColor:Ue.extend("--ft-button-secondary-border-color","",je.borderActionPrimary),neutralBackgroundColor:Ue.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ue.extend("--ft-button-neutral-icon-color","",je.contentGlobalSecondary),neutralColor:Ue.extend("--ft-button-neutral-color","",je.contentGlobalSecondary),neutralStateLayerColor:Ue.extend("--ft-button-neutral-state-layer-color","",je.contentGlobalSecondary),neutralStateLayerOpacityHover:Ue.extend("--ft-button-neutral-state-layer-opacity-hover","",Ae.opacity8),neutralStateLayerOpacityFocus:Ue.extend("--ft-button-neutral-state-layer-opacity-focus","",Ae.opacity8),neutralStateLayerOpacityActive:Ue.extend("--ft-button-neutral-state-layer-opacity-active","",Ae.opacity16),neutralComponentOpacityDisabled:Ue.extend("--ft-button-neutral-component-opacity-disabled","",Ae.opacity40)};Ue.extend("--ft-tabs-top-left-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-tabs-top-right-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-tabs-label-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-tabs-label-vertical-padding","",Ae.spacing3),Ue.extend("--ft-tabs-label-gap","",Ae.spacing1),Ue.extend("--ft-switch-group-horizontal-padding","",Ae.spacing1),Ue.extend("--ft-switch-group-vertical-padding","",Ae.spacing1),Ue.extend("--ft-switch-group-gap","",Ae.spacing1),Ue.extend("--ft-switch-group-background-color","",je.backgroundGlobalSurface),Ue.extend("--ft-switch-group-border-color","",je.borderGlobalSubtle),Ue.create("--ft-switch-group-border-radius","","SIZE","6px"),Ue.extend("--ft-switch-label-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-switch-label-vertical-padding","",Ae.spacing1),Ue.extend("--ft-switch-icon-horizontal-padding","",Ae.spacing1),Ue.extend("--ft-switch-icon-vertical-padding","",Ae.spacing1),Ue.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-switch-focus-focus-ring-color","",je.borderActionFocusRing),Ue.extend("--ft-switch-option-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-switch-off-state-layer-opacity-hover","",Ae.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-focus","",Ae.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-active","",Ae.opacity16),Ue.extend("--ft-switch-off-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-switch-off-color","",je.contentGlobalSubtle),Ue.extend("--ft-switch-off-state-layer-color","",je.contentGlobalSubtle),Ue.extend("--ft-chart-1-light","for area color charts",Ae.colorBrand40),Ue.extend("--ft-chart-1-base","for line charts",Ae.colorBrand0),Ue.extend("--ft-chart-2-light","for area color charts",Ae.colorYellow60),Ue.extend("--ft-chart-2-base","for line charts",Ae.colorYellow100),Ue.extend("--ft-chart-3-light","",Ae.colorUltramarine40),Ue.extend("--ft-chart-3-base","",Ae.colorUltramarine70),Ue.extend("--ft-chart-4-light","",Ae.colorCyan50),Ue.extend("--ft-chart-4-base","",Ae.colorCyan100),Ue.extend("--ft-chart-5-light","",Ae.colorRed40),Ue.extend("--ft-chart-5-base","",Ae.colorRed60),Ue.extend("--ft-chart-6-light","",Ae.colorGreen40),Ue.extend("--ft-chart-6-base","",Ae.colorGreen70),Ue.extend("--ft-chart-7-light","",Ae.colorOrange70),Ue.extend("--ft-chart-7-base","",Ae.colorOrange100),Ue.extend("--ft-chart-8-light","",Ae.colorAvocado70),Ue.extend("--ft-chart-8-base","",Ae.colorAvocado200),Ue.extend("--ft-chart-9-light","",Ae.colorBrown50),Ue.extend("--ft-chart-9-base","",Ae.colorBrown200),Ue.extend("--ft-chart-10-light","",Ae.colorGray50),Ue.extend("--ft-chart-10-base","",Ae.colorGray80),Ue.extend("--ft-chart-monochrome-10","",Ae.colorBrand10),Ue.extend("--ft-chart-monochrome-20","",Ae.colorBrand20),Ue.extend("--ft-chart-monochrome-30","",Ae.colorBrand40),Ue.extend("--ft-chart-monochrome-40","",Ae.colorBrand60),Ue.extend("--ft-chart-monochrome-50","",Ae.colorBrand0),Ue.extend("--ft-chart-monochrome-60","",Ae.colorBrand200),Ue.extend("--ft-chip-large-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-chip-large-vertical-padding","",Ae.spacing2),Ue.extend("--ft-chip-large-gap","",Ae.spacing1),Ue.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-large-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-large-border-width","","SIZE","1px"),Ue.extend("--ft-chip-large-icon-size","",Ae.iconSize3),Ue.extend("--ft-chip-medium-horizontal-padding","",Ae.spacing3),Ue.extend("--ft-chip-medium-vertical-padding","",Ae.spacing1),Ue.extend("--ft-chip-medium-gap","",Ae.spacing1),Ue.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-medium-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-medium-border-width","","SIZE","1px"),Ue.extend("--ft-chip-medium-icon-size","",Ae.iconSize2),Ue.extend("--ft-chip-small-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-chip-small-vertical-padding","",Ae.spacing05),Ue.extend("--ft-chip-small-gap","",Ae.spacing1),Ue.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ue.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-chip-small-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-chip-small-border-width","","SIZE","1px"),Ue.extend("--ft-chip-small-icon-size","",Ae.iconSize1),Ue.extend("--ft-chip-neutral-background-color","",je.backgroundGlobalOnSurface),Ue.extend("--ft-chip-neutral-color","",je.contentGlobalPrimary),Ue.extend("--ft-chip-neutral-border-color","",je.borderGlobalSubtle),Ue.extend("--ft-chip-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-chip-info-color","",je.contentInfoPrimary),Ue.extend("--ft-chip-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-chip-success-background-color","",je.backgroundSuccessSubtle),Ue.extend("--ft-chip-success-color","",je.contentSuccessPrimary),Ue.extend("--ft-chip-success-border-color","",je.borderSuccessPrimary),Ue.extend("--ft-chip-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-chip-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-chip-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-chip-error-background-color","",je.backgroundErrorSubtle),Ue.extend("--ft-chip-error-color","",je.contentErrorPrimary),Ue.extend("--ft-chip-error-border-color","",je.borderErrorPrimary),Ue.create("--ft-notice-border-width","","SIZE","1px"),Ue.extend("--ft-notice-horizontal-padding","",Ae.spacing2),Ue.extend("--ft-notice-vertical-padding","",Ae.spacing1),Ue.extend("--ft-notice-border-radius","",Ae.borderRadiusS),Ue.extend("--ft-notice-gap","",Ae.spacing2),Ue.extend("--ft-notice-icon-size","",Ae.iconSize3),Ue.extend("--ft-notice-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-notice-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-notice-info-color","",je.contentInfoPrimary),Ue.extend("--ft-notice-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-notice-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-notice-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-checkbox-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-checkbox-checked-background-color","",je.contentActionPrimary),Ue.extend("--ft-checkbox-checked-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-checkbox-checked-color","",je.contentGlobalOnColor),Ue.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-checkbox-checked-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-checkbox-unchecked-border-color","",Ae.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-color","",Ae.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-checkbox-focus-focus-ring-color","",je.borderActionFocusRing),Ue.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-checkbox-gap","",Ae.spacing3),Ue.extend("--ft-toggle-off-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-toggle-off-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-toggle-off-background-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-off-icon-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-off-state-layer-color","",je.contentGlobalSubtle),Ue.extend("--ft-toggle-on-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-toggle-on-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-toggle-on-background-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-on-icon-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-on-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-toggle-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-toggle-focus-focus-ring-color","",je.borderActionFocusRing),Ue.extend("--ft-toggle-gap","",Ae.spacing3),Ue.extend("--ft-radio-label-color","",je.contentGlobalPrimary),Ue.extend("--ft-radio-selected-color","",je.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-color","",je.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-radio-selected-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-radio-unselected-state-layer-color","",Ae.colorGray80),Ue.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ae.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ae.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-active","",Ae.opacity24),Ue.extend("--ft-radio-unselected-component-opacity-disabled","",Ae.opacity40),Ue.extend("--ft-radio-focus-focus-ring-color","",je.borderActionFocusRing),Ue.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-radio-gap","",Ae.spacing3),Ue.extend("--ft-notification-icon-size","",Ae.iconSize4),Ue.extend("--ft-notification-horizontal-padding","",Ae.spacing4),Ue.extend("--ft-notification-vertical-padding","",Ae.spacing4),Ue.extend("--ft-notification-info-background-color","",je.backgroundInfoSubtle),Ue.extend("--ft-notification-info-color","",je.contentInfoPrimary),Ue.extend("--ft-notification-info-border-color","",je.borderInfoPrimary),Ue.extend("--ft-notification-success-background-color","",je.backgroundSuccessSubtle),Ue.extend("--ft-notification-success-color","",je.contentSuccessPrimary),Ue.extend("--ft-notification-success-border-color","",je.borderSuccessPrimary),Ue.extend("--ft-notification-warning-background-color","",je.backgroundWarningSubtle),Ue.extend("--ft-notification-warning-color","",je.contentWarningPrimary),Ue.extend("--ft-notification-warning-border-color","",je.borderWarningPrimary),Ue.extend("--ft-notification-error-background-color","",je.backgroundErrorSubtle),Ue.extend("--ft-notification-error-color","",je.contentErrorPrimary),Ue.extend("--ft-notification-error-border-color","",je.borderErrorPrimary),Ue.extend("--ft-notification-border-radius","",Ae.borderRadiusPill),Ue.create("--ft-notification-border-width","","SIZE","1px"),Ue.extend("--ft-notification-gap-leading","",Ae.spacing2),Ue.extend("--ft-notification-gap-trailing","",Ae.spacing8);const De={colorPrimary:Ue.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ue.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ue.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ue.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ue.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ue.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ue.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ue.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ue.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ue.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ue.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ue.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ue.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ue.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ue.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ue.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ue.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ue.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ue.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ue.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ue.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ue.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ue.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ue.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ue.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ue.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ue.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ue.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ue.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ue.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ue.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ue.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ue.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ue.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ue.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ue.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ue.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ue.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ue.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ue.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ue.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ue.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ue.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ue.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.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:Ue.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ue.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ue.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ue.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ue.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ue.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ue.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ue.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Fe=window,Be=Fe.ShadowRoot&&(void 0===Fe.ShadyCSS||Fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */class Pe extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Be?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=De.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Te,Me=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Ke=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),_e=Symbol("exportpartsDebouncer");class He extends Pe{constructor(){super(),this[Te]=new n(5),this[Ze]=this.constructor.name,this[Ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Ke])}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[_e].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,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Te=_e,Me([R()],He.prototype,"exportpartsPrefix",void 0),Me([P([])],He.prototype,"exportpartsPrefixes",void 0),Me([R()],He.prototype,"customStylesheet",void 0);const Ge=Ue.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ut`
89
+ */class Pe extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Be?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Fe.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Te,Me=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Ke=Symbol("constructorPrototype"),Ze=Symbol("constructorName"),_e=Symbol("exportpartsDebouncer");class He extends Pe{constructor(){super(),this[Te]=new n(5),this[Ze]=this.constructor.name,this[Ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ze]&&Object.setPrototypeOf(this,this[Ke])}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[_e].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,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Te=_e,Me([R()],He.prototype,"exportpartsPrefix",void 0),Me([P([])],He.prototype,"exportpartsPrefixes",void 0),Me([R()],He.prototype,"customStylesheet",void 0);const Ge=Ue.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ut`
90
90
  .highlight-html-match {
91
91
  background: ${Ge};
92
92
  }
@@ -122,7 +122,7 @@ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
122
122
  display: inline-block;
123
123
  width: 0;
124
124
  }
125
- `;class Ye{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Xe=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!D(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Je{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Qe(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var to,eo,oo;const io=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),no=Symbol("internalStores");class so extends He{constructor(){super(...arguments),this[to]=new Map,this[eo]=new Map,this[oo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[no].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[no].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[no].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Qe(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[no].delete(e)}setupStore(t,e){this[no].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[no].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[ro].has(t.store):this[ro].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ro].set(t,e.subscribe((()=>this.updateFromStores()))),Qe(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[io].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ro].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[io].forEach((t=>t())),this[io]=[]}unsubscribeFromStore(t){this[ro].has(t)&&this[ro].get(t)(),this[ro].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ao(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lo(t){return!!t&&!!t[qo]}function co(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Yo}(t)||Array.isArray(t)||!!t[Vo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Vo])||go(t)||bo(t))}function ho(t,e,o){void 0===o&&(o=!1),0===fo(t)?(o?Object.keys:Xo)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function fo(t){var e=t[qo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:go(t)?2:bo(t)?3:0}function po(t,e){return 2===fo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function uo(t,e,o){var i=fo(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function yo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function go(t){return Zo&&t instanceof Map}function bo(t){return _o&&t instanceof Set}function vo(t){return t.o||t.t}function mo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Jo(t);delete e[qo];for(var o=Xo(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function xo(t,e){return void 0===e&&(e=!1),wo(t)||lo(t)||!co(t)||(fo(t)>1&&(t.set=t.add=t.clear=t.delete=Oo),Object.freeze(t),e&&ho(t,(function(t,e){return xo(e,!0)}),!0)),t}function Oo(){ao(2)}function wo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function So(t){var e=Qo[t];return e||ao(18,t),e}function No(){return Mo}function $o(t,e){e&&(So("Patches"),t.u=[],t.s=[],t.v=e)}function Co(t){Eo(t),t.p.forEach(Ro),t.p=null}function Eo(t){t===Mo&&(Mo=t.l)}function ko(t){return Mo={p:[],l:Mo,h:t,m:!0,_:0}}function Ro(t){var e=t[qo];0===e.i||1===e.i?e.j():e.g=!0}function Io(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||So("ES5").S(e,t,i),i?(o[qo].P&&(Co(e),ao(4)),co(t)&&(t=Uo(e,t),e.l||Ao(e,t)),e.u&&So("Patches").M(o[qo].t,t,e.u,e.s)):t=Uo(e,o,[]),Co(e),e.u&&e.v(e.u,e.s),t!==Go?t:void 0}function Uo(t,e,o){if(wo(e))return e;var i=e[qo];if(!i)return ho(e,(function(r,n){return Lo(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ao(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=mo(i.k):i.o,n=r,s=!1;3===i.i&&(n=new Set(r),r.clear(),s=!0),ho(n,(function(e,n){return Lo(t,i,r,e,n,o,s)})),Ao(t,r,!1),o&&t.u&&So("Patches").N(i,o,t.u,t.s)}return i.o}function Lo(t,e,o,i,r,n,s){if(lo(r)){var a=Uo(t,r,n&&e&&3!==e.i&&!po(e.R,i)?n.concat(i):void 0);if(uo(o,i,a),!lo(a))return;t.m=!1}else s&&o.add(r);if(co(r)&&!wo(r)){if(!t.h.D&&t._<1)return;Uo(t,r),e&&e.A.l||Ao(t,r)}}function Ao(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&xo(e,o)}function Wo(t,e){var o=t[qo];return(o?vo(o):t)[e]}function jo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function zo(t){t.P||(t.P=!0,t.l&&zo(t.l))}function Fo(t){t.o||(t.o=mo(t.t))}function Do(t,e,o){var i=go(e)?So("MapSet").F(e,o):bo(e)?So("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:No(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=ti;o&&(r=[i],n=ei);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return i.k=l,i.j=a,l}(e,o):So("ES5").J(e,o);return(o?o.A:No()).p.push(i),i}function Bo(t){return lo(t)||ao(22,t),function t(e){if(!co(e))return e;var o,i=e[qo],r=fo(e);if(i){if(!i.P&&(i.i<4||!So("ES5").K(i)))return i.t;i.I=!0,o=Po(e,r),i.I=!1}else o=Po(e,r);return ho(o,(function(e,r){i&&function(t,e){return 2===fo(t)?t.get(e):t[e]}(i.t,e)===r||uo(o,e,t(r))})),3===r?new Set(o):o}(t)}function Po(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return mo(t)}to=ro,eo=no,oo=io,so.reduxProperties=new Map,so.reduxReactiveProperties=new Set,so.reduxEventListeners=new Map;var To,Mo,Ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Zo="undefined"!=typeof Map,_o="undefined"!=typeof Set,Ho="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Go=Ko?Symbol.for("immer-nothing"):((To={})["immer-nothing"]=!0,To),Vo=Ko?Symbol.for("immer-draftable"):"__$immer_draftable",qo=Ko?Symbol.for("immer-state"):"__$immer_state",Yo=""+Object.prototype.constructor,Xo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Jo=Object.getOwnPropertyDescriptors||function(t){var e={};return Xo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Qo={},ti={get:function(t,e){if(e===qo)return t;var o=vo(t);if(!po(o,e))return function(t,e,o){var i,r=jo(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!co(i)?i:i===Wo(t.t,e)?(Fo(t),t.o[e]=Do(t.A.h,i,t)):i},has:function(t,e){return e in vo(t)},ownKeys:function(t){return Reflect.ownKeys(vo(t))},set:function(t,e,o){var i=jo(vo(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Wo(vo(t),e),n=null==r?void 0:r[qo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yo(o,r)&&(void 0!==o||po(t.t,e)))return!0;Fo(t),zo(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Wo(t.t,e)||e in t.t?(t.R[e]=!1,Fo(t),zo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=vo(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){ao(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ao(12)}},ei={};ho(ti,(function(t,e){ei[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ei.deleteProperty=function(t,e){return ei.set.call(this,t,e,void 0)},ei.set=function(t,e,o){return ti.set.call(this,t[0],e,o,t[0])};var oi=function(){function t(t){var e=this;this.O=Ho,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof o&&ao(6),void 0!==i&&"function"!=typeof i&&ao(7),co(t)){var a=ko(e),l=Do(e,t,void 0),c=!0;try{s=o(l),c=!1}finally{c?Co(a):Eo(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return $o(a,i),Io(t,a)}),(function(t){throw Co(a),t})):($o(a,i),Io(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=o(t))&&(s=t),s===Go&&(s=void 0),e.D&&xo(s,!0),i){var h=[],f=[];So("Patches").M(t,s,h,f),i(h,f)}return s}ao(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){co(t)||ao(8),lo(t)&&(t=Bo(t));var e=ko(this),o=Do(this,t,void 0);return o[qo].C=!0,Eo(e),o},e.finishDraft=function(t,e){var o=(t&&t[qo]).A;return $o(o,e),Io(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ho&&ao(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=So("Patches").$;return lo(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),ii=new oi,ri=ii.produce;function ni(t){return ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ni(t)}function si(t){var e=function(t,e){if("object"!==ni(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ni(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ni(e)?e:String(e)}function ai(t,e,o){return(e=si(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function li(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ci(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?li(Object(o),!0).forEach((function(e){ai(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):li(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function hi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ii.produceWithPatches.bind(ii),ii.setAutoFreeze.bind(ii),ii.setUseProxies.bind(ii),ii.applyPatches.bind(ii),ii.createDraft.bind(ii),ii.finishDraft.bind(ii);var fi="function"==typeof Symbol&&Symbol.observable||"@@observable",pi=function(){return Math.random().toString(36).substring(7).split("").join(".")},ui={INIT:"@@redux/INIT"+pi(),REPLACE:"@@redux/REPLACE"+pi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pi()}};function di(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(hi(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(hi(1));return o(di)(t,e)}if("function"!=typeof t)throw new Error(hi(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(hi(3));return n}function f(t){if("function"!=typeof t)throw new Error(hi(4));if(l)throw new Error(hi(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(hi(6));e=!1,c();var o=a.indexOf(t);a.splice(o,1),s=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(hi(7));if(void 0===t.type)throw new Error(hi(8));if(l)throw new Error(hi(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ui.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(hi(10));r=t,p({type:ui.REPLACE})}})[fi]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(hi(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[fi]=function(){return this},t},i}function yi(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,s=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ui.INIT}))throw new Error(hi(12));if(void 0===o(void 0,{type:ui.PROBE_UNKNOWN_ACTION()}))throw new Error(hi(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},a=0;a<s.length;a++){var l=s[a],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(hi(14));r[l]=f,i=i||f!==h}return(i=i||s.length!==Object.keys(t).length)?r:t}}function gi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function bi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(hi(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=gi.apply(void 0,n)(o.dispatch),ci(ci({},o),{},{dispatch:i})}}}function vi(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var mi=vi();mi.withExtraArgument=vi;var xi,Oi=mi,wi=(xi=function(t,e){return xi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},xi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}xi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Si=function(t,e){var o,i,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,i=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},Ni=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},$i=Object.defineProperty,Ci=Object.defineProperties,Ei=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ui=function(t,e,o){return e in t?$i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Li=function(t,e){for(var o in e||(e={}))Ri.call(e,o)&&Ui(t,o,e[o]);if(ki)for(var i=0,r=ki(e);i<r.length;i++){o=r[i];Ii.call(e,o)&&Ui(t,o,e[o])}return t},Ai=function(t,e){return Ci(t,Ei(e))},Wi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?gi:gi.apply(null,arguments)};var ji=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ni([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ni([void 0],t.concat(this))))},e}(Array),zi=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ni([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ni([void 0],t.concat(this))))},e}(Array);function Fi(t){return co(t)?ri(t,(function(){})):t}function Di(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new ji;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Oi.withExtraArgument(o.extraArgument)):i.push(Oi));return i}(t)}}function Bi(t){var e,o=Di(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,s=i.middleware,a=void 0===s?o():s,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=yi(n)}var d=a;"function"==typeof d&&(d=d(o));var y=bi.apply(void 0,d),g=gi;c&&(g=Wi(Li({trace:!1},"object"==typeof c&&c)));var b=new zi(y),v=b;return Array.isArray(u)?v=Ni([y],u):"function"==typeof u&&(v=u(b)),di(e,f,g.apply(void 0,v))}function Pi(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Li(Li({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ti(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Mi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Fi(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Ti(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Li(Li({},r),a);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Ti(e):[e,o,i],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Fi(t())};else{var c=Fi(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Ni([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(lo(t))return void 0===(i=o(t,e))?t:i;if(co(t))return ri(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=s;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,s[t]=o,a[c]=o,l[t]=i?Pi(c,i):Pi(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:s,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ki=["name","message","stack","code"],Zi=function(t,e){this.payload=t,this.meta=e},_i=function(t,e){this.payload=t,this.meta=e},Hi=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ki;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Gi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Pi(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ai(Li({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Pi(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ai(Li({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Pi(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Hi)(t||"Rejected"),meta:Ai(Li({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new s;function u(t){h=t,p.abort()}var d=function(){return s=this,d=null,y=function(){var s,d,y,g,b,v;return Si(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),g=null==(s=null==o?void 0:o.condition)?void 0:s.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=m.sent(),m.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Zi(t,e)},fulfillWithValue:function(t,e){return new _i(t,e)}})).then((function(e){if(e instanceof Zi)throw e;return e instanceof _i?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof Zi?n(null,f,t,v.payload,v.meta):n(v,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||a(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(s,d)).next())}));var s,d,y}();return Object.assign(d,{abort:u,requestId:f,arg:t,unwrap:function(){return d.then(Gi)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Vi="listenerMiddleware";Pi(Vi+"/add"),Pi(Vi+"/removeAll"),Pi(Vi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[qo];return ti.get(e,t)},set:function(e){var o=this[qo];ti.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][qo];if(!r.P)switch(r.i){case 5:i(r)&&zo(r);break;case 4:o(r)&&zo(r)}}}function o(t){for(var e=t.t,o=t.k,i=Xo(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==qo){var s=e[n];if(void 0===s&&!po(e,n))return!0;var a=o[n],l=a&&a[qo];if(l?l.t!==s:!yo(a,s))return!0}}var c=!!e[qo];return i.length!==Xo(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Qo[t]||(Qo[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Jo(o);delete n[qo];for(var s=Xo(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:No(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,qo,{value:n,writable:!0}),r},S:function(t,o,r){r?lo(o)&&o[qo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[qo];if(o){var r=o.t,n=o.k,s=o.R,a=o.i;if(4===a)ho(n,(function(e){e!==qo&&(void 0!==r[e]||po(r,e)?s[e]||t(n[e]):(s[e]=!0,zo(o)))})),ho(r,(function(t){void 0!==n[t]||po(n,t)||(s[t]=!1,zo(o))}));else if(5===a){if(i(o)&&(zo(o),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qi{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Qe(r))return r;if(null==i)return;const n=Mi({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),s=Bi({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new qi(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Je,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Yi=Symbol("elementInternals");var Xi,Ji,Qi;const tr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qi=null===(Ji=null===(Xi=window.safari)||void 0===Xi?void 0:Xi.pushNotification)||void 0===Ji?void 0:Ji.toString())&&void 0!==Qi?Qi:""),er=1,or=2,ir=t=>(...e)=>({_$litDirective$:t,values:e});
125
+ `;class Ye{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Xe=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!F(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Je{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Qe(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var to,eo,oo;const io=Symbol("internalReduxEventsUnsubscribers"),ro=Symbol("internalStoresUnsubscribers"),no=Symbol("internalStores");class so extends He{constructor(){super(...arguments),this[to]=new Map,this[eo]=new Map,this[oo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[no].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[no].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[no].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Qe(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[no].delete(e)}setupStore(t,e){this[no].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[no].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[ro].has(t.store):this[ro].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ro].set(t,e.subscribe((()=>this.updateFromStores()))),Qe(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[io].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ro].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[io].forEach((t=>t())),this[io]=[]}unsubscribeFromStore(t){this[ro].has(t)&&this[ro].get(t)(),this[ro].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ao(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lo(t){return!!t&&!!t[qo]}function co(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Yo}(t)||Array.isArray(t)||!!t[Vo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Vo])||go(t)||bo(t))}function ho(t,e,o){void 0===o&&(o=!1),0===fo(t)?(o?Object.keys:Xo)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function fo(t){var e=t[qo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:go(t)?2:bo(t)?3:0}function po(t,e){return 2===fo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function uo(t,e,o){var i=fo(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function yo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function go(t){return Zo&&t instanceof Map}function bo(t){return _o&&t instanceof Set}function vo(t){return t.o||t.t}function mo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Jo(t);delete e[qo];for(var o=Xo(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function xo(t,e){return void 0===e&&(e=!1),wo(t)||lo(t)||!co(t)||(fo(t)>1&&(t.set=t.add=t.clear=t.delete=Oo),Object.freeze(t),e&&ho(t,(function(t,e){return xo(e,!0)}),!0)),t}function Oo(){ao(2)}function wo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function So(t){var e=Qo[t];return e||ao(18,t),e}function No(){return Mo}function $o(t,e){e&&(So("Patches"),t.u=[],t.s=[],t.v=e)}function Co(t){Eo(t),t.p.forEach(Ro),t.p=null}function Eo(t){t===Mo&&(Mo=t.l)}function ko(t){return Mo={p:[],l:Mo,h:t,m:!0,_:0}}function Ro(t){var e=t[qo];0===e.i||1===e.i?e.j():e.g=!0}function Io(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||So("ES5").S(e,t,i),i?(o[qo].P&&(Co(e),ao(4)),co(t)&&(t=Uo(e,t),e.l||Ao(e,t)),e.u&&So("Patches").M(o[qo].t,t,e.u,e.s)):t=Uo(e,o,[]),Co(e),e.u&&e.v(e.u,e.s),t!==Go?t:void 0}function Uo(t,e,o){if(wo(e))return e;var i=e[qo];if(!i)return ho(e,(function(r,n){return Lo(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ao(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=mo(i.k):i.o,n=r,s=!1;3===i.i&&(n=new Set(r),r.clear(),s=!0),ho(n,(function(e,n){return Lo(t,i,r,e,n,o,s)})),Ao(t,r,!1),o&&t.u&&So("Patches").N(i,o,t.u,t.s)}return i.o}function Lo(t,e,o,i,r,n,s){if(lo(r)){var a=Uo(t,r,n&&e&&3!==e.i&&!po(e.R,i)?n.concat(i):void 0);if(uo(o,i,a),!lo(a))return;t.m=!1}else s&&o.add(r);if(co(r)&&!wo(r)){if(!t.h.D&&t._<1)return;Uo(t,r),e&&e.A.l||Ao(t,r)}}function Ao(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&xo(e,o)}function Wo(t,e){var o=t[qo];return(o?vo(o):t)[e]}function jo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function zo(t){t.P||(t.P=!0,t.l&&zo(t.l))}function Do(t){t.o||(t.o=mo(t.t))}function Fo(t,e,o){var i=go(e)?So("MapSet").F(e,o):bo(e)?So("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:No(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=ti;o&&(r=[i],n=ei);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return i.k=l,i.j=a,l}(e,o):So("ES5").J(e,o);return(o?o.A:No()).p.push(i),i}function Bo(t){return lo(t)||ao(22,t),function t(e){if(!co(e))return e;var o,i=e[qo],r=fo(e);if(i){if(!i.P&&(i.i<4||!So("ES5").K(i)))return i.t;i.I=!0,o=Po(e,r),i.I=!1}else o=Po(e,r);return ho(o,(function(e,r){i&&function(t,e){return 2===fo(t)?t.get(e):t[e]}(i.t,e)===r||uo(o,e,t(r))})),3===r?new Set(o):o}(t)}function Po(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return mo(t)}to=ro,eo=no,oo=io,so.reduxProperties=new Map,so.reduxReactiveProperties=new Set,so.reduxEventListeners=new Map;var To,Mo,Ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Zo="undefined"!=typeof Map,_o="undefined"!=typeof Set,Ho="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Go=Ko?Symbol.for("immer-nothing"):((To={})["immer-nothing"]=!0,To),Vo=Ko?Symbol.for("immer-draftable"):"__$immer_draftable",qo=Ko?Symbol.for("immer-state"):"__$immer_state",Yo=""+Object.prototype.constructor,Xo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Jo=Object.getOwnPropertyDescriptors||function(t){var e={};return Xo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Qo={},ti={get:function(t,e){if(e===qo)return t;var o=vo(t);if(!po(o,e))return function(t,e,o){var i,r=jo(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!co(i)?i:i===Wo(t.t,e)?(Do(t),t.o[e]=Fo(t.A.h,i,t)):i},has:function(t,e){return e in vo(t)},ownKeys:function(t){return Reflect.ownKeys(vo(t))},set:function(t,e,o){var i=jo(vo(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Wo(vo(t),e),n=null==r?void 0:r[qo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yo(o,r)&&(void 0!==o||po(t.t,e)))return!0;Do(t),zo(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Wo(t.t,e)||e in t.t?(t.R[e]=!1,Do(t),zo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=vo(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){ao(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ao(12)}},ei={};ho(ti,(function(t,e){ei[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ei.deleteProperty=function(t,e){return ei.set.call(this,t,e,void 0)},ei.set=function(t,e,o){return ti.set.call(this,t[0],e,o,t[0])};var oi=function(){function t(t){var e=this;this.O=Ho,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof o&&ao(6),void 0!==i&&"function"!=typeof i&&ao(7),co(t)){var a=ko(e),l=Fo(e,t,void 0),c=!0;try{s=o(l),c=!1}finally{c?Co(a):Eo(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return $o(a,i),Io(t,a)}),(function(t){throw Co(a),t})):($o(a,i),Io(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=o(t))&&(s=t),s===Go&&(s=void 0),e.D&&xo(s,!0),i){var h=[],f=[];So("Patches").M(t,s,h,f),i(h,f)}return s}ao(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){co(t)||ao(8),lo(t)&&(t=Bo(t));var e=ko(this),o=Fo(this,t,void 0);return o[qo].C=!0,Eo(e),o},e.finishDraft=function(t,e){var o=(t&&t[qo]).A;return $o(o,e),Io(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ho&&ao(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=So("Patches").$;return lo(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),ii=new oi,ri=ii.produce;function ni(t){return ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ni(t)}function si(t){var e=function(t,e){if("object"!==ni(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ni(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ni(e)?e:String(e)}function ai(t,e,o){return(e=si(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function li(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ci(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?li(Object(o),!0).forEach((function(e){ai(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):li(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function hi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ii.produceWithPatches.bind(ii),ii.setAutoFreeze.bind(ii),ii.setUseProxies.bind(ii),ii.applyPatches.bind(ii),ii.createDraft.bind(ii),ii.finishDraft.bind(ii);var fi="function"==typeof Symbol&&Symbol.observable||"@@observable",pi=function(){return Math.random().toString(36).substring(7).split("").join(".")},ui={INIT:"@@redux/INIT"+pi(),REPLACE:"@@redux/REPLACE"+pi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pi()}};function di(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(hi(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(hi(1));return o(di)(t,e)}if("function"!=typeof t)throw new Error(hi(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(hi(3));return n}function f(t){if("function"!=typeof t)throw new Error(hi(4));if(l)throw new Error(hi(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(hi(6));e=!1,c();var o=a.indexOf(t);a.splice(o,1),s=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(hi(7));if(void 0===t.type)throw new Error(hi(8));if(l)throw new Error(hi(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ui.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(hi(10));r=t,p({type:ui.REPLACE})}})[fi]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(hi(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[fi]=function(){return this},t},i}function yi(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,s=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ui.INIT}))throw new Error(hi(12));if(void 0===o(void 0,{type:ui.PROBE_UNKNOWN_ACTION()}))throw new Error(hi(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},a=0;a<s.length;a++){var l=s[a],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(hi(14));r[l]=f,i=i||f!==h}return(i=i||s.length!==Object.keys(t).length)?r:t}}function gi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function bi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(hi(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=gi.apply(void 0,n)(o.dispatch),ci(ci({},o),{},{dispatch:i})}}}function vi(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var mi=vi();mi.withExtraArgument=vi;var xi,Oi=mi,wi=(xi=function(t,e){return xi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},xi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}xi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Si=function(t,e){var o,i,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,i=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},Ni=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},$i=Object.defineProperty,Ci=Object.defineProperties,Ei=Object.getOwnPropertyDescriptors,ki=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ui=function(t,e,o){return e in t?$i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Li=function(t,e){for(var o in e||(e={}))Ri.call(e,o)&&Ui(t,o,e[o]);if(ki)for(var i=0,r=ki(e);i<r.length;i++){o=r[i];Ii.call(e,o)&&Ui(t,o,e[o])}return t},Ai=function(t,e){return Ci(t,Ei(e))},Wi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?gi:gi.apply(null,arguments)};var ji=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ni([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ni([void 0],t.concat(this))))},e}(Array),zi=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ni([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ni([void 0],t.concat(this))))},e}(Array);function Di(t){return co(t)?ri(t,(function(){})):t}function Fi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new ji;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Oi.withExtraArgument(o.extraArgument)):i.push(Oi));return i}(t)}}function Bi(t){var e,o=Fi(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,s=i.middleware,a=void 0===s?o():s,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=yi(n)}var d=a;"function"==typeof d&&(d=d(o));var y=bi.apply(void 0,d),g=gi;c&&(g=Wi(Li({trace:!1},"object"==typeof c&&c)));var b=new zi(y),v=b;return Array.isArray(u)?v=Ni([y],u):"function"==typeof u&&(v=u(b)),di(e,f,g.apply(void 0,v))}function Pi(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Li(Li({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ti(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Mi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Di(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Ti(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Li(Li({},r),a);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Ti(e):[e,o,i],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Di(t())};else{var c=Di(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Ni([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(lo(t))return void 0===(i=o(t,e))?t:i;if(co(t))return ri(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=s;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,s[t]=o,a[c]=o,l[t]=i?Pi(c,i):Pi(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:s,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ki=["name","message","stack","code"],Zi=function(t,e){this.payload=t,this.meta=e},_i=function(t,e){this.payload=t,this.meta=e},Hi=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ki;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Gi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Pi(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ai(Li({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Pi(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ai(Li({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Pi(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Hi)(t||"Rejected"),meta:Ai(Li({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new s;function u(t){h=t,p.abort()}var d=function(){return s=this,d=null,y=function(){var s,d,y,g,b,v;return Si(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),g=null==(s=null==o?void 0:o.condition)?void 0:s.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=m.sent(),m.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Zi(t,e)},fulfillWithValue:function(t,e){return new _i(t,e)}})).then((function(e){if(e instanceof Zi)throw e;return e instanceof _i?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof Zi?n(null,f,t,v.payload,v.meta):n(v,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||a(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(s,d)).next())}));var s,d,y}();return Object.assign(d,{abort:u,requestId:f,arg:t,unwrap:function(){return d.then(Gi)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Vi="listenerMiddleware";Pi(Vi+"/add"),Pi(Vi+"/removeAll"),Pi(Vi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[qo];return ti.get(e,t)},set:function(e){var o=this[qo];ti.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][qo];if(!r.P)switch(r.i){case 5:i(r)&&zo(r);break;case 4:o(r)&&zo(r)}}}function o(t){for(var e=t.t,o=t.k,i=Xo(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==qo){var s=e[n];if(void 0===s&&!po(e,n))return!0;var a=o[n],l=a&&a[qo];if(l?l.t!==s:!yo(a,s))return!0}}var c=!!e[qo];return i.length!==Xo(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Qo[t]||(Qo[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Jo(o);delete n[qo];for(var s=Xo(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:No(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,qo,{value:n,writable:!0}),r},S:function(t,o,r){r?lo(o)&&o[qo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[qo];if(o){var r=o.t,n=o.k,s=o.R,a=o.i;if(4===a)ho(n,(function(e){e!==qo&&(void 0!==r[e]||po(r,e)?s[e]||t(n[e]):(s[e]=!0,zo(o)))})),ho(r,(function(t){void 0!==n[t]||po(n,t)||(s[t]=!1,zo(o))}));else if(5===a){if(i(o)&&(zo(o),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qi{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Qe(r))return r;if(null==i)return;const n=Mi({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),s=Bi({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new qi(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Je,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Yi=Symbol("elementInternals");var Xi,Ji,Qi;const tr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qi=null===(Ji=null===(Xi=window.safari)||void 0===Xi?void 0:Xi.pushNotification)||void 0===Ji?void 0:Ji.toString())&&void 0!==Qi?Qi:""),er=1,or=2,ir=t=>(...e)=>({_$litDirective$:t,values:e});
126
126
  /**
127
127
  * @license
128
128
  * Copyright 2017 Google LLC
@@ -147,15 +147,15 @@ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
147
147
  * @license
148
148
  * Copyright 2017 Google LLC
149
149
  * SPDX-License-Identifier: BSD-3-Clause
150
- */var gr,br,vr,mr,xr,Or,wr,Sr,Nr,$r,Cr,Er,kr,Rr;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=s(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=s(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),a(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];b.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var s=new y(t,i);if(s.signal&&s.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,o={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;r(new b(i,o))},a.onerror=function(){n(new TypeError("Network request failed"))},a.ontimeout=function(){n(new TypeError("Network request failed"))},a.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&o.blob&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",c)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(gr||(gr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(br||(br={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(vr||(vr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(mr||(mr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(xr||(xr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Or||(Or={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(wr||(wr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Sr||(Sr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Nr||(Nr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}($r||($r={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Cr||(Cr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Er||(Er={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(kr||(kr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Rr||(Rr={})),Rr.PERSONAL_BOOK_SHARE_USER,Rr.PERSONAL_BOOK_USER,Rr.HTML_EXPORT_USER,Rr.PERSONAL_BOOK_USER,Rr.PDF_EXPORT_USER,Rr.PERSONAL_BOOK_USER,Rr.KHUB_ADMIN,Rr.CONTENT_PUBLISHER,Rr.ADMIN,Rr.KHUB_ADMIN,Rr.USERS_ADMIN,Rr.PORTAL_ADMIN,Rr.DEVELOPER,Rr.BETA_USER,Rr.DEBUG_USER;const Ir=Ut`
151
- `,Ur=qi.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Lr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ur.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Lr.build(t):null!==(e=Lr.API)&&void 0!==e?e:Lr.API=Lr.build()}static await(t){return new Promise((e=>{let o=Lr.get(t);if(o)e(o);else{const i=Ur.subscribe((()=>{o=Lr.get(t),o&&(i(),e(o))}))}}))}}var Ar;const Wr=Symbol("clearAfterUnitTest");class jr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Ar]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ur.getState().uiLocale,Ur.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ur.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};D(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Ye(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},s).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>j(0).then((()=>t())).catch((()=>null)))))}}Ar=Wr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new jr((async(t,e)=>(await Lr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new jr((async(t,e)=>(await Lr.await()).getCustomMessageContext(t,e))));const zr=window.FluidTopicsI18nService,Fr=window.FluidTopicsCustomI18nService;var Dr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Br extends He{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Lr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ue`
150
+ */var gr,br,vr,mr,xr,Or,wr,Sr,Nr,$r,Cr,Er,kr,Rr,Ir,Ur,Lr,Ar;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=s(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=s(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),a(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];b.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var s=new y(t,i);if(s.signal&&s.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,o={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;r(new b(i,o))},a.onerror=function(){n(new TypeError("Network request failed"))},a.ontimeout=function(){n(new TypeError("Network request failed"))},a.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&o.blob&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",c)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(gr||(gr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(br||(br={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(vr||(vr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(mr||(mr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(xr||(xr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Or||(Or={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(wr||(wr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Sr||(Sr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Nr||(Nr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}($r||($r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Cr||(Cr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Er||(Er={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(kr||(kr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rr||(Rr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ir||(Ir={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Ur||(Ur={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Lr||(Lr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ar||(Ar={})),Lr.PERSONAL_BOOK_SHARE_USER,Lr.PERSONAL_BOOK_USER,Lr.HTML_EXPORT_USER,Lr.PERSONAL_BOOK_USER,Lr.PDF_EXPORT_USER,Lr.PERSONAL_BOOK_USER,Lr.KHUB_ADMIN,Lr.CONTENT_PUBLISHER,Lr.ADMIN,Lr.KHUB_ADMIN,Lr.USERS_ADMIN,Lr.PORTAL_ADMIN,Lr.DEVELOPER,Lr.BETA_USER,Lr.DEBUG_USER;const Wr=Ut`
151
+ `,jr=qi.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setMetadataDescriptors:(t,e)=>{t.metadataDescriptors=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataDescriptors:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class zr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=jr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?zr.build(t):null!==(e=zr.API)&&void 0!==e?e:zr.API=zr.build()}static await(t){return new Promise((e=>{let o=zr.get(t);if(o)e(o);else{const i=jr.subscribe((()=>{o=zr.get(t),o&&(i(),e(o))}))}}))}}var Dr;const Fr=Symbol("clearAfterUnitTest");class Br{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Dr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=jr.getState().uiLocale,jr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=jr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};F(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Ye(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},s).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>j(0).then((()=>t())).catch((()=>null)))))}}Dr=Fr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Br((async(t,e)=>(await zr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Br((async(t,e)=>(await zr.await()).getCustomMessageContext(t,e))));const Pr=window.FluidTopicsI18nService,Tr=window.FluidTopicsCustomI18nService;var Mr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Kr extends He{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.metadataDescriptors=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>zr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ue`
152
152
  <slot></slot>
153
- `}update(t){super.update(t),t.has("baseUrl")&&Ur.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ur.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ur.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ur.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ur.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ur.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ur.actions.setSession(this.session),t.has("availableUiLocales")&&Ur.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>zr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Br.elementDefinitions={},Br.styles=Ir,Dr([R()],Br.prototype,"baseUrl",void 0),Dr([R()],Br.prototype,"apiIntegrationIdentifier",void 0),Dr([R()],Br.prototype,"uiLocale",void 0),Dr([P([])],Br.prototype,"availableUiLocales",void 0),Dr([R({type:Boolean})],Br.prototype,"editorMode",void 0),Dr([R({type:Boolean})],Br.prototype,"noCustom",void 0),Dr([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),Dr([R({type:Boolean})],Br.prototype,"withManualResources",void 0),Dr([P([])],Br.prototype,"messageContexts",void 0),Dr([P(void 0)],Br.prototype,"session",void 0),Dr([R({type:Object})],Br.prototype,"apiProvider",void 0);class Pr{async listMySearches(){var t;return(null===(t=Ur.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Lr.await()).listMySearches(Ur.getState().session.profile.userId):[]}}const Tr=new r;class Mr{async listMyBookmarks(){return Tr.get("bookmarks",(async()=>(await Lr.await()).listMyBookmarks(Ur.getState().session.profile.userId)))}clearCache(){Tr.clear("bookmarks")}}const Kr=qi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Zr=new class{constructor(){this.currentSession=Ur.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mr,Ur.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ur.getState();D(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Kr.actions.savedSearches(void 0)}clearMyBookmarks(){Kr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Pr,e=await t.listMySearches();Kr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Kr.actions.bookmarks(e)}}};B("ft-app-context")(Br);class _r{static async build(){return new _r(await Lr.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Hr=t=>t.request.virtualField===Sr.TITLE_ONLY&&t.request.scope===kr.DOCUMENTS;class Gr extends Event{constructor(){super(Gr.eventName)}}Gr.eventName="search-context-clear-all-filters";class Vr{static build(t){return new Vr((t=>qi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:yr}))(t.trim()||"context"),_r.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return z((()=>this.service))}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Sr.TITLE_ONLY),this.store.actions.setRequestScope(kr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Sr.EVERYWHERE),this.store.actions.setRequestScope(kr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Hr(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Gr)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let e=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==e.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=i(this.service.launchSearch(e));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,r={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var qr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Yr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Xr=Symbol("registerInterval");class Jr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Xr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Xr]):this.dispatchEvent(new Yr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Xr,qr([I()],o.prototype,"stateManager",void 0),o}(so)){}
153
+ `}update(t){super.update(t),t.has("baseUrl")&&jr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&jr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&jr.actions.setUiLocale(this.uiLocale),t.has("metadataDescriptors")&&jr.actions.setMetadataDescriptors(this.metadataDescriptors),t.has("noCustom")&&jr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&jr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&jr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&jr.actions.setSession(this.session),t.has("availableUiLocales")&&jr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Pr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))),null==this.metadataDescriptors&&(this.metadataDescriptors=await this.cache.get("metadataDescriptors",(()=>t.getMetadataDescriptors()))))}}Kr.elementDefinitions={},Kr.styles=Wr,Mr([R()],Kr.prototype,"baseUrl",void 0),Mr([R()],Kr.prototype,"apiIntegrationIdentifier",void 0),Mr([R()],Kr.prototype,"uiLocale",void 0),Mr([P([])],Kr.prototype,"availableUiLocales",void 0),Mr([P([])],Kr.prototype,"metadataDescriptors",void 0),Mr([R({type:Boolean})],Kr.prototype,"editorMode",void 0),Mr([R({type:Boolean})],Kr.prototype,"noCustom",void 0),Mr([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Kr.prototype,"noCustomComponent",void 0),Mr([R({type:Boolean})],Kr.prototype,"withManualResources",void 0),Mr([P([])],Kr.prototype,"messageContexts",void 0),Mr([P(void 0)],Kr.prototype,"session",void 0),Mr([R({type:Object})],Kr.prototype,"apiProvider",void 0);class Zr{async listMySearches(){var t;return(null===(t=jr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await zr.await()).listMySearches(jr.getState().session.profile.userId):[]}}const _r=new r;class Hr{async listMyBookmarks(){return _r.get("bookmarks",(async()=>(await zr.await()).listMyBookmarks(jr.getState().session.profile.userId)))}clearCache(){_r.clear("bookmarks")}}const Gr=qi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Vr=new class{constructor(){this.currentSession=jr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Hr,jr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=jr.getState();F(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Gr.actions.savedSearches(void 0)}clearMyBookmarks(){Gr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Zr,e=await t.listMySearches();Gr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Gr.actions.bookmarks(e)}}};B("ft-app-context")(Kr);class qr{static async build(){return new qr(await zr.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Yr=t=>t.request.virtualField===Cr.TITLE_ONLY&&t.request.scope===Ur.DOCUMENTS;class Xr extends Event{constructor(){super(Xr.eventName)}}Xr.eventName="search-context-clear-all-filters";class Jr{static build(t){return new Jr((t=>qi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:yr}))(t.trim()||"context"),qr.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return z((()=>this.service))}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Cr.TITLE_ONLY),this.store.actions.setRequestScope(Ur.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Cr.EVERYWHERE),this.store.actions.setRequestScope(Ur.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Yr(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Xr)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let e=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==e.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=i(this.service.launchSearch(e));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,r={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var Qr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class tn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const en=Symbol("registerInterval");class on extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[en]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[en]):this.dispatchEvent(new tn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=en,Qr([I()],o.prototype,"stateManager",void 0),o}(so)){}
154
154
  /**
155
155
  * @license
156
156
  * Copyright 2018 Google LLC
157
157
  * SPDX-License-Identifier: BSD-3-Clause
158
- */const Qr=ir(class extends rr{constructor(t){if(super(t),t.type!==er||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return lt}}),tn=Ue.extend("--ft-ripple-color","",Fe.colorContent),en={color:tn,backgroundColor:Ue.extend("--ft-ripple-background-color","",tn),opacityContentOnSurfacePressed:Ue.external(Fe.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ue.external(Fe.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ue.external(Fe.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ue.external(Fe.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ue.create("--ft-ripple-border-radius","","SIZE","0px")},on=Ue.extend("--ft-ripple-color","",Fe.colorPrimary),rn=on,nn=Ue.extend("--ft-ripple-background-color","",on),sn=Ue.extend("--ft-ripple-color","",Fe.colorSecondary),an=sn,ln=Ue.extend("--ft-ripple-background-color","",sn),cn=Ut`
158
+ */const rn=ir(class extends rr{constructor(t){if(super(t),t.type!==er||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return lt}}),nn=Ue.extend("--ft-ripple-color","",De.colorContent),sn={color:nn,backgroundColor:Ue.extend("--ft-ripple-background-color","",nn),opacityContentOnSurfacePressed:Ue.external(De.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ue.external(De.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ue.external(De.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ue.external(De.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ue.create("--ft-ripple-border-radius","","SIZE","0px")},an=Ue.extend("--ft-ripple-color","",De.colorPrimary),ln=an,cn=Ue.extend("--ft-ripple-background-color","",an),hn=Ue.extend("--ft-ripple-color","",De.colorSecondary),fn=hn,pn=Ue.extend("--ft-ripple-background-color","",hn),un=Ut`
159
159
  :host {
160
160
  display: contents;
161
161
  }
@@ -168,7 +168,7 @@ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
168
168
 
169
169
  .ft-ripple:not(.ft-ripple--unbounded) {
170
170
  overflow: hidden;
171
- border-radius: ${en.borderRadius};
171
+ border-radius: ${sn.borderRadius};
172
172
  }
173
173
 
174
174
  .ft-ripple .ft-ripple--background,
@@ -202,27 +202,27 @@ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
202
202
  }
203
203
 
204
204
  .ft-ripple .ft-ripple--background {
205
- background-color: ${en.backgroundColor};
205
+ background-color: ${sn.backgroundColor};
206
206
  }
207
207
 
208
208
  .ft-ripple .ft-ripple--effect {
209
- background-color: ${en.color};
209
+ background-color: ${sn.color};
210
210
  }
211
211
 
212
212
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
213
- background-color: ${ln};
213
+ background-color: ${pn};
214
214
  }
215
215
 
216
216
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
217
- background-color: ${an};
217
+ background-color: ${fn};
218
218
  }
219
219
 
220
220
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
221
- background-color: ${nn};
221
+ background-color: ${cn};
222
222
  }
223
223
 
224
224
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
225
- background-color: ${rn};
225
+ background-color: ${ln};
226
226
  }
227
227
 
228
228
  .ft-ripple .ft-ripple--background {
@@ -252,134 +252,134 @@ let ke=class extends Gt{constructor(){super(...arguments),this.renderOptions={ho
252
252
  }
253
253
 
254
254
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
255
- opacity: ${en.opacityContentOnSurfaceHover};
255
+ opacity: ${sn.opacityContentOnSurfaceHover};
256
256
  }
257
257
 
258
258
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
259
- opacity: ${en.opacityContentOnSurfaceSelected};
259
+ opacity: ${sn.opacityContentOnSurfaceSelected};
260
260
  }
261
261
 
262
262
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
263
- opacity: ${en.opacityContentOnSurfaceFocused};
263
+ opacity: ${sn.opacityContentOnSurfaceFocused};
264
264
  }
265
265
 
266
266
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
267
- opacity: ${en.opacityContentOnSurfacePressed};
267
+ opacity: ${sn.opacityContentOnSurfacePressed};
268
268
  transform: translate(-50%, -50%) scale(1);
269
269
  }
270
- `;var hn=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fn extends He{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 n(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 n(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 ue`
270
+ `;var dn=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class yn extends He{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 n(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 n(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 ue`
271
271
  <style>
272
272
  .ft-ripple .ft-ripple--effect {
273
273
  left: ${this.originX}px;
274
274
  top: ${this.originY}px;
275
275
  }
276
276
  </style>
277
- <div class="${Qr(t)}">
277
+ <div class="${rn(t)}">
278
278
  <div class="ft-ripple--background"></div>
279
279
  <div class="ft-ripple--effect"></div>
280
280
  </div>
281
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}fn.elementDefinitions={},fn.styles=cn,hn([R({type:Boolean})],fn.prototype,"primary",void 0),hn([R({type:Boolean})],fn.prototype,"secondary",void 0),hn([R({type:Boolean})],fn.prototype,"unbounded",void 0),hn([R({type:Boolean})],fn.prototype,"activated",void 0),hn([R({type:Boolean})],fn.prototype,"selected",void 0),hn([R({type:Boolean})],fn.prototype,"disabled",void 0),hn([I()],fn.prototype,"hovered",void 0),hn([I()],fn.prototype,"focused",void 0),hn([I()],fn.prototype,"pressed",void 0),hn([I()],fn.prototype,"rippling",void 0),hn([I()],fn.prototype,"originX",void 0),hn([I()],fn.prototype,"originY",void 0),hn([A(".ft-ripple")],fn.prototype,"ripple",void 0),hn([A(".ft-ripple--effect")],fn.prototype,"rippleEffect",void 0),B("ft-ripple")(fn);
281
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}yn.elementDefinitions={},yn.styles=un,dn([R({type:Boolean})],yn.prototype,"primary",void 0),dn([R({type:Boolean})],yn.prototype,"secondary",void 0),dn([R({type:Boolean})],yn.prototype,"unbounded",void 0),dn([R({type:Boolean})],yn.prototype,"activated",void 0),dn([R({type:Boolean})],yn.prototype,"selected",void 0),dn([R({type:Boolean})],yn.prototype,"disabled",void 0),dn([I()],yn.prototype,"hovered",void 0),dn([I()],yn.prototype,"focused",void 0),dn([I()],yn.prototype,"pressed",void 0),dn([I()],yn.prototype,"rippling",void 0),dn([I()],yn.prototype,"originX",void 0),dn([I()],yn.prototype,"originY",void 0),dn([A(".ft-ripple")],yn.prototype,"ripple",void 0),dn([A(".ft-ripple--effect")],yn.prototype,"rippleEffect",void 0),B("ft-ripple")(yn);
282
282
  /**
283
283
  * @license
284
284
  * Copyright 2020 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const pn=Symbol.for(""),un=t=>{if(t?.r===pn)return t?._$litStatic$},dn=t=>({_$litStatic$:t,r:pn}),yn=new Map,gn=(t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=un(n));)l+=r+e[++c],h=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),h){const t=s.join("$$lit$$");void 0===(e=yn.get(t))&&(s.raw=s,yn.set(t,e=s)),o=a}return t(e,...o)})(at);var bn;!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"}(bn||(bn={}));const vn=Ue.extend("--ft-typography-font-family","",Fe.titleFont),mn=Ue.extend("--ft-typography-font-family","",Fe.contentFont),xn={fontFamily:mn,fontSize:Ue.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ue.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ue.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ue.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ue.create("--ft-typography-text-transform","","UNKNOWN","inherit")},On=Ue.extend("--ft-typography-title-font-family","",vn),wn=Ue.extend("--ft-typography-title-font-size","",xn.fontSize,"20px"),Sn=Ue.extend("--ft-typography-title-font-weight","",xn.fontWeight,"normal"),Nn=Ue.extend("--ft-typography-title-letter-spacing","",xn.letterSpacing,"0.15px"),$n=Ue.extend("--ft-typography-title-line-height","",xn.lineHeight,"1.2"),Cn=Ue.extend("--ft-typography-title-text-transform","",xn.textTransform,"inherit"),En=Ue.extend("--ft-typography-title-dense-font-family","",vn),kn=Ue.extend("--ft-typography-title-dense-font-size","",xn.fontSize,"14px"),Rn=Ue.extend("--ft-typography-title-dense-font-weight","",xn.fontWeight,"normal"),In=Ue.extend("--ft-typography-title-dense-letter-spacing","",xn.letterSpacing,"0.105px"),Un=Ue.extend("--ft-typography-title-dense-line-height","",xn.lineHeight,"1.7"),Ln=Ue.extend("--ft-typography-title-dense-text-transform","",xn.textTransform,"inherit"),An=Ue.extend("--ft-typography-subtitle1-font-family","",mn),Wn=Ue.extend("--ft-typography-subtitle1-font-size","",xn.fontSize,"16px"),jn=Ue.extend("--ft-typography-subtitle1-font-weight","",xn.fontWeight,"600"),zn=Ue.extend("--ft-typography-subtitle1-letter-spacing","",xn.letterSpacing,"0.144px"),Fn=Ue.extend("--ft-typography-subtitle1-line-height","",xn.lineHeight,"1.5"),Dn=Ue.extend("--ft-typography-subtitle1-text-transform","",xn.textTransform,"inherit"),Bn=Ue.extend("--ft-typography-subtitle2-font-family","",mn),Pn=Ue.extend("--ft-typography-subtitle2-font-size","",xn.fontSize,"14px"),Tn=Ue.extend("--ft-typography-subtitle2-font-weight","",xn.fontWeight,"normal"),Mn=Ue.extend("--ft-typography-subtitle2-letter-spacing","",xn.letterSpacing,"0.098px"),Kn=Ue.extend("--ft-typography-subtitle2-line-height","",xn.lineHeight,"1.7"),Zn=Ue.extend("--ft-typography-subtitle2-text-transform","",xn.textTransform,"inherit"),_n=Ue.extend("--ft-typography-body1-font-family","",mn),Hn=Ue.extend("--ft-typography-body1-font-size","",xn.fontSize,"16px"),Gn=Ue.extend("--ft-typography-body1-font-weight","",xn.fontWeight,"normal"),Vn=Ue.extend("--ft-typography-body1-letter-spacing","",xn.letterSpacing,"0.496px"),qn=Ue.extend("--ft-typography-body1-line-height","",xn.lineHeight,"1.5"),Yn=Ue.extend("--ft-typography-body1-text-transform","",xn.textTransform,"inherit"),Xn={fontFamily:Ue.extend("--ft-typography-body2-font-family","",mn),fontSize:Ue.extend("--ft-typography-body2-font-size","",xn.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-body2-font-weight","",xn.fontWeight,"normal"),letterSpacing:Ue.extend("--ft-typography-body2-letter-spacing","",xn.letterSpacing,"0.252px"),lineHeight:Ue.extend("--ft-typography-body2-line-height","",xn.lineHeight,"1.4"),textTransform:Ue.extend("--ft-typography-body2-text-transform","",xn.textTransform,"inherit")},Jn=Ue.extend("--ft-typography-caption-font-family","",mn),Qn=Ue.extend("--ft-typography-caption-font-size","",xn.fontSize,"12px"),ts=Ue.extend("--ft-typography-caption-font-weight","",xn.fontWeight,"normal"),es=Ue.extend("--ft-typography-caption-letter-spacing","",xn.letterSpacing,"0.396px"),os=Ue.extend("--ft-typography-caption-line-height","",xn.lineHeight,"1.33"),is=Ue.extend("--ft-typography-caption-text-transform","",xn.textTransform,"inherit"),rs=Ue.extend("--ft-typography-breadcrumb-font-family","",mn),ns=Ue.extend("--ft-typography-breadcrumb-font-size","",xn.fontSize,"10px"),ss=Ue.extend("--ft-typography-breadcrumb-font-weight","",xn.fontWeight,"normal"),as=Ue.extend("--ft-typography-breadcrumb-letter-spacing","",xn.letterSpacing,"0.33px"),ls=Ue.extend("--ft-typography-breadcrumb-line-height","",xn.lineHeight,"1.6"),cs=Ue.extend("--ft-typography-breadcrumb-text-transform","",xn.textTransform,"inherit"),hs=Ue.extend("--ft-typography-overline-font-family","",mn),fs=Ue.extend("--ft-typography-overline-font-size","",xn.fontSize,"10px"),ps=Ue.extend("--ft-typography-overline-font-weight","",xn.fontWeight,"normal"),us=Ue.extend("--ft-typography-overline-letter-spacing","",xn.letterSpacing,"1.5px"),ds=Ue.extend("--ft-typography-overline-line-height","",xn.lineHeight,"1.6"),ys=Ue.extend("--ft-typography-overline-text-transform","",xn.textTransform,"uppercase"),gs={fontFamily:Ue.extend("--ft-typography-button-font-family","",mn),fontSize:Ue.extend("--ft-typography-button-font-size","",xn.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-button-font-weight","",xn.fontWeight,"600"),letterSpacing:Ue.extend("--ft-typography-button-letter-spacing","",xn.letterSpacing,"1.246px"),lineHeight:Ue.extend("--ft-typography-button-line-height","",xn.lineHeight,"1.15"),textTransform:Ue.extend("--ft-typography-button-text-transform","",xn.textTransform,"uppercase")},bs=Ut`
287
+ const gn=Symbol.for(""),bn=t=>{if(t?.r===gn)return t?._$litStatic$},vn=t=>({_$litStatic$:t,r:gn}),mn=new Map,xn=(t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=bn(n));)l+=r+e[++c],h=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),h){const t=s.join("$$lit$$");void 0===(e=mn.get(t))&&(s.raw=s,mn.set(t,e=s)),o=a}return t(e,...o)})(at);var On;!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"}(On||(On={}));const wn=Ue.extend("--ft-typography-font-family","",De.titleFont),Sn=Ue.extend("--ft-typography-font-family","",De.contentFont),Nn={fontFamily:Sn,fontSize:Ue.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ue.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ue.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ue.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ue.create("--ft-typography-text-transform","","UNKNOWN","inherit")},$n=Ue.extend("--ft-typography-title-font-family","",wn),Cn=Ue.extend("--ft-typography-title-font-size","",Nn.fontSize,"20px"),En=Ue.extend("--ft-typography-title-font-weight","",Nn.fontWeight,"normal"),kn=Ue.extend("--ft-typography-title-letter-spacing","",Nn.letterSpacing,"0.15px"),Rn=Ue.extend("--ft-typography-title-line-height","",Nn.lineHeight,"1.2"),In=Ue.extend("--ft-typography-title-text-transform","",Nn.textTransform,"inherit"),Un=Ue.extend("--ft-typography-title-dense-font-family","",wn),Ln=Ue.extend("--ft-typography-title-dense-font-size","",Nn.fontSize,"14px"),An=Ue.extend("--ft-typography-title-dense-font-weight","",Nn.fontWeight,"normal"),Wn=Ue.extend("--ft-typography-title-dense-letter-spacing","",Nn.letterSpacing,"0.105px"),jn=Ue.extend("--ft-typography-title-dense-line-height","",Nn.lineHeight,"1.7"),zn=Ue.extend("--ft-typography-title-dense-text-transform","",Nn.textTransform,"inherit"),Dn=Ue.extend("--ft-typography-subtitle1-font-family","",Sn),Fn=Ue.extend("--ft-typography-subtitle1-font-size","",Nn.fontSize,"16px"),Bn=Ue.extend("--ft-typography-subtitle1-font-weight","",Nn.fontWeight,"600"),Pn=Ue.extend("--ft-typography-subtitle1-letter-spacing","",Nn.letterSpacing,"0.144px"),Tn=Ue.extend("--ft-typography-subtitle1-line-height","",Nn.lineHeight,"1.5"),Mn=Ue.extend("--ft-typography-subtitle1-text-transform","",Nn.textTransform,"inherit"),Kn=Ue.extend("--ft-typography-subtitle2-font-family","",Sn),Zn=Ue.extend("--ft-typography-subtitle2-font-size","",Nn.fontSize,"14px"),_n=Ue.extend("--ft-typography-subtitle2-font-weight","",Nn.fontWeight,"normal"),Hn=Ue.extend("--ft-typography-subtitle2-letter-spacing","",Nn.letterSpacing,"0.098px"),Gn=Ue.extend("--ft-typography-subtitle2-line-height","",Nn.lineHeight,"1.7"),Vn=Ue.extend("--ft-typography-subtitle2-text-transform","",Nn.textTransform,"inherit"),qn=Ue.extend("--ft-typography-body1-font-family","",Sn),Yn=Ue.extend("--ft-typography-body1-font-size","",Nn.fontSize,"16px"),Xn=Ue.extend("--ft-typography-body1-font-weight","",Nn.fontWeight,"normal"),Jn=Ue.extend("--ft-typography-body1-letter-spacing","",Nn.letterSpacing,"0.496px"),Qn=Ue.extend("--ft-typography-body1-line-height","",Nn.lineHeight,"1.5"),ts=Ue.extend("--ft-typography-body1-text-transform","",Nn.textTransform,"inherit"),es={fontFamily:Ue.extend("--ft-typography-body2-font-family","",Sn),fontSize:Ue.extend("--ft-typography-body2-font-size","",Nn.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-body2-font-weight","",Nn.fontWeight,"normal"),letterSpacing:Ue.extend("--ft-typography-body2-letter-spacing","",Nn.letterSpacing,"0.252px"),lineHeight:Ue.extend("--ft-typography-body2-line-height","",Nn.lineHeight,"1.4"),textTransform:Ue.extend("--ft-typography-body2-text-transform","",Nn.textTransform,"inherit")},os=Ue.extend("--ft-typography-caption-font-family","",Sn),is=Ue.extend("--ft-typography-caption-font-size","",Nn.fontSize,"12px"),rs=Ue.extend("--ft-typography-caption-font-weight","",Nn.fontWeight,"normal"),ns=Ue.extend("--ft-typography-caption-letter-spacing","",Nn.letterSpacing,"0.396px"),ss=Ue.extend("--ft-typography-caption-line-height","",Nn.lineHeight,"1.33"),as=Ue.extend("--ft-typography-caption-text-transform","",Nn.textTransform,"inherit"),ls=Ue.extend("--ft-typography-breadcrumb-font-family","",Sn),cs=Ue.extend("--ft-typography-breadcrumb-font-size","",Nn.fontSize,"10px"),hs=Ue.extend("--ft-typography-breadcrumb-font-weight","",Nn.fontWeight,"normal"),fs=Ue.extend("--ft-typography-breadcrumb-letter-spacing","",Nn.letterSpacing,"0.33px"),ps=Ue.extend("--ft-typography-breadcrumb-line-height","",Nn.lineHeight,"1.6"),us=Ue.extend("--ft-typography-breadcrumb-text-transform","",Nn.textTransform,"inherit"),ds=Ue.extend("--ft-typography-overline-font-family","",Sn),ys=Ue.extend("--ft-typography-overline-font-size","",Nn.fontSize,"10px"),gs=Ue.extend("--ft-typography-overline-font-weight","",Nn.fontWeight,"normal"),bs=Ue.extend("--ft-typography-overline-letter-spacing","",Nn.letterSpacing,"1.5px"),vs=Ue.extend("--ft-typography-overline-line-height","",Nn.lineHeight,"1.6"),ms=Ue.extend("--ft-typography-overline-text-transform","",Nn.textTransform,"uppercase"),xs={fontFamily:Ue.extend("--ft-typography-button-font-family","",Sn),fontSize:Ue.extend("--ft-typography-button-font-size","",Nn.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-button-font-weight","",Nn.fontWeight,"600"),letterSpacing:Ue.extend("--ft-typography-button-letter-spacing","",Nn.letterSpacing,"1.246px"),lineHeight:Ue.extend("--ft-typography-button-line-height","",Nn.lineHeight,"1.15"),textTransform:Ue.extend("--ft-typography-button-text-transform","",Nn.textTransform,"uppercase")},Os=Ut`
288
288
  .ft-typography--title {
289
- font-family: ${On};
290
- font-size: ${wn};
291
- font-weight: ${Sn};
292
- letter-spacing: ${Nn};
293
- line-height: ${$n};
294
- text-transform: ${Cn};
295
- }
296
- `,vs=Ut`
289
+ font-family: ${$n};
290
+ font-size: ${Cn};
291
+ font-weight: ${En};
292
+ letter-spacing: ${kn};
293
+ line-height: ${Rn};
294
+ text-transform: ${In};
295
+ }
296
+ `,ws=Ut`
297
297
  .ft-typography--title-dense {
298
- font-family: ${En};
299
- font-size: ${kn};
300
- font-weight: ${Rn};
301
- letter-spacing: ${In};
302
- line-height: ${Un};
303
- text-transform: ${Ln};
304
- }
305
- `,ms=Ut`
298
+ font-family: ${Un};
299
+ font-size: ${Ln};
300
+ font-weight: ${An};
301
+ letter-spacing: ${Wn};
302
+ line-height: ${jn};
303
+ text-transform: ${zn};
304
+ }
305
+ `,Ss=Ut`
306
306
  .ft-typography--subtitle1 {
307
- font-family: ${An};
308
- font-size: ${Wn};
309
- font-weight: ${jn};
310
- letter-spacing: ${zn};
311
- line-height: ${Fn};
312
- text-transform: ${Dn};
313
- }
314
- `,xs=Ut`
307
+ font-family: ${Dn};
308
+ font-size: ${Fn};
309
+ font-weight: ${Bn};
310
+ letter-spacing: ${Pn};
311
+ line-height: ${Tn};
312
+ text-transform: ${Mn};
313
+ }
314
+ `,Ns=Ut`
315
315
  .ft-typography--subtitle2 {
316
- font-family: ${Bn};
317
- font-size: ${Pn};
318
- font-weight: ${Tn};
319
- letter-spacing: ${Mn};
320
- line-height: ${Kn};
321
- text-transform: ${Zn};
316
+ font-family: ${Kn};
317
+ font-size: ${Zn};
318
+ font-weight: ${_n};
319
+ letter-spacing: ${Hn};
320
+ line-height: ${Gn};
321
+ text-transform: ${Vn};
322
322
  }
323
323
 
324
- `,Os=Ut`
324
+ `,$s=Ut`
325
325
  .ft-typography--body1 {
326
- font-family: ${_n};
327
- font-size: ${Hn};
328
- font-weight: ${Gn};
329
- letter-spacing: ${Vn};
330
- line-height: ${qn};
331
- text-transform: ${Yn};
326
+ font-family: ${qn};
327
+ font-size: ${Yn};
328
+ font-weight: ${Xn};
329
+ letter-spacing: ${Jn};
330
+ line-height: ${Qn};
331
+ text-transform: ${ts};
332
332
  }
333
- `,ws=Ut`
333
+ `,Cs=Ut`
334
334
  .ft-typography--body2 {
335
- font-family: ${Xn.fontFamily};
336
- font-size: ${Xn.fontSize};
337
- font-weight: ${Xn.fontWeight};
338
- letter-spacing: ${Xn.letterSpacing};
339
- line-height: ${Xn.lineHeight};
340
- text-transform: ${Xn.textTransform};
335
+ font-family: ${es.fontFamily};
336
+ font-size: ${es.fontSize};
337
+ font-weight: ${es.fontWeight};
338
+ letter-spacing: ${es.letterSpacing};
339
+ line-height: ${es.lineHeight};
340
+ text-transform: ${es.textTransform};
341
341
  }
342
- `,Ss=Ut`
342
+ `,Es=Ut`
343
343
  .ft-typography--caption {
344
- font-family: ${Jn};
345
- font-size: ${Qn};
346
- font-weight: ${ts};
347
- letter-spacing: ${es};
348
- line-height: ${os};
349
- text-transform: ${is};
350
- }
351
- `,Ns=Ut`
344
+ font-family: ${os};
345
+ font-size: ${is};
346
+ font-weight: ${rs};
347
+ letter-spacing: ${ns};
348
+ line-height: ${ss};
349
+ text-transform: ${as};
350
+ }
351
+ `,ks=Ut`
352
352
  .ft-typography--breadcrumb {
353
- font-family: ${rs};
354
- font-size: ${ns};
355
- font-weight: ${ss};
356
- letter-spacing: ${as};
357
- line-height: ${ls};
358
- text-transform: ${cs};
359
- }
360
- `,$s=Ut`
353
+ font-family: ${ls};
354
+ font-size: ${cs};
355
+ font-weight: ${hs};
356
+ letter-spacing: ${fs};
357
+ line-height: ${ps};
358
+ text-transform: ${us};
359
+ }
360
+ `,Rs=Ut`
361
361
  .ft-typography--overline {
362
- font-family: ${hs};
363
- font-size: ${fs};
364
- font-weight: ${ps};
365
- letter-spacing: ${us};
366
- line-height: ${ds};
367
- text-transform: ${ys};
368
- }
369
- `,Cs=Ut`
362
+ font-family: ${ds};
363
+ font-size: ${ys};
364
+ font-weight: ${gs};
365
+ letter-spacing: ${bs};
366
+ line-height: ${vs};
367
+ text-transform: ${ms};
368
+ }
369
+ `,Is=Ut`
370
370
  .ft-typography--button {
371
- font-family: ${gs.fontFamily};
372
- font-size: ${gs.fontSize};
373
- font-weight: ${gs.fontWeight};
374
- letter-spacing: ${gs.letterSpacing};
375
- line-height: ${gs.lineHeight};
376
- text-transform: ${gs.textTransform};
377
- }
378
- `,Es=Ut`
371
+ font-family: ${xs.fontFamily};
372
+ font-size: ${xs.fontSize};
373
+ font-weight: ${xs.fontWeight};
374
+ letter-spacing: ${xs.letterSpacing};
375
+ line-height: ${xs.lineHeight};
376
+ text-transform: ${xs.textTransform};
377
+ }
378
+ `,Us=Ut`
379
379
  .ft-typography {
380
380
  vertical-align: inherit;
381
381
  }
382
- `,ks=[Object.keys(We).map((t=>function(t){const e=We[t];return Ut`
382
+ `,Ls=[Object.keys(We).map((t=>function(t){const e=We[t];return Ut`
383
383
  .ft-typography--${It(t)} {
384
384
  font-family: ${e.fontFamily};
385
385
  font-size: ${e.fontSize};
@@ -388,20 +388,20 @@ const pn=Symbol.for(""),un=t=>{if(t?.r===pn)return t?._$litStatic$},dn=t=>({_$li
388
388
  line-height: ${e.lineHeight};
389
389
  text-transform: ${e.textCase};
390
390
  }
391
- `}(t)))];var Rs=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Is extends He{constructor(){super(...arguments),this.variant=bn.body1}render(){return this.element?gn`
392
- <${dn(this.element)}
391
+ `}(t)))];var As=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Ws extends He{constructor(){super(...arguments),this.variant=On.body1}render(){return this.element?xn`
392
+ <${vn(this.element)}
393
393
  class="ft-typography ft-typography--${this.variant}">
394
394
  <slot></slot>
395
- </${dn(this.element)}>
396
- `:gn`
395
+ </${vn(this.element)}>
396
+ `:xn`
397
397
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
398
- `}}Is.styles=[bs,vs,ms,xs,Os,ws,Ss,Ns,$s,Cs,Es,...ks],Rs([R()],Is.prototype,"element",void 0),Rs([R()],Is.prototype,"variant",void 0),B("ft-typography")(Is);
398
+ `}}Ws.styles=[Os,ws,Ss,Ns,$s,Cs,Es,ks,Rs,Is,Us,...Ls],As([R()],Ws.prototype,"element",void 0),As([R()],Ws.prototype,"variant",void 0),B("ft-typography")(Ws);
399
399
  /**
400
400
  * @license
401
401
  * Copyright 2017 Google LLC
402
402
  * SPDX-License-Identifier: BSD-3-Clause
403
403
  */
404
- class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ct||null==t)return this.vt=void 0,this.et=t;if(t===lt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Us.directiveName="unsafeHTML",Us.resultType=1;const Ls=ir(Us);var As,Ws;!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;"}(As||(As={})),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;"}(Ws||(Ws={})),new Map([...["abw"].map((t=>[t,Ws.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,Ws.AUDIO])),...["avi"].map((t=>[t,Ws.AVI])),...["chm","xhs"].map((t=>[t,Ws.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,Ws.CODE])),...["csv"].map((t=>[t,Ws.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ws.DITA])),...["epub"].map((t=>[t,Ws.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ws.EXCEL])),...["flac"].map((t=>[t,Ws.FLAC])),...["gif"].map((t=>[t,Ws.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ws.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ws.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,Ws.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ws.JPEG])),...["json"].map((t=>[t,Ws.JSON])),...["m4a","m4p"].map((t=>[t,Ws.M4A])),...["mov","qt"].map((t=>[t,Ws.MOV])),...["mp3"].map((t=>[t,Ws.MP3])),...["mp4","m4v"].map((t=>[t,Ws.MP4])),...["ogg","oga"].map((t=>[t,Ws.OGG])),...["pdf","ps"].map((t=>[t,Ws.PDF])),...["png"].map((t=>[t,Ws.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ws.POWERPOINT])),...["rar"].map((t=>[t,Ws.RAR])),...["stp"].map((t=>[t,Ws.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ws.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,Ws.VIDEO])),...["wav"].map((t=>[t,Ws.WAV])),...["wma"].map((t=>[t,Ws.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ws.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ws.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ws.YAML])),...["zip"].map((t=>[t,Ws.ZIP]))]),Ws.ABW,Ws.AUDIO,Ws.AVI,Ws.CHM,Ws.CODE,Ws.CSV,Ws.DITA,Ws.EPUB,Ws.EXCEL,Ws.FLAC,Ws.GIF,Ws.GZIP,Ws.HTML,Ws.IMAGE,Ws.JPEG,Ws.JSON,Ws.M4A,Ws.MOV,Ws.MP3,Ws.MP4,Ws.OGG,Ws.PDF,Ws.PNG,Ws.POWERPOINT,Ws.RAR,Ws.STP,Ws.TEXT,Ws.UNKNOWN,Ws.VIDEO,Ws.WAV,Ws.WMA,Ws.WORD,Ws.XML,Ws.YAML,Ws.ZIP;const js={size:Ue.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ue.extend("--ft-icon-fluid-topics-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ue.extend("--ft-icon-file-format-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ue.extend("--ft-icon-material-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ue.create("--ft-icon-vertical-align","","UNKNOWN","unset")},zs=Ut`
404
+ class js extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ct||null==t)return this.vt=void 0,this.et=t;if(t===lt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}js.directiveName="unsafeHTML",js.resultType=1;const zs=ir(js);var Ds,Fs;!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;"}(Ds||(Ds={})),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;"}(Fs||(Fs={})),new Map([...["abw"].map((t=>[t,Fs.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,Fs.AUDIO])),...["avi"].map((t=>[t,Fs.AVI])),...["chm","xhs"].map((t=>[t,Fs.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,Fs.CODE])),...["csv"].map((t=>[t,Fs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fs.DITA])),...["epub"].map((t=>[t,Fs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fs.EXCEL])),...["flac"].map((t=>[t,Fs.FLAC])),...["gif"].map((t=>[t,Fs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fs.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,Fs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fs.JPEG])),...["json"].map((t=>[t,Fs.JSON])),...["m4a","m4p"].map((t=>[t,Fs.M4A])),...["mov","qt"].map((t=>[t,Fs.MOV])),...["mp3"].map((t=>[t,Fs.MP3])),...["mp4","m4v"].map((t=>[t,Fs.MP4])),...["ogg","oga"].map((t=>[t,Fs.OGG])),...["pdf","ps"].map((t=>[t,Fs.PDF])),...["png"].map((t=>[t,Fs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fs.POWERPOINT])),...["rar"].map((t=>[t,Fs.RAR])),...["stp"].map((t=>[t,Fs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fs.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,Fs.VIDEO])),...["wav"].map((t=>[t,Fs.WAV])),...["wma"].map((t=>[t,Fs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fs.YAML])),...["zip"].map((t=>[t,Fs.ZIP]))]),Fs.ABW,Fs.AUDIO,Fs.AVI,Fs.CHM,Fs.CODE,Fs.CSV,Fs.DITA,Fs.EPUB,Fs.EXCEL,Fs.FLAC,Fs.GIF,Fs.GZIP,Fs.HTML,Fs.IMAGE,Fs.JPEG,Fs.JSON,Fs.M4A,Fs.MOV,Fs.MP3,Fs.MP4,Fs.OGG,Fs.PDF,Fs.PNG,Fs.POWERPOINT,Fs.RAR,Fs.STP,Fs.TEXT,Fs.UNKNOWN,Fs.VIDEO,Fs.WAV,Fs.WMA,Fs.WORD,Fs.XML,Fs.YAML,Fs.ZIP;const Bs={size:Ue.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ue.extend("--ft-icon-fluid-topics-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ue.extend("--ft-icon-file-format-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ue.extend("--ft-icon-material-font-family","",Ue.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ue.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ps=Ut`
405
405
  :host, i.ft-icon {
406
406
  display: inline-flex;
407
407
  align-items: center;
@@ -410,14 +410,14 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
410
410
  }
411
411
 
412
412
  :host {
413
- width: ${js.size};
414
- height: ${js.size};
413
+ width: ${Bs.size};
414
+ height: ${Bs.size};
415
415
  }
416
416
 
417
417
  i.ft-icon {
418
418
  width: 100%;
419
419
  height: 100%;
420
- font-size: ${js.size};
420
+ font-size: ${Bs.size};
421
421
  line-height: 1;
422
422
  font-weight: normal;
423
423
  text-transform: none;
@@ -428,33 +428,33 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
428
428
  text-rendering: auto;
429
429
  -webkit-font-smoothing: antialiased;
430
430
  -moz-osx-font-smoothing: grayscale;
431
- vertical-align: ${js.verticalAlign};
431
+ vertical-align: ${Bs.verticalAlign};
432
432
  }
433
433
 
434
434
  i.ft-icon.ft-icon--fluid-topics {
435
- font-family: ${js.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
435
+ font-family: ${Bs.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
436
436
 
437
437
  /* Ugly fix because font is broken */
438
- font-size: calc(0.75 * ${js.size});
439
- line-height: ${js.size};
438
+ font-size: calc(0.75 * ${Bs.size});
439
+ line-height: ${Bs.size};
440
440
  position: relative;
441
441
  top: -4%;
442
442
  justify-content: center;
443
443
  }
444
444
 
445
445
  .ft-icon--file-format {
446
- font-family: ${js.fileFormatFontFamily}, ft-mime, sans-serif;
446
+ font-family: ${Bs.fileFormatFontFamily}, ft-mime, sans-serif;
447
447
  }
448
448
 
449
449
  .ft-icon--material {
450
- font-family: ${js.materialFontFamily}, "Material Icons", sans-serif;
450
+ font-family: ${Bs.materialFontFamily}, "Material Icons", sans-serif;
451
451
  }
452
- `;var Fs;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fs||(Fs={}));var Ds=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Bs extends He{constructor(){super(...arguments),this.resolvedIcon=ye}render(){const t=this.variant&&Object.values(Fs).includes(this.variant)?this.variant:Fs.fluid_topics,e=t!==Fs.material||!!this.value;return ue`
452
+ `;var Ts;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ts||(Ts={}));var Ms=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Ks extends He{constructor(){super(...arguments),this.resolvedIcon=ye}render(){const t=this.variant&&Object.values(Ts).includes(this.variant)?this.variant:Ts.fluid_topics,e=t!==Ts.material||!!this.value;return ue`
453
453
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
454
- ${Ls(this.resolvedIcon)}
454
+ ${zs(this.resolvedIcon)}
455
455
  <slot ?hidden=${e}></slot>
456
456
  </i>
457
- `}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 Fs.file_format:this.resolvedIcon=null!==(t=Ws[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Fs.material:this.resolvedIcon=this.value||ye;break;default:this.resolvedIcon=null!==(e=As[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Bs.elementDefinitions={},Bs.styles=zs,Ds([R()],Bs.prototype,"variant",void 0),Ds([R()],Bs.prototype,"value",void 0),Ds([I()],Bs.prototype,"resolvedIcon",void 0),Ds([A("slot")],Bs.prototype,"slottedContent",void 0),B("ft-icon")(Bs);const Ps={color:Ue.extend("--ft-loader-color","",Fe.colorPrimary),size:Ue.create("--ft-loader-size","","SIZE","80px")},Ts=Ut`
457
+ `}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 Ts.file_format:this.resolvedIcon=null!==(t=Fs[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ts.material:this.resolvedIcon=this.value||ye;break;default:this.resolvedIcon=null!==(e=Ds[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ks.elementDefinitions={},Ks.styles=Ps,Ms([R()],Ks.prototype,"variant",void 0),Ms([R()],Ks.prototype,"value",void 0),Ms([I()],Ks.prototype,"resolvedIcon",void 0),Ms([A("slot")],Ks.prototype,"slottedContent",void 0),B("ft-icon")(Ks);const Zs={color:Ue.extend("--ft-loader-color","",De.colorPrimary),size:Ue.create("--ft-loader-size","","SIZE","80px")},_s=Ut`
458
458
  :host {
459
459
  line-height: 0;
460
460
  }
@@ -463,8 +463,8 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
463
463
  display: inline-block;
464
464
  position: relative;
465
465
 
466
- width: ${Ps.size};
467
- height: ${Ps.size};
466
+ width: ${Zs.size};
467
+ height: ${Zs.size};
468
468
  }
469
469
 
470
470
  .ft-loader div {
@@ -473,7 +473,7 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
473
473
  width: 25%;
474
474
  height: 25%;
475
475
  border-radius: 50%;
476
- background: ${Ps.color};
476
+ background: ${Zs.color};
477
477
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
478
478
  }
479
479
 
@@ -520,10 +520,10 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
520
520
  transform: translate(0, 0);
521
521
  }
522
522
  100% {
523
- transform: translate(calc(0.35 * ${Ps.size}), 0);
523
+ transform: translate(calc(0.35 * ${Zs.size}), 0);
524
524
  }
525
525
  }
526
- `,Ms=Ue.extend("--ft-button-color","",Fe.colorPrimary),Ks={backgroundColor:Ue.extend("--ft-button-background-color","",Fe.colorSurface),borderRadius:Ue.extend("--ft-button-border-radius","",Fe.borderRadiusL),color:Ms,fontSize:Ue.extend("--ft-button-font-size","",gs.fontSize),iconSize:Ue.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ue.extend("--ft-button-ripple-color","",Ms),verticalPadding:Ue.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ue.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ue.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ue.external(Fe.colorOpacityDisabled,"Design system")},Zs=Ue.extend("--ft-button-primary-color","",Ue.extend("--ft-button-color","",Fe.colorOnPrimary)),_s={backgroundColor:Ue.extend("--ft-button-primary-background-color","",Ue.extend("--ft-button-background-color","",Fe.colorPrimary)),color:Zs,rippleColor:Ue.extend("--ft-button-primary-ripple-color","",Zs)},Hs=Ue.extend("--ft-button-dense-border-radius","",Ue.extend("--ft-button-border-radius","",Fe.borderRadiusM)),Gs=Ue.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Vs=Ue.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),qs=Ue.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ys=[Ut`
526
+ `,Hs=Ue.extend("--ft-button-color","",De.colorPrimary),Gs={backgroundColor:Ue.extend("--ft-button-background-color","",De.colorSurface),borderRadius:Ue.extend("--ft-button-border-radius","",De.borderRadiusL),color:Hs,fontSize:Ue.extend("--ft-button-font-size","",xs.fontSize),iconSize:Ue.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ue.extend("--ft-button-ripple-color","",Hs),verticalPadding:Ue.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ue.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ue.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ue.external(De.colorOpacityDisabled,"Design system")},Vs=Ue.extend("--ft-button-primary-color","",Ue.extend("--ft-button-color","",De.colorOnPrimary)),qs={backgroundColor:Ue.extend("--ft-button-primary-background-color","",Ue.extend("--ft-button-background-color","",De.colorPrimary)),color:Vs,rippleColor:Ue.extend("--ft-button-primary-ripple-color","",Vs)},Ys=Ue.extend("--ft-button-dense-border-radius","",Ue.extend("--ft-button-border-radius","",De.borderRadiusM)),Xs=Ue.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Js=Ue.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qs=Ue.create("--ft-button-dense-icon-padding","","SIZE","4px"),ta=[Ut`
527
527
  :host {
528
528
  display: inline-block;
529
529
  max-width: 100%;
@@ -534,7 +534,7 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
534
534
  box-shadow: 0px 0px 0px transparent;
535
535
  border: 0px solid transparent;
536
536
  text-shadow: 0px 0px 0px transparent;
537
- font-size: ${Ks.fontSize};
537
+ font-size: ${Gs.fontSize};
538
538
  }
539
539
 
540
540
  button:hover {
@@ -563,31 +563,31 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
563
563
  border: none;
564
564
  pointer-events: auto;
565
565
 
566
- --ft-button-internal-line-height: max(calc(${Ks.fontSize} + 2px), ${Ks.iconSize});
567
- --ft-button-internal-color: ${Ks.color};
568
- ${Le(js.size,Ks.iconSize)};
569
- ${Le(en.color,Ks.rippleColor)};
566
+ --ft-button-internal-line-height: max(calc(${Gs.fontSize} + 2px), ${Gs.iconSize});
567
+ --ft-button-internal-color: ${Gs.color};
568
+ ${Le(Bs.size,Gs.iconSize)};
569
+ ${Le(sn.color,Gs.rippleColor)};
570
570
 
571
- border-radius: ${Ks.borderRadius};
572
- padding: ${Ks.verticalPadding} ${Ks.horizontalPadding};
573
- background-color: ${Ks.backgroundColor};
571
+ border-radius: ${Gs.borderRadius};
572
+ padding: ${Gs.verticalPadding} ${Gs.horizontalPadding};
573
+ background-color: ${Gs.backgroundColor};
574
574
  color: var(--ft-button-internal-color);
575
575
  -webkit-mask-image: radial-gradient(white, black);
576
576
  }
577
577
 
578
578
  .ft-button.ft-button--outlined {
579
579
  border: 1px solid var(--ft-button-internal-color);
580
- padding: calc(${Ks.verticalPadding} - 1px) calc(${Ks.horizontalPadding} - 1px);
580
+ padding: calc(${Gs.verticalPadding} - 1px) calc(${Gs.horizontalPadding} - 1px);
581
581
  }
582
582
 
583
583
  .ft-button.ft-button--dense {
584
- padding: ${Gs} ${Vs};
585
- border-radius: ${Hs};
586
- gap: ${qs};
584
+ padding: ${Xs} ${Js};
585
+ border-radius: ${Ys};
586
+ gap: ${Qs};
587
587
  }
588
588
 
589
589
  .ft-button.ft-button--dense.ft-button--outlined {
590
- padding: calc(${Gs} - 1px) calc(${Vs} - 1px);
590
+ padding: calc(${Xs} - 1px) calc(${Js} - 1px);
591
591
  }
592
592
 
593
593
  .ft-button:not([disabled]):hover {
@@ -595,22 +595,22 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
595
595
  }
596
596
 
597
597
  .ft-button--round {
598
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ks.verticalPadding});
598
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gs.verticalPadding});
599
599
  }
600
600
 
601
601
  .ft-button--round.ft-button--dense {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gs});
602
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xs});
603
603
  }
604
604
 
605
605
  .ft-button[disabled] {
606
606
  filter: grayscale(1);
607
- opacity: ${Ks.opacityDisabled};
607
+ opacity: ${Gs.opacityDisabled};
608
608
  }
609
609
 
610
610
  .ft-button.ft-button--primary {
611
- background-color: ${_s.backgroundColor};
612
- --ft-button-internal-color: ${_s.color};
613
- ${Le(en.color,_s.rippleColor)};
611
+ background-color: ${qs.backgroundColor};
612
+ --ft-button-internal-color: ${qs.color};
613
+ ${Le(sn.color,qs.rippleColor)};
614
614
  }
615
615
 
616
616
  .ft-button:focus {
@@ -623,13 +623,13 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
623
623
  white-space: nowrap;
624
624
  text-overflow: ellipsis;
625
625
  display: block;
626
- margin: 0 ${Ks.iconPadding};
627
- ${Le(gs.fontSize,"1em")};
628
- ${Le(gs.lineHeight,"var(--ft-button-internal-line-height)")};
626
+ margin: 0 ${Gs.iconPadding};
627
+ ${Le(xs.fontSize,"1em")};
628
+ ${Le(xs.lineHeight,"var(--ft-button-internal-line-height)")};
629
629
  }
630
630
 
631
631
  .ft-button--dense .ft-button--label {
632
- margin: 0 ${qs};
632
+ margin: 0 ${Qs};
633
633
  }
634
634
 
635
635
  .ft-button--label[hidden] {
@@ -642,13 +642,13 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
642
642
  }
643
643
 
644
644
  .ft-button--label[hidden] + ft-icon {
645
- margin: 0 calc(${Ks.horizontalPadding} * -1);
646
- padding: 0 ${Ks.verticalPadding};
645
+ margin: 0 calc(${Gs.horizontalPadding} * -1);
646
+ padding: 0 ${Gs.verticalPadding};
647
647
  }
648
648
 
649
649
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
650
- margin: 0 calc(${Vs} * -1);
651
- padding: 0 ${Gs};
650
+ margin: 0 calc(${Js} * -1);
651
+ padding: 0 ${Xs};
652
652
  }
653
653
 
654
654
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -657,10 +657,10 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
657
657
  }
658
658
 
659
659
  ft-loader {
660
- ${Le(Ps.size,Ks.iconSize)};
661
- ${Le(Ps.color,"var(--ft-button-internal-color)")};
660
+ ${Le(Zs.size,Gs.iconSize)};
661
+ ${Le(Zs.color,"var(--ft-button-internal-color)")};
662
662
  }
663
- `,Ve],Xs=Ue.create("--ft-tooltip-distance","","SIZE","4px"),Js=Ue.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Qs=Ue.create("--ft-tooltip-background-color","","COLOR","#666666"),ta=Ue.create("--ft-tooltip-z-index","","NUMBER","100"),ea=Ue.external(Fe.borderRadiusS,"Design system"),oa=Ue.create("--ft-tooltip-max-width","","SIZE","150px"),ia=Ut`
663
+ `,Ve],ea=Ue.create("--ft-tooltip-distance","","SIZE","4px"),oa=Ue.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ia=Ue.create("--ft-tooltip-background-color","","COLOR","#666666"),ra=Ue.create("--ft-tooltip-z-index","","NUMBER","100"),na=Ue.external(De.borderRadiusS,"Design system"),sa=Ue.create("--ft-tooltip-max-width","","SIZE","150px"),aa=Ut`
664
664
  .ft-tooltip--container {
665
665
  display: block;
666
666
  }
@@ -675,21 +675,21 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
675
675
  box-sizing: border-box;
676
676
  overflow: hidden;
677
677
  width: max-content;
678
- max-width: ${oa};
678
+ max-width: ${sa};
679
679
  text-align: center;
680
- padding: ${Xs};
681
- z-index: ${ta};
680
+ padding: ${ea};
681
+ z-index: ${ra};
682
682
  }
683
683
 
684
684
  .ft-tooltip--content {
685
685
  padding: 4px 8px;
686
- border-radius: ${ea};
687
- background-color: ${Qs};
688
- color: ${Js};
686
+ border-radius: ${na};
687
+ background-color: ${ia};
688
+ color: ${oa};
689
689
  position: relative;
690
690
  word-break: break-word;
691
691
  }
692
- `,ra=["start","end"],na=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ra[0],e+"-"+ra[1])),[]),sa=Math.min,aa=Math.max,la=Math.round,ca=t=>({x:t,y:t}),ha={left:"right",right:"left",bottom:"top",top:"bottom"},fa={start:"end",end:"start"};function pa(t,e,o){return aa(t,sa(e,o))}function ua(t,e){return"function"==typeof t?t(e):t}function da(t){return t.split("-")[0]}function ya(t){return t.split("-")[1]}function ga(t){return"x"===t?"y":"x"}function ba(t){return"y"===t?"height":"width"}function va(t){return["top","bottom"].includes(da(t))?"y":"x"}function ma(t){return ga(va(t))}function xa(t){return t.replace(/left|right|bottom|top/g,(t=>ha[t]))}function Oa(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function wa(t,e,o){let{reference:i,floating:r}=t;const n=va(e),s=ma(e),a=ba(s),l=da(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[a]/2-r[a]/2;let u;switch(l){case"top":u={x:h,y:i.y-r.height};break;case"bottom":u={x:h,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:f};break;case"left":u={x:i.x-r.width,y:f};break;default:u={x:i.x,y:i.y}}switch(ya(e)){case"start":u[s]-=p*(o&&c?-1:1);break;case"end":u[s]+=p*(o&&c?-1:1)}return u}async function Sa(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:u=0}=ua(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=a[p?"floating"===f?"reference":"floating":f],g=Oa(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...s.floating,x:i,y:r}:s.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=Oa(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:v,strategy:l}):b);return{top:(g.top-x.top+d.top)/m.y,bottom:(x.bottom-g.bottom+d.bottom)/m.y,left:(g.left-x.left+d.left)/m.x,right:(x.right-g.right+d.right)/m.x}}function Na(t,e,o){return(t?[...o.filter((e=>ya(e)===t)),...o.filter((e=>ya(e)!==t))]:o.filter((t=>da(t)===t))).filter((o=>!t||(ya(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>fa[t]))}(o)!==o)))}const $a=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=na,autoAlignment:u=!0,...d}=ua(t,e),y=void 0!==f||p===na?Na(f||null,u,p):p,g=await Sa(e,d),b=(null==(o=s.autoPlacement)?void 0:o.index)||0,v=y[b];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=ya(t),r=ma(t),n=ba(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=xa(s)),[s,xa(s)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:y[0]}};const x=[g[da(v)],g[m[0]],g[m[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=ya(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,ya(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==a?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Ca(t){return Ra(t)?(t.nodeName||"").toLowerCase():"#document"}function Ea(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ka(t){var e;return null==(e=(Ra(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ra(t){return t instanceof Node||t instanceof Ea(t).Node}function Ia(t){return t instanceof Element||t instanceof Ea(t).Element}function Ua(t){return t instanceof HTMLElement||t instanceof Ea(t).HTMLElement}function La(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ea(t).ShadowRoot)}function Aa(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Da(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Wa(t){return["table","td","th"].includes(Ca(t))}function ja(t){const e=za(),o=Da(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function za(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Fa(t){return["html","body","#document"].includes(Ca(t))}function Da(t){return Ea(t).getComputedStyle(t)}function Ba(t){return Ia(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pa(t){if("html"===Ca(t))return t;const e=t.assignedSlot||t.parentNode||La(t)&&t.host||ka(t);return La(e)?e.host:e}function Ta(t){const e=Pa(t);return Fa(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ua(e)&&Aa(e)?e:Ta(e)}function Ma(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ta(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=Ea(r);return n?e.concat(s,s.visualViewport||[],Aa(r)?r:[],s.frameElement&&o?Ma(s.frameElement):[]):e.concat(r,Ma(r,[],o))}function Ka(t){const e=Da(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ua(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=la(o)!==n||la(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function Za(t){return Ia(t)?t:t.contextElement}function _a(t){const e=Za(t);if(!Ua(e))return ca(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ka(e);let s=(n?la(o.width):o.width)/i,a=(n?la(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Ha=ca(0);function Ga(t){const e=Ea(t);return za()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ha}function Va(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Za(t);let s=ca(1);e&&(i?Ia(i)&&(s=_a(i)):s=_a(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Ea(t))&&e}(n,o,i)?Ga(n):ca(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,h=r.width/s.x,f=r.height/s.y;if(n){const t=Ea(n),e=i&&Ia(i)?Ea(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=_a(o),e=o.getBoundingClientRect(),i=Da(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,f*=t.y,l+=r,c+=n,o=Ea(o).frameElement}}return Oa({width:h,height:f,x:l,y:c})}function qa(t){return Va(ka(t)).left+Ba(t).scrollLeft}function Ya(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Ea(t),i=ka(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=za();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}(t,o);else if("document"===e)i=function(t){const e=ka(t),o=Ba(t),i=t.ownerDocument.body,r=aa(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=aa(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+qa(t);const a=-o.scrollTop;return"rtl"===Da(i).direction&&(s+=aa(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}(ka(t));else if(Ia(e))i=function(t,e){const o=Va(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ua(t)?_a(t):ca(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ga(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Oa(i)}function Xa(t,e){const o=Pa(t);return!(o===e||!Ia(o)||Fa(o))&&("fixed"===Da(o).position||Xa(o,e))}function Ja(t,e,o){const i=Ua(e),r=ka(e),n="fixed"===o,s=Va(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=ca(0);if(i||!i&&!n)if(("body"!==Ca(e)||Aa(r))&&(a=Ba(e)),i){const t=Va(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=qa(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Qa(t,e){return Ua(t)&&"fixed"!==Da(t).position?e?e(t):t.offsetParent:null}function tl(t,e){const o=Ea(t);if(!Ua(t))return o;let i=Qa(t,e);for(;i&&Wa(i)&&"static"===Da(i).position;)i=Qa(i,e);return i&&("html"===Ca(i)||"body"===Ca(i)&&"static"===Da(i).position&&!ja(i))?o:i||function(t){let e=Pa(t);for(;Ua(e)&&!Fa(e);){if(ja(e))return e;e=Pa(e)}return null}(t)||o}const el={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ua(o),n=ka(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=ca(1);const l=ca(0);if((r||!r&&"fixed"!==i)&&(("body"!==Ca(o)||Aa(n))&&(s=Ba(o)),Ua(o))){const t=Va(o);a=_a(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:ka,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Ma(t,[],!1).filter((t=>Ia(t)&&"body"!==Ca(t))),r=null;const n="fixed"===Da(t).position;let s=n?Pa(t):t;for(;Ia(s)&&!Fa(s);){const e=Da(s),o=ja(s);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Aa(s)&&!o&&Xa(t,s))?i=i.filter((t=>t!==s)):r=e,s=Pa(s)}return e.set(t,i),i}(e,this._c):[].concat(o),s=[...n,i],a=s[0],l=s.reduce(((t,o)=>{const i=Ya(e,o,r);return t.top=aa(i.top,t.top),t.right=sa(i.right,t.right),t.bottom=sa(i.bottom,t.bottom),t.left=aa(i.left,t.left),t}),Ya(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:tl,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||tl,n=this.getDimensions;return{reference:Ja(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ka(t)},getScale:_a,isElement:Ia,isRTL:function(t){return"rtl"===Da(t).direction}},ol=(t,e,o)=>{const i=new Map,r={platform:el,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=wa(c,i,l),p=i,u={},d=0;for(let o=0;o<a.length;o++){const{name:n,fn:y}=a[o],{x:g,y:b,data:v,reset:m}=await y({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,f=null!=b?b:f,u={...u,[n]:{...u[n],...v}},m&&d<=50&&(d++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:h,y:f}=wa(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};function il(t){return function(t){for(let e=t;e;e=rl(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=rl(t);e;e=rl(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function rl(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var nl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class sl extends He{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 n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ue`
692
+ `,la=["start","end"],ca=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+la[0],e+"-"+la[1])),[]),ha=Math.min,fa=Math.max,pa=Math.round,ua=t=>({x:t,y:t}),da={left:"right",right:"left",bottom:"top",top:"bottom"},ya={start:"end",end:"start"};function ga(t,e,o){return fa(t,ha(e,o))}function ba(t,e){return"function"==typeof t?t(e):t}function va(t){return t.split("-")[0]}function ma(t){return t.split("-")[1]}function xa(t){return"x"===t?"y":"x"}function Oa(t){return"y"===t?"height":"width"}function wa(t){return["top","bottom"].includes(va(t))?"y":"x"}function Sa(t){return xa(wa(t))}function Na(t){return t.replace(/left|right|bottom|top/g,(t=>da[t]))}function $a(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ca(t,e,o){let{reference:i,floating:r}=t;const n=wa(e),s=Sa(e),a=Oa(s),l=va(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[a]/2-r[a]/2;let u;switch(l){case"top":u={x:h,y:i.y-r.height};break;case"bottom":u={x:h,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:f};break;case"left":u={x:i.x-r.width,y:f};break;default:u={x:i.x,y:i.y}}switch(ma(e)){case"start":u[s]-=p*(o&&c?-1:1);break;case"end":u[s]+=p*(o&&c?-1:1)}return u}async function Ea(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:u=0}=ba(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=a[p?"floating"===f?"reference":"floating":f],g=$a(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...s.floating,x:i,y:r}:s.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=$a(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:v,strategy:l}):b);return{top:(g.top-x.top+d.top)/m.y,bottom:(x.bottom-g.bottom+d.bottom)/m.y,left:(g.left-x.left+d.left)/m.x,right:(x.right-g.right+d.right)/m.x}}function ka(t,e,o){return(t?[...o.filter((e=>ma(e)===t)),...o.filter((e=>ma(e)!==t))]:o.filter((t=>va(t)===t))).filter((o=>!t||(ma(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ya[t]))}(o)!==o)))}const Ra=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=ca,autoAlignment:u=!0,...d}=ba(t,e),y=void 0!==f||p===ca?ka(f||null,u,p):p,g=await Ea(e,d),b=(null==(o=s.autoPlacement)?void 0:o.index)||0,v=y[b];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=ma(t),r=Sa(t),n=Oa(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=Na(s)),[s,Na(s)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:y[0]}};const x=[g[va(v)],g[m[0]],g[m[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=ma(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,ma(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==a?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Ia(t){return Aa(t)?(t.nodeName||"").toLowerCase():"#document"}function Ua(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function La(t){var e;return null==(e=(Aa(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Aa(t){return t instanceof Node||t instanceof Ua(t).Node}function Wa(t){return t instanceof Element||t instanceof Ua(t).Element}function ja(t){return t instanceof HTMLElement||t instanceof Ua(t).HTMLElement}function za(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ua(t).ShadowRoot)}function Da(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Ma(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fa(t){return["table","td","th"].includes(Ia(t))}function Ba(t){const e=Pa(),o=Ma(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Pa(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ta(t){return["html","body","#document"].includes(Ia(t))}function Ma(t){return Ua(t).getComputedStyle(t)}function Ka(t){return Wa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Za(t){if("html"===Ia(t))return t;const e=t.assignedSlot||t.parentNode||za(t)&&t.host||La(t);return za(e)?e.host:e}function _a(t){const e=Za(t);return Ta(e)?t.ownerDocument?t.ownerDocument.body:t.body:ja(e)&&Da(e)?e:_a(e)}function Ha(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=_a(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=Ua(r);return n?e.concat(s,s.visualViewport||[],Da(r)?r:[],s.frameElement&&o?Ha(s.frameElement):[]):e.concat(r,Ha(r,[],o))}function Ga(t){const e=Ma(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ja(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=pa(o)!==n||pa(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function Va(t){return Wa(t)?t:t.contextElement}function qa(t){const e=Va(t);if(!ja(e))return ua(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ga(e);let s=(n?pa(o.width):o.width)/i,a=(n?pa(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Ya=ua(0);function Xa(t){const e=Ua(t);return Pa()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ya}function Ja(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Va(t);let s=ua(1);e&&(i?Wa(i)&&(s=qa(i)):s=qa(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Ua(t))&&e}(n,o,i)?Xa(n):ua(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,h=r.width/s.x,f=r.height/s.y;if(n){const t=Ua(n),e=i&&Wa(i)?Ua(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=qa(o),e=o.getBoundingClientRect(),i=Ma(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,f*=t.y,l+=r,c+=n,o=Ua(o).frameElement}}return $a({width:h,height:f,x:l,y:c})}function Qa(t){return Ja(La(t)).left+Ka(t).scrollLeft}function tl(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Ua(t),i=La(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=Pa();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}(t,o);else if("document"===e)i=function(t){const e=La(t),o=Ka(t),i=t.ownerDocument.body,r=fa(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=fa(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Qa(t);const a=-o.scrollTop;return"rtl"===Ma(i).direction&&(s+=fa(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}(La(t));else if(Wa(e))i=function(t,e){const o=Ja(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ja(t)?qa(t):ua(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Xa(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return $a(i)}function el(t,e){const o=Za(t);return!(o===e||!Wa(o)||Ta(o))&&("fixed"===Ma(o).position||el(o,e))}function ol(t,e,o){const i=ja(e),r=La(e),n="fixed"===o,s=Ja(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=ua(0);if(i||!i&&!n)if(("body"!==Ia(e)||Da(r))&&(a=Ka(e)),i){const t=Ja(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Qa(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function il(t,e){return ja(t)&&"fixed"!==Ma(t).position?e?e(t):t.offsetParent:null}function rl(t,e){const o=Ua(t);if(!ja(t))return o;let i=il(t,e);for(;i&&Fa(i)&&"static"===Ma(i).position;)i=il(i,e);return i&&("html"===Ia(i)||"body"===Ia(i)&&"static"===Ma(i).position&&!Ba(i))?o:i||function(t){let e=Za(t);for(;ja(e)&&!Ta(e);){if(Ba(e))return e;e=Za(e)}return null}(t)||o}const nl={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ja(o),n=La(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=ua(1);const l=ua(0);if((r||!r&&"fixed"!==i)&&(("body"!==Ia(o)||Da(n))&&(s=Ka(o)),ja(o))){const t=Ja(o);a=qa(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:La,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Ha(t,[],!1).filter((t=>Wa(t)&&"body"!==Ia(t))),r=null;const n="fixed"===Ma(t).position;let s=n?Za(t):t;for(;Wa(s)&&!Ta(s);){const e=Ma(s),o=Ba(s);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Da(s)&&!o&&el(t,s))?i=i.filter((t=>t!==s)):r=e,s=Za(s)}return e.set(t,i),i}(e,this._c):[].concat(o),s=[...n,i],a=s[0],l=s.reduce(((t,o)=>{const i=tl(e,o,r);return t.top=fa(i.top,t.top),t.right=ha(i.right,t.right),t.bottom=ha(i.bottom,t.bottom),t.left=fa(i.left,t.left),t}),tl(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:rl,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||rl,n=this.getDimensions;return{reference:ol(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ga(t)},getScale:qa,isElement:Wa,isRTL:function(t){return"rtl"===Ma(t).direction}},sl=(t,e,o)=>{const i=new Map,r={platform:nl,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=Ca(c,i,l),p=i,u={},d=0;for(let o=0;o<a.length;o++){const{name:n,fn:y}=a[o],{x:g,y:b,data:v,reset:m}=await y({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,f=null!=b?b:f,u={...u,[n]:{...u[n],...v}},m&&d<=50&&(d++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:h,y:f}=Ca(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};function al(t){return function(t){for(let e=t;e;e=ll(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=ll(t);e;e=ll(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function ll(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var cl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class hl extends He{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 n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ue`
693
693
  <div part="container"
694
694
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
695
695
  @mouseenter=${this.onHover}
@@ -707,22 +707,22 @@ class Us extends rr{constructor(t){if(super(t),this.et=ct,t.type!==or)throw Erro
707
707
  </div>
708
708
  </div>
709
709
  </div>
710
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ol(this.slottedElement,this.tooltip,{platform:{...el,getOffsetParent:t=>el.getOffsetParent(t,il)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ua(t,e),c={x:o,y:i},h=await Sa(e,l),f=va(da(r)),p=ga(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=pa(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=pa(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),$a({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}sl.elementDefinitions={"ft-typography":Is},sl.styles=ia,nl([R()],sl.prototype,"text",void 0),nl([R({type:Boolean})],sl.prototype,"manual",void 0),nl([R({type:Boolean})],sl.prototype,"inline",void 0),nl([R({type:Number})],sl.prototype,"delay",void 0),nl([R()],sl.prototype,"position",void 0),nl([
710
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",sl(this.slottedElement,this.tooltip,{platform:{...nl,getOffsetParent:t=>nl.getOffsetParent(t,al)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ba(t,e),c={x:o,y:i},h=await Ea(e,l),f=wa(va(r)),p=xa(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=ga(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=ga(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Ra({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}hl.elementDefinitions={"ft-typography":Ws},hl.styles=aa,cl([R()],hl.prototype,"text",void 0),cl([R({type:Boolean})],hl.prototype,"manual",void 0),cl([R({type:Boolean})],hl.prototype,"inline",void 0),cl([R({type:Number})],hl.prototype,"delay",void 0),cl([R()],hl.prototype,"position",void 0),cl([
711
711
  /**
712
712
  * @license
713
713
  * Copyright 2017 Google LLC
714
714
  * SPDX-License-Identifier: BSD-3-Clause
715
715
  */
716
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],sl.prototype,"slotNodes",void 0),nl([A(".ft-tooltip--container")],sl.prototype,"container",void 0),nl([A(".ft-tooltip")],sl.prototype,"tooltip",void 0),nl([A(".ft-tooltip--content")],sl.prototype,"tooltipContent",void 0),nl([I()],sl.prototype,"visible",void 0),nl([U({passive:!0})],sl.prototype,"onTouch",null),nl([U({passive:!0})],sl.prototype,"onHover",null),nl([U({passive:!0})],sl.prototype,"onOut",null),nl([U({passive:!0})],sl.prototype,"onClick",null),B("ft-tooltip")(sl);class al extends He{render(){return ue`
716
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],hl.prototype,"slotNodes",void 0),cl([A(".ft-tooltip--container")],hl.prototype,"container",void 0),cl([A(".ft-tooltip")],hl.prototype,"tooltip",void 0),cl([A(".ft-tooltip--content")],hl.prototype,"tooltipContent",void 0),cl([I()],hl.prototype,"visible",void 0),cl([U({passive:!0})],hl.prototype,"onTouch",null),cl([U({passive:!0})],hl.prototype,"onHover",null),cl([U({passive:!0})],hl.prototype,"onOut",null),cl([U({passive:!0})],hl.prototype,"onClick",null),B("ft-tooltip")(hl);class fl extends He{render(){return ue`
717
717
  <div class="ft-loader">
718
718
  <div></div>
719
719
  <div></div>
720
720
  <div></div>
721
721
  <div></div>
722
722
  </div>
723
- `}}al.styles=Ts,B("ft-loader")(al);var ll=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class cl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Yi].form}constructor(...t){super(t),this[Yi]=this.attachInternals(),this[Yi].role=e}setFormValue(t){this[Yi].setFormValue(t)}}}(He,"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(ue`
723
+ `}}fl.styles=_s,B("ft-loader")(fl);var pl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ul extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Yi].form}constructor(...t){super(t),this[Yi]=this.attachInternals(),this[Yi].role=e}setFormValue(t){this[Yi].setFormValue(t)}}}(He,"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(ue`
724
724
  <button part="button"
725
- class="${Qr(this.buttonClasses)}"
725
+ class="${rn(this.buttonClasses)}"
726
726
  aria-label="${this.getLabel()}"
727
727
  ?disabled=${this.isDisabled()}>
728
728
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -743,7 +743,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
743
743
  </ft-tooltip>
744
744
  `:t}resolveIcon(){return this.loading?ue`
745
745
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ue`
746
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ye}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}}cl.elementDefinitions={"ft-ripple":fn,"ft-tooltip":sl,"ft-typography":Is,"ft-icon":Bs,"ft-loader":al},ll([R({type:String,reflect:!0})],cl.prototype,"role",void 0),ll([R()],cl.prototype,"type",void 0),ll([R({type:Boolean})],cl.prototype,"disabled",void 0),ll([R()],cl.prototype,"label",void 0),ll([R()],cl.prototype,"icon",void 0),ll([R()],cl.prototype,"iconVariant",void 0),ll([R({type:Boolean})],cl.prototype,"trailingIcon",void 0),ll([R({type:Boolean})],cl.prototype,"loading",void 0),ll([R()],cl.prototype,"tooltipPosition",void 0),ll([R({type:Boolean})],cl.prototype,"hideTooltip",void 0),ll([R({type:Boolean})],cl.prototype,"forceTooltip",void 0),ll([A(".ft-button")],cl.prototype,"button",void 0),ll([A(".ft-button--label slot")],cl.prototype,"slottedContent",void 0);var hl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fl extends cl{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fl.styles=[qe,Ys],hl([R({type:Boolean})],fl.prototype,"primary",void 0),hl([R({type:Boolean})],fl.prototype,"outlined",void 0),hl([R({type:Boolean})],fl.prototype,"dense",void 0),hl([R({type:Boolean})],fl.prototype,"round",void 0);const pl=[Ut`
746
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ye}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}}ul.elementDefinitions={"ft-ripple":yn,"ft-tooltip":hl,"ft-typography":Ws,"ft-icon":Ks,"ft-loader":fl},pl([R({type:String,reflect:!0})],ul.prototype,"role",void 0),pl([R()],ul.prototype,"type",void 0),pl([R({type:Boolean})],ul.prototype,"disabled",void 0),pl([R()],ul.prototype,"label",void 0),pl([R()],ul.prototype,"icon",void 0),pl([R()],ul.prototype,"iconVariant",void 0),pl([R({type:Boolean})],ul.prototype,"trailingIcon",void 0),pl([R({type:Boolean})],ul.prototype,"loading",void 0),pl([R()],ul.prototype,"tooltipPosition",void 0),pl([R({type:Boolean})],ul.prototype,"hideTooltip",void 0),pl([R({type:Boolean})],ul.prototype,"forceTooltip",void 0),pl([A(".ft-button")],ul.prototype,"button",void 0),pl([A(".ft-button--label slot")],ul.prototype,"slottedContent",void 0);var dl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class yl extends ul{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}yl.styles=[qe,ta],dl([R({type:Boolean})],yl.prototype,"primary",void 0),dl([R({type:Boolean})],yl.prototype,"outlined",void 0),dl([R({type:Boolean})],yl.prototype,"dense",void 0),dl([R({type:Boolean})],yl.prototype,"round",void 0);const gl=[Ut`
747
747
  :host {
748
748
  display: inline-block;
749
749
  max-width: 100%;
@@ -822,13 +822,13 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
822
822
  /** Primary styles **/
823
823
 
824
824
  .ft-button--primary {
825
- ${Le(Ps.color,ze.primaryIconColor)};
825
+ ${Le(Zs.color,ze.primaryIconColor)};
826
826
 
827
- ${Le(en.color,ze.primaryStateLayerColor)};
828
- ${Le(en.opacityContentOnSurfaceHover,ze.primaryStateLayerOpacityHover)};
829
- ${Le(en.opacityContentOnSurfaceFocused,ze.primaryStateLayerOpacityFocus)};
830
- ${Le(en.opacityContentOnSurfaceSelected,ze.primaryStateLayerOpacityActive)};
831
- ${Le(en.opacityContentOnSurfacePressed,ze.primaryStateLayerOpacityActive)};
827
+ ${Le(sn.color,ze.primaryStateLayerColor)};
828
+ ${Le(sn.opacityContentOnSurfaceHover,ze.primaryStateLayerOpacityHover)};
829
+ ${Le(sn.opacityContentOnSurfaceFocused,ze.primaryStateLayerOpacityFocus)};
830
+ ${Le(sn.opacityContentOnSurfaceSelected,ze.primaryStateLayerOpacityActive)};
831
+ ${Le(sn.opacityContentOnSurfacePressed,ze.primaryStateLayerOpacityActive)};
832
832
 
833
833
  background-color: ${ze.primaryBackgroundColor};
834
834
  color: ${ze.primaryColor};
@@ -846,13 +846,13 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
846
846
  /** Secondary styles **/
847
847
 
848
848
  .ft-button--secondary {
849
- ${Le(Ps.color,ze.secondaryIconColor)};
849
+ ${Le(Zs.color,ze.secondaryIconColor)};
850
850
 
851
- ${Le(en.color,ze.secondaryStateLayerColor)};
852
- ${Le(en.opacityContentOnSurfaceHover,ze.secondaryStateLayerOpacityHover)};
853
- ${Le(en.opacityContentOnSurfaceFocused,ze.secondaryStateLayerOpacityFocus)};
854
- ${Le(en.opacityContentOnSurfaceSelected,ze.secondaryStateLayerOpacityActive)};
855
- ${Le(en.opacityContentOnSurfacePressed,ze.secondaryStateLayerOpacityActive)};
851
+ ${Le(sn.color,ze.secondaryStateLayerColor)};
852
+ ${Le(sn.opacityContentOnSurfaceHover,ze.secondaryStateLayerOpacityHover)};
853
+ ${Le(sn.opacityContentOnSurfaceFocused,ze.secondaryStateLayerOpacityFocus)};
854
+ ${Le(sn.opacityContentOnSurfaceSelected,ze.secondaryStateLayerOpacityActive)};
855
+ ${Le(sn.opacityContentOnSurfacePressed,ze.secondaryStateLayerOpacityActive)};
856
856
 
857
857
  background-color: ${ze.secondaryBackgroundColor};
858
858
  color: ${ze.secondaryColor};
@@ -871,13 +871,13 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
871
871
  /** Tertiary styles **/
872
872
 
873
873
  .ft-button--tertiary {
874
- ${Le(Ps.color,ze.tertiaryIconColor)};
874
+ ${Le(Zs.color,ze.tertiaryIconColor)};
875
875
 
876
- ${Le(en.color,ze.tertiaryStateLayerColor)};
877
- ${Le(en.opacityContentOnSurfaceHover,ze.tertiaryStateLayerOpacityHover)};
878
- ${Le(en.opacityContentOnSurfaceFocused,ze.tertiaryStateLayerOpacityFocus)};
879
- ${Le(en.opacityContentOnSurfaceSelected,ze.tertiaryStateLayerOpacityActive)};
880
- ${Le(en.opacityContentOnSurfacePressed,ze.tertiaryStateLayerOpacityActive)};
876
+ ${Le(sn.color,ze.tertiaryStateLayerColor)};
877
+ ${Le(sn.opacityContentOnSurfaceHover,ze.tertiaryStateLayerOpacityHover)};
878
+ ${Le(sn.opacityContentOnSurfaceFocused,ze.tertiaryStateLayerOpacityFocus)};
879
+ ${Le(sn.opacityContentOnSurfaceSelected,ze.tertiaryStateLayerOpacityActive)};
880
+ ${Le(sn.opacityContentOnSurfacePressed,ze.tertiaryStateLayerOpacityActive)};
881
881
 
882
882
  background-color: ${ze.tertiaryBackgroundColor};
883
883
  color: ${ze.tertiaryColor};
@@ -895,13 +895,13 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
895
895
  /** Neutral styles **/
896
896
 
897
897
  .ft-button--neutral {
898
- ${Le(Ps.color,ze.neutralIconColor)};
898
+ ${Le(Zs.color,ze.neutralIconColor)};
899
899
 
900
- ${Le(en.backgroundColor,ze.neutralStateLayerColor)};
901
- ${Le(en.opacityContentOnSurfaceHover,ze.neutralStateLayerOpacityHover)};
902
- ${Le(en.opacityContentOnSurfaceFocused,ze.neutralStateLayerOpacityFocus)};
903
- ${Le(en.opacityContentOnSurfaceSelected,ze.neutralStateLayerOpacityActive)};
904
- ${Le(en.opacityContentOnSurfacePressed,ze.neutralStateLayerOpacityActive)};
900
+ ${Le(sn.backgroundColor,ze.neutralStateLayerColor)};
901
+ ${Le(sn.opacityContentOnSurfaceHover,ze.neutralStateLayerOpacityHover)};
902
+ ${Le(sn.opacityContentOnSurfaceFocused,ze.neutralStateLayerOpacityFocus)};
903
+ ${Le(sn.opacityContentOnSurfaceSelected,ze.neutralStateLayerOpacityActive)};
904
+ ${Le(sn.opacityContentOnSurfacePressed,ze.neutralStateLayerOpacityActive)};
905
905
 
906
906
  background-color: ${ze.neutralBackgroundColor};
907
907
  color: ${ze.neutralColor};
@@ -919,8 +919,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
919
919
  /** Large styles **/
920
920
 
921
921
  .ft-button--large {
922
- ${Le(js.size,ze.largeIconSize)};
923
- ${Le(Ps.size,ze.largeIconSize)};
922
+ ${Le(Bs.size,ze.largeIconSize)};
923
+ ${Le(Zs.size,ze.largeIconSize)};
924
924
 
925
925
  height: ${ze.largeHeight};
926
926
  padding: 0 ${ze.largeHorizontalPadding};
@@ -942,8 +942,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
942
942
  /** Small styles **/
943
943
 
944
944
  .ft-button--small {
945
- ${Le(js.size,ze.smallIconSize)};
946
- ${Le(Ps.size,ze.smallIconSize)};
945
+ ${Le(Bs.size,ze.smallIconSize)};
946
+ ${Le(Zs.size,ze.smallIconSize)};
947
947
 
948
948
  height: ${ze.smallHeight};
949
949
  padding: 0 ${ze.smallHorizontalPadding};
@@ -961,7 +961,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
961
961
  width: ${ze.smallIconOnlyWidth};
962
962
  padding: unset;
963
963
  }
964
- `,Ve];var ul=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class dl extends cl{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?bn.caption1medium:bn.body2medium}}dl.styles=[qe,pl],ul([R({type:Boolean})],dl.prototype,"primary",void 0),ul([R({type:Boolean})],dl.prototype,"secondary",void 0),ul([R({type:Boolean})],dl.prototype,"tertiary",void 0),ul([R({type:Boolean})],dl.prototype,"neutral",void 0),ul([R({type:Boolean})],dl.prototype,"small",void 0),B("ft-button")(fl),B("ftds-button")(dl);const yl=Ue.extend("--ft-chip-color","",Fe.colorOnSurface),gl={backgroundColor:Ue.extend("--ft-chip-background-color","",Fe.colorSurface),color:yl,fontSize:Ue.extend("--ft-chip-font-size","",Xn.fontSize),iconSize:Ue.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ue.extend("--ft-chip-ripple-color","",yl),horizontalPadding:Ue.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ue.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ue.external(Fe.colorOutline,"Design system"),opacityDisabled:Ue.external(Fe.colorOpacityDisabled,"Design system")},bl=Ue.extend("--ft-chip-highlighted-color","",Ue.extend("--ft-chip-color","",Fe.colorOnPrimary)),vl={backgroundColor:Ue.extend("--ft-chip-highlighted-background-color","",Ue.extend("--ft-chip-background-color","",Fe.colorPrimary)),color:bl,rippleColor:Ue.extend("--ft-chip-highlighted-ripple-color","",bl)},ml=Ue.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),xl=Ue.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ol=[Ve,Ut`
964
+ `,Ve];var bl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class vl extends ul{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?On.caption1medium:On.body2medium}}vl.styles=[qe,gl],bl([R({type:Boolean})],vl.prototype,"primary",void 0),bl([R({type:Boolean})],vl.prototype,"secondary",void 0),bl([R({type:Boolean})],vl.prototype,"tertiary",void 0),bl([R({type:Boolean})],vl.prototype,"neutral",void 0),bl([R({type:Boolean})],vl.prototype,"small",void 0),B("ft-button")(yl),B("ftds-button")(vl);const ml=Ue.extend("--ft-chip-color","",De.colorOnSurface),xl={backgroundColor:Ue.extend("--ft-chip-background-color","",De.colorSurface),color:ml,fontSize:Ue.extend("--ft-chip-font-size","",es.fontSize),iconSize:Ue.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ue.extend("--ft-chip-ripple-color","",ml),horizontalPadding:Ue.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ue.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ue.external(De.colorOutline,"Design system"),opacityDisabled:Ue.external(De.colorOpacityDisabled,"Design system")},Ol=Ue.extend("--ft-chip-highlighted-color","",Ue.extend("--ft-chip-color","",De.colorOnPrimary)),wl={backgroundColor:Ue.extend("--ft-chip-highlighted-background-color","",Ue.extend("--ft-chip-background-color","",De.colorPrimary)),color:Ol,rippleColor:Ue.extend("--ft-chip-highlighted-ripple-color","",Ol)},Sl=Ue.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Nl=Ue.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),$l=[Ve,Ut`
965
965
  :host {
966
966
  display: inline-block;
967
967
  max-width: 100%;
@@ -977,20 +977,20 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
977
977
  box-sizing: border-box;
978
978
  pointer-events: auto;
979
979
 
980
- --ft-chip-internal-font-size: ${gl.fontSize};
980
+ --ft-chip-internal-font-size: ${xl.fontSize};
981
981
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
982
- ${Le(js.size,gl.iconSize)};
983
- --ft-chip-internal-vertical-padding: ${gl.verticalPadding};
984
- --ft-chip-internal-horizontal-padding: ${gl.horizontalPadding};
982
+ ${Le(Bs.size,xl.iconSize)};
983
+ --ft-chip-internal-vertical-padding: ${xl.verticalPadding};
984
+ --ft-chip-internal-horizontal-padding: ${xl.horizontalPadding};
985
985
  --ft-chip-internal-icon-padding: 3px;
986
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${gl.iconSize});
986
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${xl.iconSize});
987
987
 
988
- border: 1px solid ${gl.colorOutline};
989
- color: ${gl.color};
990
- ${Le(en.color,gl.rippleColor)};
988
+ border: 1px solid ${xl.colorOutline};
989
+ color: ${xl.color};
990
+ ${Le(sn.color,xl.rippleColor)};
991
991
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
992
992
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
993
- background-color: ${gl.backgroundColor};
993
+ background-color: ${xl.backgroundColor};
994
994
  line-height: var(--ft-chip-internal-content-height);
995
995
  }
996
996
 
@@ -1000,8 +1000,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1000
1000
 
1001
1001
  .ft-chip--dense {
1002
1002
  --ft-chip-internal-icon-padding: 3px;
1003
- --ft-chip-internal-vertical-padding: ${xl};
1004
- --ft-chip-internal-horizontal-padding: ${ml};
1003
+ --ft-chip-internal-vertical-padding: ${Nl};
1004
+ --ft-chip-internal-horizontal-padding: ${Sl};
1005
1005
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1006
1006
  }
1007
1007
 
@@ -1013,15 +1013,15 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1013
1013
  cursor: default;
1014
1014
  pointer-events: none;
1015
1015
  filter: grayscale(1);
1016
- opacity: ${gl.opacityDisabled};
1016
+ opacity: ${xl.opacityDisabled};
1017
1017
  }
1018
1018
 
1019
1019
  .ft-chip--highlighted {
1020
1020
  border: none;
1021
1021
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1022
- background-color: ${vl.backgroundColor};
1023
- ${Le(en.color,vl.rippleColor)};
1024
- color: ${vl.color};
1022
+ background-color: ${wl.backgroundColor};
1023
+ ${Le(sn.color,wl.rippleColor)};
1024
+ color: ${wl.color};
1025
1025
  }
1026
1026
 
1027
1027
  .ft-chip--clickable {
@@ -1051,9 +1051,9 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1051
1051
  }
1052
1052
 
1053
1053
  .ft-chip--icon-button {
1054
- ${Le(Ks.iconSize,gl.iconSize)};
1055
- ${Le(Ks.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1056
- ${Le(Ks.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1054
+ ${Le(Gs.iconSize,xl.iconSize)};
1055
+ ${Le(Gs.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1056
+ ${Le(Gs.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1057
1057
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1058
1058
  }
1059
1059
 
@@ -1061,8 +1061,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1061
1061
  vertical-align: bottom;
1062
1062
  display: block;
1063
1063
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1064
- ${Le(Xn.fontSize,"var(--ft-chip-internal-font-size)")};
1065
- ${Le(Xn.lineHeight,"var(--ft-chip-internal-content-height)")};
1064
+ ${Le(es.fontSize,"var(--ft-chip-internal-font-size)")};
1065
+ ${Le(es.lineHeight,"var(--ft-chip-internal-content-height)")};
1066
1066
  }
1067
1067
 
1068
1068
  .ft-chip--safari-fix .ft-chip--label {
@@ -1098,8 +1098,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1098
1098
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1099
1099
  order: -1;
1100
1100
  }
1101
- `];var wl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Sl extends CustomEvent{constructor(){super("icon-click")}}class Nl extends He{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":tr};return ue`
1102
- <div class="${Qr(t)}"
1101
+ `];var Cl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class El extends CustomEvent{constructor(){super("icon-click")}}class kl extends He{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":tr};return ue`
1102
+ <div class="${rn(t)}"
1103
1103
  aria-label="${this.getLabel()}"
1104
1104
  tabindex="${this.interactionsOnChip?0:-1}"
1105
1105
  @keyup=${this.onKeyUp}>
@@ -1121,24 +1121,24 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1121
1121
  <div class="ft-chip--icon-container ft-no-text-select">
1122
1122
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1123
1123
  </div>
1124
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Sl))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Sl))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Nl.elementDefinitions={"ft-ripple":fn,"ft-typography":Is,"ft-icon":Bs,"ft-button":fl},Nl.styles=Ol,wl([R({type:Boolean})],Nl.prototype,"highlighted",void 0),wl([R({type:Boolean})],Nl.prototype,"removable",void 0),wl([R({type:Boolean})],Nl.prototype,"disabled",void 0),wl([R({type:Boolean})],Nl.prototype,"clickable",void 0),wl([R({type:Boolean})],Nl.prototype,"iconClickable",void 0),wl([R({type:Boolean})],Nl.prototype,"dense",void 0),wl([R({type:Boolean})],Nl.prototype,"multiLine",void 0),wl([R()],Nl.prototype,"label",void 0),wl([R()],Nl.prototype,"iconLabel",void 0),wl([R()],Nl.prototype,"icon",void 0),wl([R()],Nl.prototype,"iconVariant",void 0),wl([R({type:Boolean})],Nl.prototype,"trailingIcon",void 0),wl([A("ft-typography slot")],Nl.prototype,"slottedContent",void 0),B("ft-chip")(Nl);const $l=Ut`
1125
- `;var Cl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const El=Symbol("i18nProperties"),kl=Symbol("i18nUnsubs");function Rl(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Fr:zr}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[El])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[El])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[El]&&new Set([...this[El].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[kl].has(t)||this[kl].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[kl].forEach((t=>t())),this[kl].clear()}}return e=kl,Cl([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Il extends(Rl(He)){}class Ul extends(Rl(so)){}var Ll=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Al extends Ul{constructor(){super(),this.editorMode=!1,this.addStore(Ur)}render(){return this.key&&this.context?ue`
1124
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new El))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new El))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}kl.elementDefinitions={"ft-ripple":yn,"ft-typography":Ws,"ft-icon":Ks,"ft-button":yl},kl.styles=$l,Cl([R({type:Boolean})],kl.prototype,"highlighted",void 0),Cl([R({type:Boolean})],kl.prototype,"removable",void 0),Cl([R({type:Boolean})],kl.prototype,"disabled",void 0),Cl([R({type:Boolean})],kl.prototype,"clickable",void 0),Cl([R({type:Boolean})],kl.prototype,"iconClickable",void 0),Cl([R({type:Boolean})],kl.prototype,"dense",void 0),Cl([R({type:Boolean})],kl.prototype,"multiLine",void 0),Cl([R()],kl.prototype,"label",void 0),Cl([R()],kl.prototype,"iconLabel",void 0),Cl([R()],kl.prototype,"icon",void 0),Cl([R()],kl.prototype,"iconVariant",void 0),Cl([R({type:Boolean})],kl.prototype,"trailingIcon",void 0),Cl([A("ft-typography slot")],kl.prototype,"slottedContent",void 0),B("ft-chip")(kl);const Rl=Ut`
1125
+ `;var Il=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Ul=Symbol("i18nProperties"),Ll=Symbol("i18nUnsubs");function Al(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Tr:Pr}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[Ul])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Ul])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ul]&&new Set([...this[Ul].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ll].has(t)||this[Ll].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ll].forEach((t=>t())),this[Ll].clear()}}return e=Ll,Il([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Wl extends(Al(He)){}class jl extends(Al(so)){}var zl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Dl extends jl{constructor(){super(),this.editorMode=!1,this.addStore(jr)}render(){return this.key&&this.context?ue`
1126
1126
  <span class="ft-i18n">
1127
1127
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1128
1128
  </span>
1129
- `:this.editorMode?"Select a context and a label key.":ye}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Al.elementDefinitions={},Al.styles=$l,Ll([Xe()],Al.prototype,"editorMode",void 0),Ll([R()],Al.prototype,"context",void 0),Ll([R()],Al.prototype,"key",void 0),Ll([P([])],Al.prototype,"args",void 0),Ll([R()],Al.prototype,"defaultMessage",void 0);class Wl{static build(t){return new Wl(t)}static fromGwt(t){return new Wl(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>zr.resolveMessage(this.name,e,...t)})}}B("ft-i18n")(Al);const jl=Ut`
1130
- `;var zl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Fl extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Dl extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Bl extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Pl extends so{get stateManager(){return null==this._stateManager&&(this._stateManager=Vr.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.filters=[],this.sort=[],this.addStore(Ur)}render(){return ue`
1129
+ `:this.editorMode?"Select a context and a label key.":ye}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Dl.elementDefinitions={},Dl.styles=Rl,zl([Xe()],Dl.prototype,"editorMode",void 0),zl([R()],Dl.prototype,"context",void 0),zl([R()],Dl.prototype,"key",void 0),zl([P([])],Dl.prototype,"args",void 0),zl([R()],Dl.prototype,"defaultMessage",void 0);class Fl{static build(t){return new Fl(t)}static fromGwt(t){return new Fl(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Pr.resolveMessage(this.name,e,...t)})}}B("ft-i18n")(Dl);const Bl=Ut`
1130
+ `;var Pl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Tl extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Ml extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Kl extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Zl extends so{get stateManager(){return null==this._stateManager&&(this._stateManager=Jr.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.filters=[],this.sort=[],this.addStore(jr)}render(){return ue`
1131
1131
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1132
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Dl(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Bl(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Fl(t))}reloadSavedSearches(){Zr.clearMySearches()}clear(){this.stateManager.clear()}}Pl.elementDefinitions={},Pl.styles=jl,zl([R()],Pl.prototype,"query",void 0),zl([R()],Pl.prototype,"contentLocale",void 0),zl([R({type:Number})],Pl.prototype,"pageSize",void 0),zl([R({type:Boolean})],Pl.prototype,"searchInDocumentTitlesOnly",void 0),zl([R()],Pl.prototype,"scope",void 0),zl([R({type:Boolean})],Pl.prototype,"ignoreEmptyQuery",void 0),zl([P([])],Pl.prototype,"filters",void 0),zl([P([])],Pl.prototype,"sort",void 0),zl([Xe({store:"search"})],Pl.prototype,"request",void 0),zl([Xe({store:"search"})],Pl.prototype,"paging",void 0),zl([Xe({store:"search",selector:t=>t.spellcheck})],Pl.prototype,"autocorrect",void 0),zl([Xe({store:Ur.name})],Pl.prototype,"session",void 0),B("ft-search-context")(Pl);const Tl=Ut`
1133
- `,Ml=Ue.extend("--ft-checkbox-text-color","",Fe.colorOnSurfaceHigh),Kl=Ue.extend("--ft-checkbox-font-size","",xn.fontSize),Zl=Ue.external(Fe.colorPrimary,"Design system"),_l=Ue.external(Fe.colorOnPrimary,"Design system"),Hl=Ue.extend("--ft-checkbox-border-color","",Fe.colorOnSurfaceMedium),Gl=Ue.external(Fe.colorOnSurfaceDisabled,"Design system"),Vl=Ut`
1132
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Ml(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Kl(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Tl(t))}reloadSavedSearches(){Vr.clearMySearches()}clear(){this.stateManager.clear()}}Zl.elementDefinitions={},Zl.styles=Bl,Pl([R()],Zl.prototype,"query",void 0),Pl([R()],Zl.prototype,"contentLocale",void 0),Pl([R({type:Number})],Zl.prototype,"pageSize",void 0),Pl([R({type:Boolean})],Zl.prototype,"searchInDocumentTitlesOnly",void 0),Pl([R()],Zl.prototype,"scope",void 0),Pl([R({type:Boolean})],Zl.prototype,"ignoreEmptyQuery",void 0),Pl([P([])],Zl.prototype,"filters",void 0),Pl([P([])],Zl.prototype,"sort",void 0),Pl([Xe({store:"search"})],Zl.prototype,"request",void 0),Pl([Xe({store:"search"})],Zl.prototype,"paging",void 0),Pl([Xe({store:"search",selector:t=>t.spellcheck})],Zl.prototype,"autocorrect",void 0),Pl([Xe({store:jr.name})],Zl.prototype,"session",void 0),B("ft-search-context")(Zl);const _l=Ut`
1133
+ `,Hl=Ue.extend("--ft-checkbox-text-color","",De.colorOnSurfaceHigh),Gl=Ue.extend("--ft-checkbox-font-size","",Nn.fontSize),Vl=Ue.external(De.colorPrimary,"Design system"),ql=Ue.external(De.colorOnPrimary,"Design system"),Yl=Ue.extend("--ft-checkbox-border-color","",De.colorOnSurfaceMedium),Xl=Ue.external(De.colorOnSurfaceDisabled,"Design system"),Jl=Ut`
1134
1134
  * {
1135
1135
  box-sizing: border-box;
1136
1136
  }
1137
1137
 
1138
1138
  .ft-checkbox {
1139
1139
  box-sizing: border-box;
1140
- color: ${Ml};
1141
- font-size: ${Kl};
1140
+ color: ${Hl};
1141
+ font-size: ${Gl};
1142
1142
 
1143
1143
  display: inline-flex;
1144
1144
  align-items: center;
@@ -1146,7 +1146,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1146
1146
  }
1147
1147
 
1148
1148
  .ft-checkbox--disabled {
1149
- color: ${Gl};
1149
+ color: ${Xl};
1150
1150
  }
1151
1151
 
1152
1152
  input {
@@ -1170,26 +1170,26 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1170
1170
 
1171
1171
  .ft-checkbox--box {
1172
1172
  display: flex;
1173
- border: 2px solid ${Hl};
1173
+ border: 2px solid ${Yl};
1174
1174
  border-radius: 2px;
1175
1175
 
1176
1176
  width: 18px;
1177
1177
  height: 18px;
1178
1178
 
1179
- color: ${_l};
1179
+ color: ${ql};
1180
1180
  }
1181
1181
 
1182
1182
 
1183
1183
  .ft-checkbox--checked .ft-checkbox--box,
1184
1184
  .ft-checkbox--indeterminate .ft-checkbox--box {
1185
- border-color: ${Zl};
1186
- background-color: ${Zl};
1185
+ border-color: ${Vl};
1186
+ background-color: ${Vl};
1187
1187
  }
1188
1188
 
1189
1189
  .ft-checkbox--disabled .ft-checkbox--box {
1190
- border-color: ${Gl};
1190
+ border-color: ${Xl};
1191
1191
  background-color: transparent;
1192
- color: ${Gl};
1192
+ color: ${Xl};
1193
1193
  }
1194
1194
 
1195
1195
  .ft-checkbox--checkmark {
@@ -1208,8 +1208,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1208
1208
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1209
1209
  opacity: 1;
1210
1210
  }
1211
- `;var ql=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Yl extends He{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return ue`
1212
- <label class="${Qr(t)}" for="checkbox-input">
1211
+ `;var Ql=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class tc extends He{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return ue`
1212
+ <label class="${rn(t)}" for="checkbox-input">
1213
1213
  <div class="ft-checkbox--box-container">
1214
1214
  <ft-ripple
1215
1215
  ?disabled=${this.disabled}
@@ -1234,14 +1234,14 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1234
1234
  <slot></slot>
1235
1235
  </ft-typography>
1236
1236
  </label>
1237
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Yl.elementDefinitions={"ft-ripple":fn,"ft-typography":Is},Yl.styles=Vl,ql([R()],Yl.prototype,"name",void 0),ql([R({type:Boolean,reflect:!0})],Yl.prototype,"checked",void 0),ql([R({type:Boolean})],Yl.prototype,"indeterminate",void 0),ql([R({type:Boolean})],Yl.prototype,"disabled",void 0),ql([A(".ft-checkbox")],Yl.prototype,"container",void 0),ql([A("ft-ripple")],Yl.prototype,"ripple",void 0),B("ft-checkbox")(Yl);const Xl=Ue.extend("--ft-radio-text-color","",Fe.colorOnSurfaceHigh),Jl=Ue.external(Fe.colorPrimary,"Design system"),Ql=(Ue.external(Fe.colorOnPrimary,"Design system"),Ue.extend("--ft-radio-border-color","",Fe.colorOnSurfaceMedium)),tc=Ue.external(Fe.colorOnSurfaceDisabled,"Design system"),ec=Ut`
1237
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}tc.elementDefinitions={"ft-ripple":yn,"ft-typography":Ws},tc.styles=Jl,Ql([R()],tc.prototype,"name",void 0),Ql([R({type:Boolean,reflect:!0})],tc.prototype,"checked",void 0),Ql([R({type:Boolean})],tc.prototype,"indeterminate",void 0),Ql([R({type:Boolean})],tc.prototype,"disabled",void 0),Ql([A(".ft-checkbox")],tc.prototype,"container",void 0),Ql([A("ft-ripple")],tc.prototype,"ripple",void 0),B("ft-checkbox")(tc);const ec=Ue.extend("--ft-radio-text-color","",De.colorOnSurfaceHigh),oc=Ue.external(De.colorPrimary,"Design system"),ic=(Ue.external(De.colorOnPrimary,"Design system"),Ue.extend("--ft-radio-border-color","",De.colorOnSurfaceMedium)),rc=Ue.external(De.colorOnSurfaceDisabled,"Design system"),nc=Ut`
1238
1238
  * {
1239
1239
  box-sizing: border-box;
1240
1240
  }
1241
1241
 
1242
1242
  .ft-radio {
1243
1243
  box-sizing: border-box;
1244
- color: ${Xl};
1244
+ color: ${ec};
1245
1245
 
1246
1246
  display: inline-flex;
1247
1247
  align-items: center;
@@ -1249,7 +1249,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1249
1249
  }
1250
1250
 
1251
1251
  .ft-radio--disabled {
1252
- color: ${tc};
1252
+ color: ${rc};
1253
1253
  }
1254
1254
 
1255
1255
  input {
@@ -1272,7 +1272,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1272
1272
  }
1273
1273
 
1274
1274
  .ft-radio--box {
1275
- border: 2px solid ${Ql};
1275
+ border: 2px solid ${ic};
1276
1276
  border-radius: 50%;
1277
1277
 
1278
1278
  display: flex;
@@ -1285,7 +1285,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1285
1285
 
1286
1286
  .ft-radio--box:after {
1287
1287
  content: " ";
1288
- background-color: ${Jl};
1288
+ background-color: ${oc};
1289
1289
 
1290
1290
  border-radius: 50%;
1291
1291
 
@@ -1297,7 +1297,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1297
1297
  }
1298
1298
 
1299
1299
  .ft-radio--checked .ft-radio--box {
1300
- border-color: ${Jl};
1300
+ border-color: ${oc};
1301
1301
  }
1302
1302
 
1303
1303
 
@@ -1306,15 +1306,15 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1306
1306
  }
1307
1307
 
1308
1308
  .ft-radio--disabled .ft-radio--box {
1309
- border-color: ${tc};
1309
+ border-color: ${rc};
1310
1310
  background-color: transparent;
1311
1311
  }
1312
1312
 
1313
1313
  .ft-radio--disabled .ft-radio--box:after {
1314
- background-color: ${tc};
1314
+ background-color: ${rc};
1315
1315
  }
1316
- `;var oc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ic extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class rc extends He{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ue`
1317
- <div class="${Qr(t)}">
1316
+ `;var sc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ac extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class lc extends He{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ue`
1317
+ <div class="${rn(t)}">
1318
1318
  <div class="ft-radio--box-container">
1319
1319
  <ft-ripple
1320
1320
  ?disabled=${this.disabled}
@@ -1338,22 +1338,22 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1338
1338
  </ft-typography>
1339
1339
  </label>
1340
1340
  </div>
1341
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new ic(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ic(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}rc.elementDefinitions={"ft-ripple":fn,"ft-typography":Is},rc.styles=ec,oc([R()],rc.prototype,"value",void 0),oc([R()],rc.prototype,"name",void 0),oc([R({type:Boolean,reflect:!0})],rc.prototype,"checked",void 0),oc([R({type:Boolean})],rc.prototype,"disabled",void 0),oc([A(".ft-radio")],rc.prototype,"container",void 0),oc([A("ft-ripple")],rc.prototype,"ripple",void 0),oc([A("input")],rc.prototype,"input",void 0);const nc=Ut`
1341
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new ac(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new ac(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}lc.elementDefinitions={"ft-ripple":yn,"ft-typography":Ws},lc.styles=nc,sc([R()],lc.prototype,"value",void 0),sc([R()],lc.prototype,"name",void 0),sc([R({type:Boolean,reflect:!0})],lc.prototype,"checked",void 0),sc([R({type:Boolean})],lc.prototype,"disabled",void 0),sc([A(".ft-radio")],lc.prototype,"container",void 0),sc([A("ft-ripple")],lc.prototype,"ripple",void 0),sc([A("input")],lc.prototype,"input",void 0);const cc=Ut`
1342
1342
  :host {
1343
1343
  display: contents;
1344
1344
  }
1345
- `;var sc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ac extends He{constructor(){super(...arguments),this.name=""}render(){return ue`
1345
+ `;var hc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fc extends He{constructor(){super(...arguments),this.name=""}render(){return ue`
1346
1346
  <slot @slotchange=${this.onSlotChange}
1347
1347
  @change=${this.onChange}
1348
1348
  @keydown=${this.onKeyDown}
1349
1349
  ></slot>
1350
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}ac.elementDefinitions={},ac.styles=nc,sc([R()],ac.prototype,"name",void 0),sc([
1350
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}fc.elementDefinitions={},fc.styles=cc,hc([R()],fc.prototype,"name",void 0),hc([
1351
1351
  /**
1352
1352
  * @license
1353
1353
  * Copyright 2021 Google LLC
1354
1354
  * SPDX-License-Identifier: BSD-3-Clause
1355
1355
  */
1356
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],ac.prototype,"radioButtons",void 0),B("ft-radio")(rc),B("ft-radio-group")(ac);const lc={borderRadiusM:Ue.external(Fe.borderRadiusM,"Design system"),colorOutline:Ue.external(Fe.colorOutline,"Design system"),colorOnSurface:Ue.external(Fe.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ue.external(Fe.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ue.external(Fe.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ue.external(Fe.colorPrimary,"Design system"),colorOnPrimary:Ue.external(Fe.colorOnPrimary,"Design system"),fontFamily:Ue.external(Xn.fontFamily,"Body2 typography"),fontSize:Ue.external(Xn.fontSize,"Body2 typography"),fontWeight:Ue.external(Xn.fontWeight,"Body2 typography"),letterSpacing:Ue.external(Xn.letterSpacing,"Body2 typography"),lineHeight:Ue.external(Xn.lineHeight,"Body2 typography"),textTransform:Ue.external(Xn.textTransform,"Body2 typography")},cc=Ut`
1356
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],fc.prototype,"radioButtons",void 0),B("ft-radio")(lc),B("ft-radio-group")(fc);const pc={borderRadiusM:Ue.external(De.borderRadiusM,"Design system"),colorOutline:Ue.external(De.colorOutline,"Design system"),colorOnSurface:Ue.external(De.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ue.external(De.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ue.external(De.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ue.external(De.colorPrimary,"Design system"),colorOnPrimary:Ue.external(De.colorOnPrimary,"Design system"),fontFamily:Ue.external(es.fontFamily,"Body2 typography"),fontSize:Ue.external(es.fontSize,"Body2 typography"),fontWeight:Ue.external(es.fontWeight,"Body2 typography"),letterSpacing:Ue.external(es.letterSpacing,"Body2 typography"),lineHeight:Ue.external(es.lineHeight,"Body2 typography"),textTransform:Ue.external(es.textTransform,"Body2 typography")},uc=Ut`
1357
1357
  .ft-filter-level--container {
1358
1358
  display: flex;
1359
1359
  flex-direction: column;
@@ -1367,14 +1367,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1367
1367
  flex-shrink: 0;
1368
1368
  text-decoration: none;
1369
1369
  position: relative;
1370
- border-radius: ${lc.borderRadiusM};
1370
+ border-radius: ${pc.borderRadiusM};
1371
1371
  overflow: hidden;
1372
1372
  display: flex;
1373
1373
  align-items: center;
1374
1374
  padding: 4px 4px;
1375
1375
  gap: 4px;
1376
1376
  cursor: pointer;
1377
- color: ${lc.colorOnSurface};
1377
+ color: ${pc.colorOnSurface};
1378
1378
  }
1379
1379
 
1380
1380
  .ft-filter-level--go-back:focus {
@@ -1403,7 +1403,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1403
1403
  }
1404
1404
 
1405
1405
  ft-button {
1406
- ${Le(Ks.color,lc.colorOnSurface)};
1406
+ ${Le(Gs.color,pc.colorOnSurface)};
1407
1407
  }
1408
1408
 
1409
1409
  ft-radio, ft-checkbox {
@@ -1417,9 +1417,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1417
1417
 
1418
1418
  .ft-filter-level--no-values {
1419
1419
  margin: 10px 0;
1420
- color: ${lc.colorOnSurfaceMedium};
1420
+ color: ${pc.colorOnSurfaceMedium};
1421
1421
  }
1422
- `;var hc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fc extends He{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return ue`
1422
+ `;var dc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class yc extends He{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return ue`
1423
1423
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1424
1424
  ${null==this.parent?null:ue`
1425
1425
  <div tabindex="0"
@@ -1468,7 +1468,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1468
1468
  data-value="${t.value}"
1469
1469
  .checked=${t.selected}
1470
1470
  .disabled=${this.disabled}
1471
- .indeterminate=${F(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1471
+ .indeterminate=${D(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1472
1472
  @change=${e=>this.optionsChanged(e,t)}>
1473
1473
  ${t.renderOption?t.renderOption:t.label}
1474
1474
  </ft-checkbox>
@@ -1483,7 +1483,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1483
1483
  @change=${t=>t.stopPropagation()}>
1484
1484
  ${t.renderOption?t.renderOption:t.label}
1485
1485
  </ft-radio>
1486
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}fc.elementDefinitions={"ft-button":fl,"ft-ripple":fn,"ft-typography":Is,"ft-checkbox":Yl,"ft-icon":Bs,"ft-radio":rc},fc.styles=cc,hc([R({type:String})],fc.prototype,"filterId",void 0),hc([R({type:Object})],fc.prototype,"parent",void 0),hc([R({type:Array})],fc.prototype,"options",void 0),hc([R({type:Boolean})],fc.prototype,"multivalued",void 0),hc([R({type:Boolean})],fc.prototype,"disabled",void 0),hc([R({type:Boolean})],fc.prototype,"hideSelectedOptions",void 0),hc([R({type:Boolean})],fc.prototype,"preventNavigation",void 0),hc([R({type:String})],fc.prototype,"filter",void 0),hc([R({type:String})],fc.prototype,"moreValuesButtonLabel",void 0),hc([R({type:String})],fc.prototype,"noValuesLabel",void 0),hc([R({type:Number})],fc.prototype,"displayedValuesLimit",void 0),hc([A(".ft-filter-level--container")],fc.prototype,"container",void 0),hc([I()],fc.prototype,"displayedPages",void 0);const pc={buttonsColor:Ue.extend("--ft-snap-scroll-buttons-color","",Fe.colorPrimary),buttonsZIndex:Ue.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ue.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ue.external(Fe.colorSurface,"Design system")},uc=Ut`
1486
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}yc.elementDefinitions={"ft-button":yl,"ft-ripple":yn,"ft-typography":Ws,"ft-checkbox":tc,"ft-icon":Ks,"ft-radio":lc},yc.styles=uc,dc([R({type:String})],yc.prototype,"filterId",void 0),dc([R({type:Object})],yc.prototype,"parent",void 0),dc([R({type:Array})],yc.prototype,"options",void 0),dc([R({type:Boolean})],yc.prototype,"multivalued",void 0),dc([R({type:Boolean})],yc.prototype,"disabled",void 0),dc([R({type:Boolean})],yc.prototype,"hideSelectedOptions",void 0),dc([R({type:Boolean})],yc.prototype,"preventNavigation",void 0),dc([R({type:String})],yc.prototype,"filter",void 0),dc([R({type:String})],yc.prototype,"moreValuesButtonLabel",void 0),dc([R({type:String})],yc.prototype,"noValuesLabel",void 0),dc([R({type:Number})],yc.prototype,"displayedValuesLimit",void 0),dc([A(".ft-filter-level--container")],yc.prototype,"container",void 0),dc([I()],yc.prototype,"displayedPages",void 0);const gc={buttonsColor:Ue.extend("--ft-snap-scroll-buttons-color","",De.colorPrimary),buttonsZIndex:Ue.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ue.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ue.external(De.colorSurface,"Design system")},bc=Ut`
1487
1487
  .ft-snap-scroll {
1488
1488
  box-sizing: border-box;
1489
1489
  position: relative;
@@ -1518,7 +1518,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1518
1518
  flex-wrap: nowrap;
1519
1519
  align-items: flex-start;
1520
1520
  justify-content: flex-start;
1521
- gap: ${pc.gap};
1521
+ gap: ${gc.gap};
1522
1522
  }
1523
1523
 
1524
1524
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1561,11 +1561,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1561
1561
  .ft-snap-scroll--next {
1562
1562
  position: absolute;
1563
1563
  display: flex;
1564
- z-index: ${pc.buttonsZIndex};
1564
+ z-index: ${gc.buttonsZIndex};
1565
1565
  opacity: 1;
1566
1566
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1567
- ${Le(Ks.backgroundColor,"transparent")};
1568
- ${Le(Ks.color,pc.buttonsColor)};
1567
+ ${Le(Gs.backgroundColor,"transparent")};
1568
+ ${Le(Gs.color,gc.buttonsColor)};
1569
1569
  }
1570
1570
 
1571
1571
  .ft-snap-scroll--previous[hidden],
@@ -1578,37 +1578,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1578
1578
  top: 0;
1579
1579
  left: -1px;
1580
1580
  bottom: 0;
1581
- background: linear-gradient(to right, ${pc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1581
+ background: linear-gradient(to right, ${gc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1582
1582
  }
1583
1583
 
1584
1584
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1585
1585
  top: -1px;
1586
1586
  left: 0;
1587
1587
  right: 0;
1588
- background: linear-gradient(to bottom, ${pc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1588
+ background: linear-gradient(to bottom, ${gc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1589
1589
  }
1590
1590
 
1591
1591
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1592
1592
  top: 0;
1593
1593
  right: -1px;
1594
1594
  bottom: 0;
1595
- background: linear-gradient(to left, ${pc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1595
+ background: linear-gradient(to left, ${gc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1596
1596
  }
1597
1597
 
1598
1598
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1599
1599
  left: 0;
1600
1600
  right: 0;
1601
1601
  bottom: -1px;
1602
- background: linear-gradient(to top, ${pc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1602
+ background: linear-gradient(to top, ${gc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1603
1603
  }
1604
1604
 
1605
1605
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1606
1606
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1607
1607
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1608
1608
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1609
- background-color: ${pc.colorSurface};
1609
+ background-color: ${gc.colorSurface};
1610
1610
  }
1611
- `;var dc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class yc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class gc extends He{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Qr({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":tr}),e=this.controls&&this.withScroll;return ue`
1611
+ `;var vc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class mc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class xc extends He{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=rn({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":tr}),e=this.controls&&this.withScroll;return ue`
1612
1612
  <div part="container" class="${t}">
1613
1613
  <ft-button
1614
1614
  class="ft-snap-scroll--previous"
@@ -1632,7 +1632,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1632
1632
  @click=${this.next}
1633
1633
  ></ft-button>
1634
1634
  </div>
1635
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new yc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}gc.elementDefinitions={"ft-button":fl},gc.styles=uc,dc([R({type:Boolean})],gc.prototype,"horizontal",void 0),dc([R({type:Boolean})],gc.prototype,"hideScrollbar",void 0),dc([R({type:Boolean})],gc.prototype,"controls",void 0),dc([R({type:Boolean})],gc.prototype,"limitSize",void 0),dc([I()],gc.prototype,"elements",void 0),dc([I()],gc.prototype,"currentElement",void 0),dc([I()],gc.prototype,"withScroll",void 0),dc([I()],gc.prototype,"startReached",void 0),dc([I()],gc.prototype,"endReached",void 0),dc([A(".ft-snap-scroll--content")],gc.prototype,"contentSlot",void 0),B("ft-snap-scroll")(gc);const bc=Ue.external(Fe.colorOutline,"Design system"),vc=Ue.external(Fe.colorOnSurface,"Design system"),mc=Ue.external(Fe.colorOnSurfaceMedium,"Design system"),xc=Ue.external(Fe.colorPrimary,"Design system"),Oc=Ue.external(Fe.colorSurface,"Design system"),wc=Ue.external(Fe.transitionDuration,"Design system"),Sc=Ue.external(Fe.transitionTimingFunction,"Design system"),Nc=Ue.extend("--ft-filter-label-color","",Fe.colorOnSurface),$c=Ue.extend("--ft-filter-label-font-size","",xn.fontSize,"14px"),Cc=[Ss,Ut`
1635
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new mc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}xc.elementDefinitions={"ft-button":yl},xc.styles=bc,vc([R({type:Boolean})],xc.prototype,"horizontal",void 0),vc([R({type:Boolean})],xc.prototype,"hideScrollbar",void 0),vc([R({type:Boolean})],xc.prototype,"controls",void 0),vc([R({type:Boolean})],xc.prototype,"limitSize",void 0),vc([I()],xc.prototype,"elements",void 0),vc([I()],xc.prototype,"currentElement",void 0),vc([I()],xc.prototype,"withScroll",void 0),vc([I()],xc.prototype,"startReached",void 0),vc([I()],xc.prototype,"endReached",void 0),vc([A(".ft-snap-scroll--content")],xc.prototype,"contentSlot",void 0),B("ft-snap-scroll")(xc);const Oc=Ue.external(De.colorOutline,"Design system"),wc=Ue.external(De.colorOnSurface,"Design system"),Sc=Ue.external(De.colorOnSurfaceMedium,"Design system"),Nc=Ue.external(De.colorPrimary,"Design system"),$c=Ue.external(De.colorSurface,"Design system"),Cc=Ue.external(De.transitionDuration,"Design system"),Ec=Ue.external(De.transitionTimingFunction,"Design system"),kc=Ue.extend("--ft-filter-label-color","",De.colorOnSurface),Rc=Ue.extend("--ft-filter-label-font-size","",Nn.fontSize,"14px"),Ic=[Es,Ut`
1636
1636
  :host {
1637
1637
  display: flex;
1638
1638
  max-height: 100%;
@@ -1659,7 +1659,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1659
1659
  .ft-filter--header ft-button {
1660
1660
  flex-shrink: 0;
1661
1661
  margin-left: auto;
1662
- ${Le(Ks.iconSize,"18px")};
1662
+ ${Le(Gs.iconSize,"18px")};
1663
1663
  }
1664
1664
 
1665
1665
  .ft-filter--label {
@@ -1667,10 +1667,10 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1667
1667
  flex-shrink: 1;
1668
1668
  flex-grow: 1;
1669
1669
  word-break: break-word;
1670
- color: ${Nc};
1671
- font-size: ${$c};
1672
- ${Le(xn.lineHeight,"22px")};
1673
- ${Le(xn.fontWeight,"bold")};
1670
+ color: ${kc};
1671
+ font-size: ${Rc};
1672
+ ${Le(Nn.lineHeight,"22px")};
1673
+ ${Le(Nn.fontWeight,"bold")};
1674
1674
  }
1675
1675
 
1676
1676
  .ft-filter--filter {
@@ -1681,8 +1681,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1681
1681
  padding: 0 10px;
1682
1682
  overflow: hidden;
1683
1683
  height: 32px;
1684
- transition: height ${wc} ${Sc},
1685
- margin ${wc} ${Sc};
1684
+ transition: height ${Cc} ${Ec},
1685
+ margin ${Cc} ${Ec};
1686
1686
  transition-delay: 500ms;
1687
1687
  }
1688
1688
 
@@ -1695,15 +1695,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1695
1695
  display: block;
1696
1696
  width: 100%;
1697
1697
  border-radius: 4px;
1698
- border: 1px solid ${bc};
1698
+ border: 1px solid ${Oc};
1699
1699
  padding: 4px;
1700
- background-color: ${Oc};
1701
- color: ${vc};
1702
- outline-color: ${xc};
1700
+ background-color: ${$c};
1701
+ color: ${wc};
1702
+ outline-color: ${Nc};
1703
1703
  }
1704
1704
 
1705
1705
  input::placeholder {
1706
- color: ${mc};
1706
+ color: ${Sc};
1707
1707
  }
1708
1708
 
1709
1709
  input:placeholder-shown {
@@ -1719,7 +1719,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1719
1719
  }
1720
1720
 
1721
1721
  .ft-filter--separator {
1722
- border-top: 1px solid ${bc};
1722
+ border-top: 1px solid ${Oc};
1723
1723
  margin: 4px 10px;
1724
1724
  }
1725
1725
 
@@ -1744,7 +1744,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1744
1744
  slot:not([name]) {
1745
1745
  display: none;
1746
1746
  }
1747
- `];var Ec=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class kc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Rc extends He{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return F(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return F(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return ue`
1747
+ `];var Uc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Lc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Ac extends He{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return D(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return D(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return ue`
1748
1748
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1749
1749
  part="container">
1750
1750
  ${this.label||t?ue`
@@ -1816,18 +1816,18 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1816
1816
  .exportpartsPrefixes=${["values","available-values"]}
1817
1817
  noValuesLabel="${this.noValuesLabel}"
1818
1818
  ></ft-filter-level>
1819
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;D(this.lastDispatchedValues,t)||(this.dispatchEvent(new kc(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Rc.elementDefinitions={"ft-button":fl,"ft-filter-level":fc,"ft-snap-scroll":gc,"ft-typography":Is},Rc.styles=Cc,Ec([R({type:String})],Rc.prototype,"id",void 0),Ec([R({type:String})],Rc.prototype,"label",void 0),Ec([R({type:String})],Rc.prototype,"filterPlaceHolder",void 0),Ec([R({type:String})],Rc.prototype,"clearButtonLabel",void 0),Ec([R({type:String})],Rc.prototype,"moreValuesButtonLabel",void 0),Ec([R({type:String})],Rc.prototype,"noValuesLabel",void 0),Ec([P([])],Rc.prototype,"options",void 0),Ec([R({type:Boolean})],Rc.prototype,"multivalued",void 0),Ec([R({type:Boolean})],Rc.prototype,"disabled",void 0),Ec([R({type:Boolean})],Rc.prototype,"raiseSelectedOptions",void 0),Ec([R({type:Number})],Rc.prototype,"displayedValuesLimit",void 0),Ec([R({type:Boolean})],Rc.prototype,"hideClearButton",void 0),Ec([A(".ft-filter--slot")],Rc.prototype,"slotElement",void 0),Ec([A(".ft-filter--container")],Rc.prototype,"container",void 0),Ec([A(".ft-filter--values")],Rc.prototype,"valuesContainer",void 0),Ec([A(".ft-filter--levels")],Rc.prototype,"levelsContainer",void 0),Ec([I()],Rc.prototype,"lastLevelHasHiddenvalues",void 0),Ec([A(".ft-filter--filter input")],Rc.prototype,"filterInput",void 0),Ec([function(t){return(e,o)=>L(0,0,{get(){return(this.renderRoot??(W??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Rc.prototype,"levels",void 0),Ec([I()],Rc.prototype,"withScroll",void 0),Ec([I()],Rc.prototype,"filter",void 0),Ec([I()],Rc.prototype,"slideIn",void 0),Ec([I()],Rc.prototype,"slideOut",void 0);var Ic=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Uc extends He{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ue`
1819
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;F(this.lastDispatchedValues,t)||(this.dispatchEvent(new Lc(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Ac.elementDefinitions={"ft-button":yl,"ft-filter-level":yc,"ft-snap-scroll":xc,"ft-typography":Ws},Ac.styles=Ic,Uc([R({type:String})],Ac.prototype,"id",void 0),Uc([R({type:String})],Ac.prototype,"label",void 0),Uc([R({type:String})],Ac.prototype,"filterPlaceHolder",void 0),Uc([R({type:String})],Ac.prototype,"clearButtonLabel",void 0),Uc([R({type:String})],Ac.prototype,"moreValuesButtonLabel",void 0),Uc([R({type:String})],Ac.prototype,"noValuesLabel",void 0),Uc([P([])],Ac.prototype,"options",void 0),Uc([R({type:Boolean})],Ac.prototype,"multivalued",void 0),Uc([R({type:Boolean})],Ac.prototype,"disabled",void 0),Uc([R({type:Boolean})],Ac.prototype,"raiseSelectedOptions",void 0),Uc([R({type:Number})],Ac.prototype,"displayedValuesLimit",void 0),Uc([R({type:Boolean})],Ac.prototype,"hideClearButton",void 0),Uc([A(".ft-filter--slot")],Ac.prototype,"slotElement",void 0),Uc([A(".ft-filter--container")],Ac.prototype,"container",void 0),Uc([A(".ft-filter--values")],Ac.prototype,"valuesContainer",void 0),Uc([A(".ft-filter--levels")],Ac.prototype,"levelsContainer",void 0),Uc([I()],Ac.prototype,"lastLevelHasHiddenvalues",void 0),Uc([A(".ft-filter--filter input")],Ac.prototype,"filterInput",void 0),Uc([function(t){return(e,o)=>L(0,0,{get(){return(this.renderRoot??(W??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Ac.prototype,"levels",void 0),Uc([I()],Ac.prototype,"withScroll",void 0),Uc([I()],Ac.prototype,"filter",void 0),Uc([I()],Ac.prototype,"slideIn",void 0),Uc([I()],Ac.prototype,"slideOut",void 0);var Wc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class jc extends He{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ue`
1820
1820
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1821
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Uc.elementDefinitions={},Ic([R({type:String})],Uc.prototype,"label",void 0),Ic([R({type:Object,converter:t=>t})],Uc.prototype,"value",void 0),Ic([R({type:Boolean,reflect:!0})],Uc.prototype,"selected",void 0),Ic([R({type:Object})],Uc.prototype,"subOptions",void 0),Ic([P({})],Uc.prototype,"renderOption",void 0),Ic([A(".ft-filter-option--slot")],Uc.prototype,"slotElement",void 0),B("ft-filter")(Rc),B("ft-filter-option")(Uc);const Lc=Wl.build("designedSearchType"),Ac={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Wc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class jc extends(Rl(Jr)){constructor(){super(),this.addI18nContext(Lc,Ac)}render(){return ue`
1821
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}jc.elementDefinitions={},Wc([R({type:String})],jc.prototype,"label",void 0),Wc([R({type:Object,converter:t=>t})],jc.prototype,"value",void 0),Wc([R({type:Boolean,reflect:!0})],jc.prototype,"selected",void 0),Wc([R({type:Object})],jc.prototype,"subOptions",void 0),Wc([P({})],jc.prototype,"renderOption",void 0),Wc([A(".ft-filter-option--slot")],jc.prototype,"slotElement",void 0),B("ft-filter")(Ac),B("ft-filter-option")(jc);const zc=Fl.build("designedSearchType"),Dc={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Fc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Bc extends(Al(on)){constructor(){super(),this.addI18nContext(zc,Dc)}render(){return ue`
1822
1822
  <ft-filter
1823
- label=${Lc.messages.label()}
1824
- .options=${[{label:Lc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1823
+ label=${zc.messages.label()}
1824
+ .options=${[{label:zc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1825
1825
  part="filter"
1826
1826
  .exportpartsPrefixes=${["filter"]}
1827
1827
  multivalued
1828
1828
  @change=${this.onSelected}
1829
1829
  ></ft-filter>
1830
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}jc.elementDefinitions={"ft-filter":Rc},jc.styles=Tl,Wc([Xe({selector:Hr})],jc.prototype,"searchInDocumentTitlesOnly",void 0),Wc([A("ft-filter")],jc.prototype,"filter",void 0),B("ft-search-type")(jc);var zc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Fc extends(Rl(Jr)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(Lc,Ac)}render(){return this.hasSomethingToDisplay?ue`
1830
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Bc.elementDefinitions={"ft-filter":Ac},Bc.styles=_l,Fc([Xe({selector:Yr})],Bc.prototype,"searchInDocumentTitlesOnly",void 0),Fc([A("ft-filter")],Bc.prototype,"filter",void 0),B("ft-search-type")(Bc);var Pc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Tc extends(Al(on)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(zc,Dc)}render(){return this.hasSomethingToDisplay?ue`
1831
1831
  <div class="ft-search-selected-facets--container">
1832
1832
  ${pr(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return pr(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1833
1833
  ${this.renderSearchInDocumentTitlesOnly()}
@@ -1845,14 +1845,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1845
1845
  ${this.getLabelFromValue(i)}
1846
1846
  </ft-chip>
1847
1847
  </ft-tooltip>
1848
- `}getSelectedValues(t){return F(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?ue`
1849
- <ft-tooltip inline text="${Lc.messages.documentTitlesOnly()}"
1848
+ `}getSelectedValues(t){return D(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?ue`
1849
+ <ft-tooltip inline text="${zc.messages.documentTitlesOnly()}"
1850
1850
  part="tooltips tooltip-search-in-document-titles-only">
1851
1851
  <ft-chip
1852
1852
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1853
1853
  removable
1854
1854
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1855
- ${Lc.messages.documentTitlesOnly()}
1855
+ ${zc.messages.documentTitlesOnly()}
1856
1856
  </ft-chip>
1857
1857
  </ft-tooltip>
1858
- `:ye}}Fc.elementDefinitions={"ft-chip":Nl,"ft-tooltip":sl},Fc.styles=dr,zc([Xe({store:"search"})],Fc.prototype,"facets",void 0),zc([Xe({store:"search",selector:Hr})],Fc.prototype,"searchInDocumentTitlesOnly",void 0),B("ft-search-selected-facets")(Fc),t.FtSearchSelectedFacets=Fc,t.FtSearchSelectedFacetsCssVariables=ur,t.styles=dr}({});
1858
+ `:ye}}Tc.elementDefinitions={"ft-chip":kl,"ft-tooltip":hl},Tc.styles=dr,Pc([Xe({store:"search"})],Tc.prototype,"facets",void 0),Pc([Xe({store:"search",selector:Yr})],Tc.prototype,"searchInDocumentTitlesOnly",void 0),B("ft-search-selected-facets")(Tc),t.FtSearchSelectedFacets=Tc,t.FtSearchSelectedFacetsCssVariables=ur,t.styles=dr}({});