@fluid-topics/ft-search-selected-facets 1.1.25 → 1.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,17 +12,17 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(a.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=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,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=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=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&&s.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 a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(zs){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,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},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)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ds){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
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const a=globalThis,s=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;const h=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,l),f=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return h(e)})(t):t
20
+ */const a=globalThis,s=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;const f=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,l),h=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return f(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:p,defineProperty:u,getOwnPropertyDescriptor:d,getOwnPropertyNames:y,getOwnPropertySymbols:g,getPrototypeOf:b}=Object,v=globalThis,m=v.trustedTypes,x=m?m.emptyScript:"",O=v.reactiveElementPolyfillSupport,w=(t,e)=>t,S={toAttribute(t,e){switch(e){case Boolean:t=t?x: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}},N=(t,e)=>!p(t,e),$={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;let C=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=$){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&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=d(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)??$}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,e=[...y(t),...g(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(f(t))}else void 0!==t&&e.push(f(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(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=a.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:S).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:S;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??N)(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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[w("elementProperties")]=new Map,C[w("finalized")]=new Map,O?.({ReactiveElement:C}),(v.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:p,defineProperty:d,getOwnPropertyDescriptor:u,getOwnPropertyNames:y,getOwnPropertySymbols:g,getPrototypeOf:b}=Object,m=globalThis,v=m.trustedTypes,x=v?v.emptyScript:"",O=m.reactiveElementPolyfillSupport,w=(t,e)=>t,S={toAttribute(t,e){switch(e){case Boolean:t=t?x: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}},N=(t,e)=>!p(t,e),$={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),m.litPropertyMetadata??=new WeakMap;let C=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=$){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&&d(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=u(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)??$}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,e=[...y(t),...g(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(h(t))}else void 0!==t&&e.push(h(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(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=a.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:S).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:S;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??N)(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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[w("elementProperties")]=new Map,C[w("finalized")]=new Map,O?.({ReactiveElement:C}),(m.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
@@ -48,17 +48,17 @@ const E={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N},k=(t=E,e,
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function A(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return L(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return L(0,0,{get(){return n(this)}})}}
51
+ */;function W(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return L(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return L(0,0,{get(){return n(this)}})}}
52
52
  /**
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 A;const z=t=>new Promise((e=>setTimeout(e,t)));async function D(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 z(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded")}((async()=>null!=await t()),e,o),await t()}function j(t,e){return t.flatMap((t=>[t,...j(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
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const T=globalThis,M=T.trustedTypes,K=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,H="?"+_,G=`<${H}>`,V=document,q=()=>V.createComment(""),Y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,X=Array.isArray,J=t=>X(t)||"function"==typeof t?.[Symbol.iterator],Q="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,et=/-->/g,ot=/>/g,it=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),rt=/'/g,nt=/"/g,at=/^(?:script|style|textarea|title)$/i,st=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),lt=Symbol.for("lit-noChange"),ct=Symbol.for("lit-nothing"),ht=new WeakMap,ft=V.createTreeWalker(V,129);function pt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const ut=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=tt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===tt?"!--"===l[1]?a=et:void 0!==l[1]?a=ot:void 0!==l[2]?(at.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=it):void 0!==l[3]&&(a=it):a===it?">"===l[0]?(a=r??tt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?it:'"'===l[3]?nt:rt):a===nt||a===rt?a=it:a===et||a===ot?a=tt:(a=it,r=void 0);const f=a===it&&t[e+1].startsWith("/>")?" ":"";n+=a===tt?o+G:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+_+f):o+_+(-2===c?e:f)}return[pt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let dt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,h]=ut(e,o);if(this.el=t.createElement(c,i),ft.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ft.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=h[a++],o=r.getAttribute(t).split(_),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?mt:"?"===i[1]?xt:"@"===i[1]?Ot:vt}),r.removeAttribute(t)}else t.startsWith(_)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(at.test(r.tagName)){const t=r.textContent.split(_),e=t.length-1;if(e>0){r.textContent=M?M.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],q()),ft.nextNode(),l.push({type:2,index:++n});r.append(t[e],q())}}}else if(8===r.nodeType)if(r.data===H)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(_,t+1));)l.push({type:7,index:n}),t+=_.length-1}n++}}static createElement(t,e){const o=V.createElement("template");return o.innerHTML=t,o}};function yt(t,e,o=t,i){if(e===lt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Y(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=yt(t,r._$AS(t,e.values),r,i)),e}let gt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??V).importNode(e,!0);ft.currentNode=i;let r=ft.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new bt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new wt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ft.nextNode(),n++)}return ft.currentNode=V,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},bt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ct,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=yt(this,t,e),Y(t)?t===ct||null==t||""===t?(this._$AH!==ct&&this._$AR(),this._$AH=ct):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):J(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ct&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.$(V.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=dt.createElement(pt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new gt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ht.get(t.strings);return void 0===e&&ht.set(t.strings,e=new dt(t)),e}T(e){X(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(q()),this.k(q()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ct,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ct}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=yt(this,t,e,0),n=!Y(t)||t!==this._$AH&&t!==lt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=yt(this,i[o+a],e,a),s===lt&&(s=this._$AH[a]),n||=!Y(s)||s!==this._$AH[a],s===ct?t=ct:t!==ct&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mt=class extends vt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ct?void 0:t}},xt=class extends vt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ct)}},Ot=class extends vt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=yt(this,t,e,0)??ct)===lt)return;const o=this._$AH,i=t===ct&&o!==ct||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ct&&(o===ct||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},wt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){yt(this,t)}};const St={j:Z,P:_,A:H,C:1,M:ut,L:gt,R:J,V:yt,D:bt,I:vt,H:xt,N:Ot,U:mt,B:wt},Nt=T.litHtmlPolyfillSupport;Nt?.(dt,bt),(T.litHtmlVersions??=[]).push("3.1.0");
61
+ */const K=globalThis,T=K.trustedTypes,M=T?T.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,H="?"+_,G=`<${H}>`,V=document,q=()=>V.createComment(""),Y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,X=Array.isArray,J=t=>X(t)||"function"==typeof t?.[Symbol.iterator],Q="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,et=/-->/g,ot=/>/g,it=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),rt=/'/g,nt=/"/g,at=/^(?:script|style|textarea|title)$/i,st=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),lt=Symbol.for("lit-noChange"),ct=Symbol.for("lit-nothing"),ft=new WeakMap,ht=V.createTreeWalker(V,129);function pt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}const dt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=tt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===tt?"!--"===l[1]?a=et:void 0!==l[1]?a=ot:void 0!==l[2]?(at.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=it):void 0!==l[3]&&(a=it):a===it?">"===l[0]?(a=r??tt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?it:'"'===l[3]?nt:rt):a===nt||a===rt?a=it:a===et||a===ot?a=tt:(a=it,r=void 0);const h=a===it&&t[e+1].startsWith("/>")?" ":"";n+=a===tt?o+G:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+_+h):o+_+(-2===c?e:h)}return[pt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let ut=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=dt(e,o);if(this.el=t.createElement(c,i),ht.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ht.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=r.getAttribute(t).split(_),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?vt:"?"===i[1]?xt:"@"===i[1]?Ot:mt}),r.removeAttribute(t)}else t.startsWith(_)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(at.test(r.tagName)){const t=r.textContent.split(_),e=t.length-1;if(e>0){r.textContent=T?T.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],q()),ht.nextNode(),l.push({type:2,index:++n});r.append(t[e],q())}}}else if(8===r.nodeType)if(r.data===H)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(_,t+1));)l.push({type:7,index:n}),t+=_.length-1}n++}}static createElement(t,e){const o=V.createElement("template");return o.innerHTML=t,o}};function yt(t,e,o=t,i){if(e===lt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Y(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=yt(t,r._$AS(t,e.values),r,i)),e}let gt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??V).importNode(e,!0);ht.currentNode=i;let r=ht.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new bt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new wt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ht.nextNode(),n++)}return ht.currentNode=V,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},bt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ct,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=yt(this,t,e),Y(t)?t===ct||null==t||""===t?(this._$AH!==ct&&this._$AR(),this._$AH=ct):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):J(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ct&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.$(V.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ut.createElement(pt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new gt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ft.get(t.strings);return void 0===e&&ft.set(t.strings,e=new ut(t)),e}T(e){X(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(q()),this.k(q()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},mt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ct,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ct}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=yt(this,t,e,0),n=!Y(t)||t!==this._$AH&&t!==lt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=yt(this,i[o+a],e,a),s===lt&&(s=this._$AH[a]),n||=!Y(s)||s!==this._$AH[a],s===ct?t=ct:t!==ct&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vt=class extends mt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ct?void 0:t}},xt=class extends mt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ct)}},Ot=class extends mt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=yt(this,t,e,0)??ct)===lt)return;const o=this._$AH,i=t===ct&&o!==ct||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ct&&(o===ct||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},wt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){yt(this,t)}};const St={j:Z,P:_,A:H,C:1,M:dt,L:gt,R:J,V:yt,D:bt,I:mt,H:xt,N:Ot,U:vt,B:wt},Nt=K.litHtmlPolyfillSupport;Nt?.(ut,bt),(K.litHtmlVersions??=[]).push("3.1.0");
62
62
  /**
63
63
  * @license
64
64
  * Copyright 2019 Google LLC
@@ -69,25 +69,25 @@ 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:Wt,defineProperty:At,getOwnPropertyDescriptor:zt,getOwnPropertyNames:Dt,getOwnPropertySymbols:jt,getPrototypeOf:Ft}=Object,Bt=globalThis,Pt=Bt.trustedTypes,Kt=Pt?Pt.emptyScript:"",Tt=Bt.reactiveElementPolyfillSupport,Mt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},_t=(t,e)=>!Wt(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&&At(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=zt(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(Mt("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(Mt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Mt("properties"))){const t=this.properties,e=[...Dt(t),...jt(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[Mt("elementProperties")]=new Map,Gt[Mt("finalized")]=new Map,Tt?.({ReactiveElement:Gt}),(Bt.reactiveElementVersions??=[]).push("2.0.2");
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
76
76
  * SPDX-License-Identifier: BSD-3-Clause
77
77
  */
78
- const Vt=globalThis,qt=Vt.trustedTypes,Yt=qt?qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xt="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,Qt="?"+Jt,te=`<${Qt}>`,ee=document,oe=()=>ee.createComment(""),ie=t=>null===t||"object"!=typeof t&&"function"!=typeof t,re=Array.isArray,ne="[ \t\n\f\r]",ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,se=/-->/g,le=/>/g,ce=RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),he=/'/g,fe=/"/g,pe=/^(?:script|style|textarea|title)$/i,ue=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),de=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),ge=new WeakMap,be=ee.createTreeWalker(ee,129);function ve(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Yt?Yt.createHTML(e):e}class me{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=ae;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===ae?"!--"===l[1]?a=se:void 0!==l[1]?a=le:void 0!==l[2]?(pe.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ce):void 0!==l[3]&&(a=ce):a===ce?">"===l[0]?(a=r??ae,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ce:'"'===l[3]?fe:he):a===fe||a===he?a=ce:a===se||a===le?a=ae:(a=ce,r=void 0);const f=a===ce&&t[e+1].startsWith("/>")?" ":"";n+=a===ae?o+te:c>=0?(i.push(s),o.slice(0,c)+Xt+o.slice(c)+Jt+f):o+Jt+(-2===c?e:f)}return[ve(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=me.createElement(l,o),be.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=be.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Xt)){const e=c[n++],o=i.getAttribute(t).split(Jt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Se:"?"===a[1]?Ne:"@"===a[1]?$e:we}),i.removeAttribute(t)}else t.startsWith(Jt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(pe.test(i.tagName)){const t=i.textContent.split(Jt),e=t.length-1;if(e>0){i.textContent=qt?qt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],oe()),be.nextNode(),s.push({type:2,index:++r});i.append(t[e],oe())}}}else if(8===i.nodeType)if(i.data===Qt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Jt,t+1));)s.push({type:7,index:r}),t+=Jt.length-1}r++}}static createElement(t,e){const o=ee.createElement("template");return o.innerHTML=t,o}}function xe(t,e,o=t,i){if(e===de)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=ie(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=xe(t,r._$AS(t,e.values),r,i)),e}let Oe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ye,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=xe(this,t,e),ie(t)?t===ye||null==t||""===t?(this._$AH!==ye&&this._$AR(),this._$AH=ye):t!==this._$AH&&t!==de&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>re(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ye&&ie(this._$AH)?this._$AA.nextSibling.data=t:this.$(ee.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=me.createElement(ve(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??ee).importNode(e,!0);be.currentNode=i;let r=be.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Oe(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ce(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=be.nextNode(),n++)}return be.currentNode=ee,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ge.get(t.strings);return void 0===e&&ge.set(t.strings,e=new me(t)),e}T(e){re(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(oe()),this.k(oe()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},we=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ye,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ye}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=xe(this,t,e,0),n=!ie(t)||t!==this._$AH&&t!==de,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=xe(this,i[o+a],e,a),s===de&&(s=this._$AH[a]),n||=!ie(s)||s!==this._$AH[a],s===ye?t=ye:t!==ye&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Se=class extends we{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ye?void 0:t}},Ne=class extends we{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ye)}},$e=class extends we{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=xe(this,t,e,0)??ye)===de)return;const o=this._$AH,i=t===ye&&o!==ye||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ye&&(o===ye||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ce=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){xe(this,t)}};const Ee=Vt.litHtmlPolyfillSupport;Ee?.(me,Oe),(Vt.litHtmlVersions??=[]).push("3.1.0");
78
+ const Vt=globalThis,qt=Vt.trustedTypes,Yt=qt?qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xt="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,Qt="?"+Jt,te=`<${Qt}>`,ee=document,oe=()=>ee.createComment(""),ie=t=>null===t||"object"!=typeof t&&"function"!=typeof t,re=Array.isArray,ne="[ \t\n\f\r]",ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,se=/-->/g,le=/>/g,ce=RegExp(`>|${ne}(?:([^\\s"'>=/]+)(${ne}*=${ne}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),fe=/'/g,he=/"/g,pe=/^(?:script|style|textarea|title)$/i,de=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ue=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),ge=new WeakMap,be=ee.createTreeWalker(ee,129);function me(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Yt?Yt.createHTML(e):e}class ve{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=ae;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===ae?"!--"===l[1]?a=se:void 0!==l[1]?a=le:void 0!==l[2]?(pe.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ce):void 0!==l[3]&&(a=ce):a===ce?">"===l[0]?(a=r??ae,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ce:'"'===l[3]?he:fe):a===he||a===fe?a=ce:a===se||a===le?a=ae:(a=ce,r=void 0);const h=a===ce&&t[e+1].startsWith("/>")?" ":"";n+=a===ae?o+te:c>=0?(i.push(s),o.slice(0,c)+Xt+o.slice(c)+Jt+h):o+Jt+(-2===c?e:h)}return[me(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=ve.createElement(l,o),be.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=be.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Xt)){const e=c[n++],o=i.getAttribute(t).split(Jt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Se:"?"===a[1]?Ne:"@"===a[1]?$e:we}),i.removeAttribute(t)}else t.startsWith(Jt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(pe.test(i.tagName)){const t=i.textContent.split(Jt),e=t.length-1;if(e>0){i.textContent=qt?qt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],oe()),be.nextNode(),s.push({type:2,index:++r});i.append(t[e],oe())}}}else if(8===i.nodeType)if(i.data===Qt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Jt,t+1));)s.push({type:7,index:r}),t+=Jt.length-1}r++}}static createElement(t,e){const o=ee.createElement("template");return o.innerHTML=t,o}}function xe(t,e,o=t,i){if(e===ue)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=ie(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=xe(t,r._$AS(t,e.values),r,i)),e}let Oe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ye,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=xe(this,t,e),ie(t)?t===ye||null==t||""===t?(this._$AH!==ye&&this._$AR(),this._$AH=ye):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>re(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ye&&ie(this._$AH)?this._$AA.nextSibling.data=t:this.$(ee.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ve.createElement(me(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??ee).importNode(e,!0);be.currentNode=i;let r=be.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Oe(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ce(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=be.nextNode(),n++)}return be.currentNode=ee,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ge.get(t.strings);return void 0===e&&ge.set(t.strings,e=new ve(t)),e}T(e){re(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(oe()),this.k(oe()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},we=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ye,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ye}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=xe(this,t,e,0),n=!ie(t)||t!==this._$AH&&t!==ue,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=xe(this,i[o+a],e,a),s===ue&&(s=this._$AH[a]),n||=!ie(s)||s!==this._$AH[a],s===ye?t=ye:t!==ye&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Se=class extends we{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ye?void 0:t}},Ne=class extends we{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ye)}},$e=class extends we{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=xe(this,t,e,0)??ye)===ue)return;const o=this._$AH,i=t===ye&&o!==ye||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ye&&(o===ye||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ce=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){xe(this,t)}};const Ee=Vt.litHtmlPolyfillSupport;Ee?.(ve,Oe),(Vt.litHtmlVersions??=[]).push("3.1.0");
79
79
  /**
80
80
  * @license
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=["start","end"],Be=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+De[0],e+"-"+De[1])),[]),Pe=Math.min,Te=Math.max,Me=Math.round,Ke=t=>({x:t,y:t}),Ze={left:"right",right:"left",bottom:"top",top:"bottom"},_e={start:"end",end:"start"};function He(t,e,o){return Te(t,Pe(e,o))}function Ge(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>Ze[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const n=Je(e),a=Qe(e),s=Xe(a),l=Ve(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/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(qe(e)){case"start":u[a]-=p*(o&&c?-1:1);break;case"end":u[a]+=p*(o&&c?-1:1)}return u}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:u=0}=Ge(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=s[p?"floating"===f?"reference":"floating":f],g=eo(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.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=eo(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 ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>_e[t]))}(o)!==o)))}const no=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=Be,autoAlignment:u=!0,...d}=Ge(t,e),y=void 0!==f||p===Be?ro(f||null,u,p):p,g=await io(e,d),b=(null==(o=a.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=qe(t),r=Qe(t),n=Xe(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=to(a)),[a,to(a)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==v)return{reset:{placement:y[0]}};const x=[g[Ve(v)],g[m[0]],g[m[1]]],O=[...(null==(i=a.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=qe(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,qe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ao(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function so(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function lo(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof so(t).Node}function ho(t){return t instanceof Element||t instanceof so(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof so(t).HTMLElement}function po(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof so(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=mo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function yo(t){return["table","td","th"].includes(ao(t))}function go(t){const e=bo(),o=mo(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 bo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function vo(t){return["html","body","#document"].includes(ao(t))}function mo(t){return so(t).getComputedStyle(t)}function xo(t){return ho(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Oo(t){if("html"===ao(t))return t;const e=t.assignedSlot||t.parentNode||po(t)&&t.host||lo(t);return po(e)?e.host:e}function wo(t){const e=Oo(t);return vo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:wo(e)}function So(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=so(r);return n?e.concat(a,a.visualViewport||[],uo(r)?r:[],a.frameElement&&o?So(a.frameElement):[]):e.concat(r,So(r,[],o))}function No(t){const e=mo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Me(o)!==n||Me(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function $o(t){return ho(t)?t:t.contextElement}function Co(t){const e=$o(t);if(!fo(e))return Ke(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=No(e);let a=(n?Me(o.width):o.width)/i,s=(n?Me(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Eo=Ke(0);function ko(t){const e=so(t);return bo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Eo}function Ro(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=$o(t);let a=Ke(1);e&&(i?ho(i)&&(a=Co(i)):a=Co(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==so(t))&&e}(n,o,i)?ko(n):Ke(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,f=r.height/a.y;if(n){const t=so(n),e=i&&ho(i)?so(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Co(o),e=o.getBoundingClientRect(),i=mo(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=so(o).frameElement}}return eo({width:h,height:f,x:l,y:c})}function Io(t){return Ro(lo(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=so(t),i=lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=lo(t),o=xo(t),i=t.ownerDocument.body,r=Te(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Te(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Io(t);const s=-o.scrollTop;return"rtl"===mo(i).direction&&(a+=Te(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(lo(t));else if(ho(e))i=function(t,e){const o=Ro(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=fo(t)?Co(t):Ke(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=ko(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function Lo(t,e){const o=Oo(t);return!(o===e||!ho(o)||vo(o))&&("fixed"===mo(o).position||Lo(o,e))}function Ao(t,e,o){const i=fo(e),r=lo(e),n="fixed"===o,a=Ro(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Ke(0);if(i||!i&&!n)if(("body"!==ao(e)||uo(r))&&(s=xo(e)),i){const t=Ro(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Io(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Wo(t,e){return fo(t)&&"fixed"!==mo(t).position?e?e(t):t.offsetParent:null}function jo(t,e){const o=so(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&yo(i)&&"static"===mo(i).position;)i=Wo(i,e);return i&&("html"===ao(i)||"body"===ao(i)&&"static"===mo(i).position&&!go(i))?o:i||function(t){let e=Oo(t);for(;fo(e)&&!vo(e);){if(go(e))return e;e=Oo(e)}return null}(t)||o}const zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),n=lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ke(1);const l=Ke(0);if((r||!r&&"fixed"!==i)&&(("body"!==ao(o)||uo(n))&&(a=xo(o)),fo(o))){const t=Ro(o);s=Co(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:lo,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=So(t,[],!1).filter((t=>ho(t)&&"body"!==ao(t))),r=null;const n="fixed"===mo(t).position;let a=n?Oo(t):t;for(;ho(a)&&!vo(a);){const e=mo(a),o=go(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(a)&&!o&&Lo(t,a))?i=i.filter((t=>t!==a)):r=e,a=Oo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=Te(i.top,t.top),t.right=Pe(i.right,t.right),t.bottom=Pe(i.bottom,t.bottom),t.left=Te(i.left,t.left),t}),Uo(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:jo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||jo,n=this.getDimensions;return{reference:Ao(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 No(t)},getScale:Co,isElement:ho,isRTL:function(t){return"rtl"===mo(t).direction}},Fo=(t,e,o)=>{const i=new Map,r={platform:zo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=oo(c,i,l),p=i,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[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:a,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 a.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:h,y:f}=oo(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};function Do(t){return function(t){for(let e=t;e;e=Bo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bo(t);e;e=Bo(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 Bo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
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 ue}};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 We={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"),shadowElevation01:Ue.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Ue.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Ue.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Ue.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Ue.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Ue.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Ue.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Ue.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Ue.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ae={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","1.5rem"),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","500"),lineHeight:Ue.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),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","500"),lineHeight:Ue.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ue.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),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")},"caption-3-medium":{fontFamily:Ue.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ue.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ue.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ue.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ue.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ue.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ue.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ue.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ue.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ue.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ue.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ue.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ue.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ue.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ue.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},ze={backgroundActionPrimary:Ue.extend("--ft-background-action-primary","Used as backgorund of primary action components.",We.colorBrand0),backgroundErrorPrimary:Ue.extend("--ft-background-error-primary","Used as background of error components.",We.colorRed0),backgroundErrorSubtle:Ue.extend("--ft-background-error-subtle","Used as background of subtle error components.",We.colorRed10),backgroundInfoPrimary:Ue.extend("--ft-background-info-primary","Used as background of information components.",We.colorCyan200),backgroundInfoSubtle:Ue.extend("--ft-background-info-subtle","Used as background of subtle information components.",We.colorCyan10),backgroundWarningPrimary:Ue.extend("--ft-background-warning-primary","Used as background of warning components.",We.colorOrange300),backgroundWarningSubtle:Ue.extend("--ft-background-warning-subtle","Used as background of subtle information components.",We.colorOrange10),backgroundSuccessPrimary:Ue.extend("--ft-background-success-primary","Used as background of success components.",We.colorGreen200),backgroundSuccessSubtle:Ue.extend("--ft-background-success-subtle","Used as background of subtle success components.",We.colorGreen10),backgroundGlobalSurface:Ue.extend("--ft-background-global-surface","Used as app background.",We.colorWhite),backgroundGlobalOnSurface:Ue.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",We.colorGray10),backgroundGlobalOnSurfaceDark:Ue.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",We.colorGray30),contentActionPrimary:Ue.extend("--ft-content-action-primary","Used on label of primary action on light surface.",We.colorBrand0),contentWarningPrimary:Ue.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",We.colorOrange300),contentWarningIconOnly:Ue.extend("--ft-content-warning-icon-only","Used on warning status icons alone",We.colorOrange0),contentErrorPrimary:Ue.extend("--ft-content-error-primary","Used on label of error messages on light surface.",We.colorRed0),contentErrorIconOnly:Ue.extend("--ft-content-error-icon-only","Used on error status icons alone",We.colorRed0),contentInfoPrimary:Ue.extend("--ft-content-info-primary","Used on label of information messages on light surface.",We.colorCyan200),contentInfoIconOnly:Ue.extend("--ft-content-info-icon-only","Used on info status icons alone",We.colorCyan0),contentSuccessPrimary:Ue.extend("--ft-content-success-primary","Used on label of success messages on light surface.",We.colorGreen200),contentSuccessIconOnly:Ue.extend("--ft-content-success-icon-only","Used on success status icons alone",We.colorGreen0),contentGlobalPrimary:Ue.extend("--ft-content-global-primary","Used for main content on the page.",We.colorGray500),contentGlobalSecondary:Ue.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",We.colorGray200),contentGlobalSubtle:Ue.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",We.colorGray0),contentGlobalOnColor:Ue.extend("--ft-content-global-on-color","Used for content on a dominant color.",We.colorWhite),borderActionPrimary:Ue.extend("--ft-border-action-primary","Used as border for primary action components.",We.colorBrand0),borderActionFocusRing:Ue.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",We.colorCyan0),borderWarningPrimary:Ue.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",We.colorOrange300),borderWarningSubtle:Ue.extend("--ft-border-warning-subtle","Used as border for warning components.",We.colorOrange30),borderSuccessPrimary:Ue.extend("--ft-border-success-primary","Used as border for success buttons.",We.colorGreen200),borderSuccessSubtle:Ue.extend("--ft-border-success-subtle","Used as border for success components.",We.colorGreen30),borderErrorPrimary:Ue.extend("--ft-border-error-primary","Used as border for text fields in error states.",We.colorRed0),borderErrorSubtle:Ue.extend("--ft-border-error-subtle","Used as border for error components.",We.colorRed30),borderInfoPrimary:Ue.extend("--ft-border-info-primary","Used as border for buttons in info color.",We.colorCyan200),borderInfoSubtle:Ue.extend("--ft-border-info-subtle","Used as border for information components.",We.colorCyan30),borderGlobalPrimary:Ue.extend("--ft-border-global-primary","Used as border for element like input.",We.colorGray50),borderGlobalSubtle:Ue.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",We.colorGray30),borderInputPrimary:Ue.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",We.colorGray80)},De={largeHeight:Ue.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ue.extend("--ft-button-large-horizontal-padding","",We.spacing4),largeGap:Ue.extend("--ft-button-large-gap","",We.spacing2),largeBorderRadius:Ue.extend("--ft-button-large-border-radius","",We.borderRadiusS),largeIconSize:Ue.extend("--ft-button-large-icon-size","",We.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","",We.spacing3),smallGap:Ue.extend("--ft-button-small-gap","",We.spacing2),smallBorderRadius:Ue.extend("--ft-button-small-border-radius","",We.borderRadiusS),smallIconSize:Ue.extend("--ft-button-small-icon-size","",We.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","",ze.backgroundActionPrimary),primaryColor:Ue.extend("--ft-button-primary-color","",ze.contentGlobalOnColor),primaryIconColor:Ue.extend("--ft-button-primary-icon-color","",ze.contentGlobalOnColor),primaryStateLayerColor:Ue.extend("--ft-button-primary-state-layer-color","",ze.contentGlobalOnColor),primaryStateLayerOpacityHover:Ue.extend("--ft-button-primary-state-layer-opacity-hover","",We.opacity16),primaryStateLayerOpacityFocus:Ue.extend("--ft-button-primary-state-layer-opacity-focus","",We.opacity16),primaryStateLayerOpacityActive:Ue.extend("--ft-button-primary-state-layer-opacity-active","",We.opacity24),primaryComponentOpacityDisabled:Ue.extend("--ft-button-primary-component-opacity-disabled","",We.opacity40),focusFocusRingColor:Ue.extend("--ft-button-focus-focus-ring-color","",ze.borderActionFocusRing),tertiaryBackgroundColor:Ue.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ue.extend("--ft-button-tertiary-color","",ze.contentActionPrimary),tertiaryIconColor:Ue.extend("--ft-button-tertiary-icon-color","",ze.contentActionPrimary),tertiaryStateLayerColor:Ue.extend("--ft-button-tertiary-state-layer-color","",ze.contentActionPrimary),tertiaryStateLayerOpacityHover:Ue.extend("--ft-button-tertiary-state-layer-opacity-hover","",We.opacity8),tertiaryStateLayerOpacityFocus:Ue.extend("--ft-button-tertiary-state-layer-opacity-focus","",We.opacity8),tertiaryStateLayerOpacityActive:Ue.extend("--ft-button-tertiary-state-layer-opacity-active","",We.opacity16),tertiaryComponentOpacityDisabled:Ue.extend("--ft-button-tertiary-component-opacity-disabled","",We.opacity40),secondaryBackgroundColor:Ue.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ue.extend("--ft-button-secondary-color","",ze.contentActionPrimary),secondaryIconColor:Ue.extend("--ft-button-secondary-icon-color","",ze.contentActionPrimary),secondaryStateLayerColor:Ue.extend("--ft-button-secondary-state-layer-color","",ze.contentActionPrimary),secondaryStateLayerOpacityHover:Ue.extend("--ft-button-secondary-state-layer-opacity-hover","",We.opacity8),secondaryStateLayerOpacityFocus:Ue.extend("--ft-button-secondary-state-layer-opacity-focus","",We.opacity8),secondaryStateLayerOpacityActive:Ue.extend("--ft-button-secondary-state-layer-opacity-active","",We.opacity16),secondaryComponentOpacityDisabled:Ue.extend("--ft-button-secondary-component-opacity-disabled","",We.opacity40),secondaryBorderColor:Ue.extend("--ft-button-secondary-border-color","",ze.borderActionPrimary),neutralBackgroundColor:Ue.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ue.extend("--ft-button-neutral-icon-color","",ze.contentGlobalSecondary),neutralColor:Ue.extend("--ft-button-neutral-color","",ze.contentGlobalSecondary),neutralStateLayerColor:Ue.extend("--ft-button-neutral-state-layer-color","",ze.contentGlobalSecondary),neutralStateLayerOpacityHover:Ue.extend("--ft-button-neutral-state-layer-opacity-hover","",We.opacity8),neutralStateLayerOpacityFocus:Ue.extend("--ft-button-neutral-state-layer-opacity-focus","",We.opacity8),neutralStateLayerOpacityActive:Ue.extend("--ft-button-neutral-state-layer-opacity-active","",We.opacity16),neutralComponentOpacityDisabled:Ue.extend("--ft-button-neutral-component-opacity-disabled","",We.opacity40)};Ue.extend("--ft-floating-menu-horizontal-padding","",We.spacing4),Ue.extend("--ft-floating-menu-vertical-padding","",We.spacing4),Ue.extend("--ft-floating-menu-off-icon-color","",ze.contentGlobalPrimary),Ue.extend("--ft-floating-menu-off-color","",ze.contentGlobalPrimary),Ue.extend("--ft-floating-menu-on-color","",ze.contentActionPrimary),Ue.extend("--ft-floating-menu-on-icon-color","",ze.contentActionPrimary),Ue.extend("--ft-floating-menu-on-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-floating-menu-gap","",We.spacing3),Ue.extend("--ft-floating-menu-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ue.extend("--ft-floating-menu-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-floating-menu-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-floating-menu-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-floating-menu-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-floating-menu-icon-size","",We.iconSize3),Ue.extend("--ft-floating-menu-background-color","",ze.backgroundGlobalOnSurface),Ue.extend("--ft-tabs-top-left-border-radius","",We.borderRadiusS),Ue.extend("--ft-tabs-top-right-border-radius","",We.borderRadiusS),Ue.extend("--ft-tabs-label-horizontal-padding","",We.spacing4),Ue.extend("--ft-tabs-label-vertical-padding","",We.spacing3),Ue.extend("--ft-tabs-label-gap","",We.spacing1),Ue.extend("--ft-tabs-icon-horizontal-padding","",We.spacing1),Ue.extend("--ft-tabs-icon-vertical-padding","",We.spacing4),Ue.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-tabs-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.extend("--ft-tabs-off-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-tabs-off-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-tabs-off-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-tabs-off-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-tabs-off-color","",ze.contentGlobalSubtle),Ue.extend("--ft-tabs-off-state-layer-color","",ze.contentGlobalSubtle),Ue.extend("--ft-tabs-on-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-tabs-on-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-tabs-on-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-tabs-on-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-tabs-on-color","",ze.contentActionPrimary),Ue.extend("--ft-tabs-on-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-collapsible-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-collapsible-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-collapsible-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-collapsible-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-collapsible-horizontal-padding","",We.spacing4),Ue.extend("--ft-collapsible-vertical-padding","",We.spacing3),Ue.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ue.extend("--ft-collapsible-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.extend("--ft-collapsible-color","",ze.contentGlobalPrimary),Ue.extend("--ft-collapsible-state-layer-color","",ze.contentGlobalPrimary),Ue.extend("--ft-collapsible-background-color","",ze.backgroundGlobalOnSurface),Ue.extend("--ft-collapsible-border-color","",ze.borderGlobalSubtle),Ue.extend("--ft-collapsible-icon-size","",We.iconSize3),Ue.extend("--ft-switch-group-horizontal-padding","",We.spacing1),Ue.extend("--ft-switch-group-vertical-padding","",We.spacing1),Ue.extend("--ft-switch-group-gap","",We.spacing1),Ue.extend("--ft-switch-group-background-color","",ze.backgroundGlobalSurface),Ue.extend("--ft-switch-group-border-color","",ze.borderGlobalSubtle),Ue.create("--ft-switch-group-border-radius","","SIZE","6px"),Ue.extend("--ft-switch-label-horizontal-padding","",We.spacing2),Ue.extend("--ft-switch-label-vertical-padding","",We.spacing1),Ue.extend("--ft-switch-icon-horizontal-padding","",We.spacing1),Ue.extend("--ft-switch-icon-vertical-padding","",We.spacing1),Ue.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-switch-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.extend("--ft-switch-option-border-radius","",We.borderRadiusS),Ue.extend("--ft-switch-off-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-switch-off-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-switch-off-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-switch-off-color","",ze.contentGlobalSubtle),Ue.extend("--ft-switch-off-state-layer-color","",ze.contentGlobalSubtle),Ue.extend("--ft-switch-on-state-layer-opacity-hover","",We.opacity8),Ue.extend("--ft-switch-on-state-layer-opacity-focus","",We.opacity8),Ue.extend("--ft-switch-on-state-layer-opacity-active","",We.opacity16),Ue.extend("--ft-switch-on-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-switch-on-color","",ze.contentActionPrimary),Ue.extend("--ft-switch-on-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-chart-1-light","for area color charts",We.colorBrand40),Ue.extend("--ft-chart-1-base","for line charts",We.colorBrand0),Ue.extend("--ft-chart-2-light","for area color charts",We.colorYellow60),Ue.extend("--ft-chart-2-base","for line charts",We.colorYellow100),Ue.extend("--ft-chart-3-light","",We.colorUltramarine40),Ue.extend("--ft-chart-3-base","",We.colorUltramarine70),Ue.extend("--ft-chart-4-light","",We.colorCyan50),Ue.extend("--ft-chart-4-base","",We.colorCyan100),Ue.extend("--ft-chart-5-light","",We.colorRed40),Ue.extend("--ft-chart-5-base","",We.colorRed60),Ue.extend("--ft-chart-6-light","",We.colorGreen40),Ue.extend("--ft-chart-6-base","",We.colorGreen70),Ue.extend("--ft-chart-7-light","",We.colorOrange70),Ue.extend("--ft-chart-7-base","",We.colorOrange100),Ue.extend("--ft-chart-8-light","",We.colorAvocado70),Ue.extend("--ft-chart-8-base","",We.colorAvocado200),Ue.extend("--ft-chart-9-light","",We.colorBrown50),Ue.extend("--ft-chart-9-base","",We.colorBrown200),Ue.extend("--ft-chart-10-light","",We.colorGray50),Ue.extend("--ft-chart-10-base","",We.colorGray80),Ue.extend("--ft-chart-monochrome-10","",We.colorBrand10),Ue.extend("--ft-chart-monochrome-20","",We.colorBrand20),Ue.extend("--ft-chart-monochrome-30","",We.colorBrand40),Ue.extend("--ft-chart-monochrome-40","",We.colorBrand60),Ue.extend("--ft-chart-monochrome-50","",We.colorBrand0),Ue.extend("--ft-chart-monochrome-60","",We.colorBrand200),Ue.extend("--ft-chip-large-horizontal-padding","",We.spacing4),Ue.extend("--ft-chip-large-vertical-padding","",We.spacing2),Ue.extend("--ft-chip-large-gap","",We.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","",We.borderRadiusPill),Ue.create("--ft-chip-large-border-width","","SIZE","1px"),Ue.extend("--ft-chip-large-icon-size","",We.iconSize3),Ue.extend("--ft-chip-medium-horizontal-padding","",We.spacing3),Ue.extend("--ft-chip-medium-vertical-padding","",We.spacing1),Ue.extend("--ft-chip-medium-gap","",We.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","",We.borderRadiusPill),Ue.create("--ft-chip-medium-border-width","","SIZE","1px"),Ue.extend("--ft-chip-medium-icon-size","",We.iconSize2),Ue.extend("--ft-chip-small-horizontal-padding","",We.spacing2),Ue.extend("--ft-chip-small-vertical-padding","",We.spacing05),Ue.extend("--ft-chip-small-gap","",We.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","",We.borderRadiusPill),Ue.create("--ft-chip-small-border-width","","SIZE","1px"),Ue.extend("--ft-chip-small-icon-size","",We.iconSize1),Ue.extend("--ft-chip-neutral-background-color","",ze.backgroundGlobalOnSurface),Ue.extend("--ft-chip-neutral-color","",ze.contentGlobalPrimary),Ue.extend("--ft-chip-neutral-border-color","",ze.borderGlobalSubtle),Ue.extend("--ft-chip-info-background-color","",ze.backgroundInfoSubtle),Ue.extend("--ft-chip-info-color","",ze.contentInfoPrimary),Ue.extend("--ft-chip-info-border-color","",ze.borderInfoSubtle),Ue.extend("--ft-chip-success-background-color","",ze.backgroundSuccessSubtle),Ue.extend("--ft-chip-success-color","",ze.contentSuccessPrimary),Ue.extend("--ft-chip-success-border-color","",ze.borderSuccessSubtle),Ue.extend("--ft-chip-warning-background-color","",ze.backgroundWarningSubtle),Ue.extend("--ft-chip-warning-color","",ze.contentWarningPrimary),Ue.extend("--ft-chip-warning-border-color","",ze.borderWarningSubtle),Ue.extend("--ft-chip-error-background-color","",ze.backgroundErrorSubtle),Ue.extend("--ft-chip-error-color","",ze.contentErrorPrimary),Ue.extend("--ft-chip-error-border-color","",ze.borderErrorSubtle),Ue.create("--ft-notice-border-width","","SIZE","1px"),Ue.extend("--ft-notice-horizontal-padding","",We.spacing2),Ue.extend("--ft-notice-vertical-padding","",We.spacing1),Ue.extend("--ft-notice-border-radius","",We.borderRadiusS),Ue.extend("--ft-notice-gap","",We.spacing2),Ue.extend("--ft-notice-icon-size","",We.iconSize3),Ue.extend("--ft-notice-info-background-color","",ze.backgroundInfoSubtle),Ue.extend("--ft-notice-info-border-color","",ze.borderInfoSubtle),Ue.extend("--ft-notice-info-color","",ze.contentInfoPrimary),Ue.extend("--ft-notice-warning-background-color","",ze.backgroundWarningSubtle),Ue.extend("--ft-notice-warning-border-color","",ze.borderWarningSubtle),Ue.extend("--ft-notice-warning-color","",ze.contentWarningPrimary),Ue.extend("--ft-checkbox-label-color","",ze.contentGlobalPrimary),Ue.extend("--ft-checkbox-checked-background-color","",ze.contentActionPrimary),Ue.extend("--ft-checkbox-checked-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-checkbox-checked-color","",ze.contentGlobalOnColor),Ue.extend("--ft-checkbox-checked-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-checkbox-checked-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-checkbox-checked-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-checkbox-unchecked-border-color","",We.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-color","",We.colorGray80),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-checkbox-unchecked-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-checkbox-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-checkbox-gap","",We.spacing3),Ue.extend("--ft-toggle-off-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-toggle-off-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-toggle-off-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-toggle-off-background-color","",ze.contentGlobalSubtle),Ue.extend("--ft-toggle-off-icon-color","",ze.contentGlobalSubtle),Ue.extend("--ft-toggle-off-state-layer-color","",ze.contentGlobalSubtle),Ue.extend("--ft-toggle-on-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-toggle-on-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-toggle-on-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-toggle-on-background-color","",ze.contentActionPrimary),Ue.extend("--ft-toggle-on-icon-color","",ze.contentActionPrimary),Ue.extend("--ft-toggle-on-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-toggle-label-color","",ze.contentGlobalPrimary),Ue.extend("--ft-toggle-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.extend("--ft-toggle-gap","",We.spacing3),Ue.extend("--ft-radio-label-color","",ze.contentGlobalPrimary),Ue.extend("--ft-radio-selected-color","",ze.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-color","",ze.contentActionPrimary),Ue.extend("--ft-radio-selected-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-radio-selected-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-radio-selected-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-radio-unselected-state-layer-color","",We.colorGray80),Ue.extend("--ft-radio-unselected-state-layer-opacity-hover","",We.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-focus","",We.opacity16),Ue.extend("--ft-radio-unselected-state-layer-opacity-active","",We.opacity24),Ue.extend("--ft-radio-unselected-component-opacity-disabled","",We.opacity40),Ue.extend("--ft-radio-focus-focus-ring-color","",ze.borderActionFocusRing),Ue.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ue.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ue.extend("--ft-radio-gap","",We.spacing3),Ue.extend("--ft-notification-icon-size","",We.iconSize4),Ue.extend("--ft-notification-horizontal-padding","",We.spacing4),Ue.extend("--ft-notification-vertical-padding","",We.spacing4),Ue.extend("--ft-notification-info-background-color","",ze.backgroundInfoSubtle),Ue.extend("--ft-notification-info-color","",ze.contentInfoPrimary),Ue.extend("--ft-notification-info-border-color","",ze.borderInfoSubtle),Ue.extend("--ft-notification-success-background-color","",ze.backgroundSuccessSubtle),Ue.extend("--ft-notification-success-color","",ze.contentSuccessPrimary),Ue.extend("--ft-notification-success-border-color","",ze.borderSuccessSubtle),Ue.extend("--ft-notification-warning-background-color","",ze.backgroundWarningSubtle),Ue.extend("--ft-notification-warning-color","",ze.contentWarningPrimary),Ue.extend("--ft-notification-warning-border-color","",ze.borderWarningSubtle),Ue.extend("--ft-notification-error-background-color","",ze.backgroundErrorSubtle),Ue.extend("--ft-notification-error-color","",ze.contentErrorPrimary),Ue.extend("--ft-notification-error-border-color","",ze.borderErrorSubtle),Ue.extend("--ft-notification-border-radius","",We.borderRadiusPill),Ue.create("--ft-notification-border-width","","SIZE","1px"),Ue.extend("--ft-notification-gap-leading","",We.spacing2),Ue.extend("--ft-notification-gap-trailing","",We.spacing8),Ue.extend("--ft-tooltip-horizontal-padding","",We.spacing2),Ue.extend("--ft-tooltip-vertical-padding","",We.spacing2),Ue.extend("--ft-tooltip-border-radius","",We.borderRadiusS),Ue.extend("--ft-tooltip-label","",ze.contentGlobalOnColor),Ue.extend("--ft-tooltip-background","",ze.contentGlobalPrimary),Ue.extend("--ft-tooltip-background-opacity","",We.opacity80),Ue.extend("--ft-tooltip-shadow","",We.shadowElevation03);const je={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=["start","end"],Be=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),Pe=Math.min,Ke=Math.max,Te=Math.round,Me=t=>({x:t,y:t}),Ze={left:"right",right:"left",bottom:"top",top:"bottom"},_e={start:"end",end:"start"};function He(t,e,o){return Ke(t,Pe(e,o))}function Ge(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>Ze[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const n=Je(e),a=Qe(e),s=Xe(a),l=Ve(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=Ge(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[p?"floating"===h?"reference":"floating":h],g=eo(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=eo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>_e[t]))}(o)!==o)))}const no=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=Be,autoAlignment:d=!0,...u}=Ge(t,e),y=void 0!==h||p===Be?ro(h||null,d,p):p,g=await io(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),n=Xe(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=to(a)),[a,to(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Ve(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,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=qe(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ao(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function so(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function lo(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof so(t).Node}function fo(t){return t instanceof Element||t instanceof so(t).Element}function ho(t){return t instanceof HTMLElement||t instanceof so(t).HTMLElement}function po(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof so(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function yo(t){return["table","td","th"].includes(ao(t))}function go(t){const e=bo(),o=vo(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 bo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(ao(t))}function vo(t){return so(t).getComputedStyle(t)}function xo(t){return fo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Oo(t){if("html"===ao(t))return t;const e=t.assignedSlot||t.parentNode||po(t)&&t.host||lo(t);return po(e)?e.host:e}function wo(t){const e=Oo(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ho(e)&&uo(e)?e:wo(e)}function So(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=so(r);return n?e.concat(a,a.visualViewport||[],uo(r)?r:[],a.frameElement&&o?So(a.frameElement):[]):e.concat(r,So(r,[],o))}function No(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ho(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Te(o)!==n||Te(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function $o(t){return fo(t)?t:t.contextElement}function Co(t){const e=$o(t);if(!ho(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=No(e);let a=(n?Te(o.width):o.width)/i,s=(n?Te(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Eo=Me(0);function ko(t){const e=so(t);return bo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Eo}function Ro(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=$o(t);let a=Me(1);e&&(i?fo(i)&&(a=Co(i)):a=Co(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==so(t))&&e}(n,o,i)?ko(n):Me(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=so(n),e=i&&fo(i)?so(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Co(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=so(o).frameElement}}return eo({width:f,height:h,x:l,y:c})}function Io(t){return Ro(lo(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=so(t),i=lo(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=lo(t),o=xo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Io(t);const s=-o.scrollTop;return"rtl"===vo(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(lo(t));else if(fo(e))i=function(t,e){const o=Ro(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ho(t)?Co(t):Me(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=ko(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function Lo(t,e){const o=Oo(t);return!(o===e||!fo(o)||mo(o))&&("fixed"===vo(o).position||Lo(o,e))}function Wo(t,e,o){const i=ho(e),r=lo(e),n="fixed"===o,a=Ro(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Me(0);if(i||!i&&!n)if(("body"!==ao(e)||uo(r))&&(s=xo(e)),i){const t=Ro(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Io(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ao(t,e){return ho(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function zo(t,e){const o=so(t);if(!ho(t))return o;let i=Ao(t,e);for(;i&&yo(i)&&"static"===vo(i).position;)i=Ao(i,e);return i&&("html"===ao(i)||"body"===ao(i)&&"static"===vo(i).position&&!go(i))?o:i||function(t){let e=Oo(t);for(;ho(e)&&!mo(e);){if(go(e))return e;e=Oo(e)}return null}(t)||o}const Do={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ho(o),n=lo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Me(1);const l=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==ao(o)||uo(n))&&(a=xo(o)),ho(o))){const t=Ro(o);s=Co(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:lo,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=So(t,[],!1).filter((t=>fo(t)&&"body"!==ao(t))),r=null;const n="fixed"===vo(t).position;let a=n?Oo(t):t;for(;fo(a)&&!mo(a);){const e=vo(a),o=go(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(a)&&!o&&Lo(t,a))?i=i.filter((t=>t!==a)):r=e,a=Oo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=Ke(i.top,t.top),t.right=Pe(i.right,t.right),t.bottom=Pe(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),Uo(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:zo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||zo,n=this.getDimensions;return{reference:Wo(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 No(t)},getScale:Co,isElement:fo,isRTL:function(t){return"rtl"===vo(t).direction}},jo=(t,e,o)=>{const i=new Map,r={platform:Do,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=oo(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:f,y:h}=oo(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Fo(t){return function(t){for(let e=t;e;e=Bo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bo(t);e;e=Bo(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 Bo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Mo 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)=>{To?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Po.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ko,Zo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const _o=Symbol("constructorPrototype"),Ho=Symbol("constructorName"),Go=Symbol("exportpartsDebouncer");class Vo extends Mo{constructor(){super(),this[Ko]=new n(5),this[Ho]=this.constructor.name,this[_o]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ho]&&Object.setPrototypeOf(this,this[_o])}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[Go].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Ko=Go,Zo([R()],Vo.prototype,"exportpartsPrefix",void 0),Zo([P([])],Vo.prototype,"exportpartsPrefixes",void 0),Zo([R()],Vo.prototype,"customStylesheet",void 0);const qo=Ue.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ut`
90
+ const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class To 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)=>{Ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Po.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Mo,Zo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const _o=Symbol("constructorPrototype"),Ho=Symbol("constructorName"),Go=Symbol("exportpartsDebouncer");class Vo extends To{constructor(){super(),this[Mo]=new n(5),this[Ho]=this.constructor.name,this[_o]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ho]&&Object.setPrototypeOf(this,this[_o])}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[Go].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Mo=Go,Zo([R()],Vo.prototype,"exportpartsPrefix",void 0),Zo([P([])],Vo.prototype,"exportpartsPrefixes",void 0),Zo([R()],Vo.prototype,"customStylesheet",void 0);const qo=Ue.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ut`
91
91
  .highlight-html-match {
92
92
  background: ${qo};
93
93
  }
@@ -123,7 +123,7 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
123
123
  display: inline-block;
124
124
  width: 0;
125
125
  }
126
- `;class Jo{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 Qo=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 ti{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 ei(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var oi,ii,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ai=Symbol("internalStoresUnsubscribers"),si=Symbol("internalStores");class li extends Vo{constructor(){super(...arguments),this[oi]=new Map,this[ii]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[si].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[si].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[si].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ei(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[si].delete(e)}setupStore(t,e){this[si].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[si].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[ai].has(t.store):this[ai].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ai].set(t,e.subscribe((()=>this.updateFromStores()))),ei(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[ni].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ai].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ai].has(t)&&this[ai].get(t)(),this[ai].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ci(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 hi(t){return!!t&&!!t[Yi]}function fi(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)===Xi}(t)||Array.isArray(t)||!!t[qi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[qi])||bi(t)||vi(t))}function pi(t,e,o){void 0===o&&(o=!1),0===ui(t)?(o?Object.keys:Ji)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function ui(t){var e=t[Yi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bi(t)?2:vi(t)?3:0}function di(t,e){return 2===ui(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function yi(t,e,o){var i=ui(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function gi(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function bi(t){return _i&&t instanceof Map}function vi(t){return Hi&&t instanceof Set}function mi(t){return t.o||t.t}function xi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Qi(t);delete e[Yi];for(var o=Ji(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 Oi(t,e){return void 0===e&&(e=!1),Si(t)||hi(t)||!fi(t)||(ui(t)>1&&(t.set=t.add=t.clear=t.delete=wi),Object.freeze(t),e&&pi(t,(function(t,e){return Oi(e,!0)}),!0)),t}function wi(){ci(2)}function Si(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Ni(t){var e=tr[t];return e||ci(18,t),e}function $i(){return Ki}function Ci(t,e){e&&(Ni("Patches"),t.u=[],t.s=[],t.v=e)}function Ei(t){ki(t),t.p.forEach(Ii),t.p=null}function ki(t){t===Ki&&(Ki=t.l)}function Ri(t){return Ki={p:[],l:Ki,h:t,m:!0,_:0}}function Ii(t){var e=t[Yi];0===e.i||1===e.i?e.j():e.g=!0}function Ui(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||Ni("ES5").S(e,t,i),i?(o[Yi].P&&(Ei(e),ci(4)),fi(t)&&(t=Li(e,t),e.l||Wi(e,t)),e.u&&Ni("Patches").M(o[Yi].t,t,e.u,e.s)):t=Li(e,o,[]),Ei(e),e.u&&e.v(e.u,e.s),t!==Vi?t:void 0}function Li(t,e,o){if(Si(e))return e;var i=e[Yi];if(!i)return pi(e,(function(r,n){return Ai(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Wi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=xi(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),pi(n,(function(e,n){return Ai(t,i,r,e,n,o,a)})),Wi(t,r,!1),o&&t.u&&Ni("Patches").N(i,o,t.u,t.s)}return i.o}function Ai(t,e,o,i,r,n,a){if(hi(r)){var s=Li(t,r,n&&e&&3!==e.i&&!di(e.R,i)?n.concat(i):void 0);if(yi(o,i,s),!hi(s))return;t.m=!1}else a&&o.add(r);if(fi(r)&&!Si(r)){if(!t.h.D&&t._<1)return;Li(t,r),e&&e.A.l||Wi(t,r)}}function Wi(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&Oi(e,o)}function ji(t,e){var o=t[Yi];return(o?mi(o):t)[e]}function zi(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 Fi(t){t.P||(t.P=!0,t.l&&Fi(t.l))}function Di(t){t.o||(t.o=xi(t.t))}function Bi(t,e,o){var i=bi(e)?Ni("MapSet").F(e,o):vi(e)?Ni("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:$i(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=er;o&&(r=[i],n=or);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):Ni("ES5").J(e,o);return(o?o.A:$i()).p.push(i),i}function Pi(t){return hi(t)||ci(22,t),function t(e){if(!fi(e))return e;var o,i=e[Yi],r=ui(e);if(i){if(!i.P&&(i.i<4||!Ni("ES5").K(i)))return i.t;i.I=!0,o=Ti(e,r),i.I=!1}else o=Ti(e,r);return pi(o,(function(e,r){i&&function(t,e){return 2===ui(t)?t.get(e):t[e]}(i.t,e)===r||yi(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ti(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return xi(t)}oi=ai,ii=si,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var Mi,Ki,Zi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),_i="undefined"!=typeof Map,Hi="undefined"!=typeof Set,Gi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Vi=Zi?Symbol.for("immer-nothing"):((Mi={})["immer-nothing"]=!0,Mi),qi=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",Yi=Zi?Symbol.for("immer-state"):"__$immer_state",Xi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qi=Object.getOwnPropertyDescriptors||function(t){var e={};return Ji(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},tr={},er={get:function(t,e){if(e===Yi)return t;var o=mi(t);if(!di(o,e))return function(t,e,o){var i,r=zi(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||!fi(i)?i:i===ji(t.t,e)?(Di(t),t.o[e]=Bi(t.A.h,i,t)):i},has:function(t,e){return e in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,e,o){var i=zi(mi(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=ji(mi(t),e),n=null==r?void 0:r[Yi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(gi(o,r)&&(void 0!==o||di(t.t,e)))return!0;Di(t),Fi(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!==ji(t.t,e)||e in t.t?(t.R[e]=!1,Di(t),Fi(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=mi(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(){ci(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ci(12)}},or={};pi(er,(function(t,e){or[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),or.deleteProperty=function(t,e){return or.set.call(this,t,e,void 0)},or.set=function(t,e,o){return er.set.call(this,t[0],e,o,t[0])};var ir=function(){function t(t){var e=this;this.O=Gi,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,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&ci(6),void 0!==i&&"function"!=typeof i&&ci(7),fi(t)){var s=Ri(e),l=Bi(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ei(s):ki(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ci(s,i),Ui(t,s)}),(function(t){throw Ei(s),t})):(Ci(s,i),Ui(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Vi&&(a=void 0),e.D&&Oi(a,!0),i){var h=[],f=[];Ni("Patches").M(t,a,h,f),i(h,f)}return a}ci(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){fi(t)||ci(8),hi(t)&&(t=Pi(t));var e=Ri(this),o=Bi(this,t,void 0);return o[Yi].C=!0,ki(e),o},e.finishDraft=function(t,e){var o=(t&&t[Yi]).A;return Ci(o,e),Ui(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Gi&&ci(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=Ni("Patches").$;return hi(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),rr=new ir,nr=rr.produce;function ar(t){return ar="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},ar(t)}function sr(t){var e=function(t,e){if("object"!==ar(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ar(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ar(e)?e:String(e)}function lr(t,e,o){return(e=sr(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function cr(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 hr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?cr(Object(o),!0).forEach((function(e){lr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):cr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function fr(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. "}rr.produceWithPatches.bind(rr),rr.setAutoFreeze.bind(rr),rr.setUseProxies.bind(rr),rr.applyPatches.bind(rr),rr.createDraft.bind(rr),rr.finishDraft.bind(rr);var pr="function"==typeof Symbol&&Symbol.observable||"@@observable",ur=function(){return Math.random().toString(36).substring(7).split("").join(".")},dr={INIT:"@@redux/INIT"+ur(),REPLACE:"@@redux/REPLACE"+ur(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ur()}};function yr(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(fr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(fr(1));return o(yr)(t,e)}if("function"!=typeof t)throw new Error(fr(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function h(){if(l)throw new Error(fr(3));return n}function f(t){if("function"!=typeof t)throw new Error(fr(4));if(l)throw new Error(fr(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(fr(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=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(fr(7));if(void 0===t.type)throw new Error(fr(8));if(l)throw new Error(fr(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:dr.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fr(10));r=t,p({type:dr.REPLACE})}})[pr]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fr(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[pr]=function(){return this},t},i}function gr(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,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:dr.INIT}))throw new Error(fr(12));if(void 0===o(void 0,{type:dr.PROBE_UNKNOWN_ACTION()}))throw new Error(fr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(fr(14));r[l]=f,i=i||f!==h}return(i=i||a.length!==Object.keys(t).length)?r:t}}function br(){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 vr(){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(fr(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=br.apply(void 0,n)(o.dispatch),hr(hr({},o),{},{dispatch:i})}}}function mr(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 xr=mr();xr.withExtraArgument=mr;var Or,wr=xr,Sr=(Or=function(t,e){return Or=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])},Or(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}Or(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Nr=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}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,s])}}},$r=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Cr=Object.defineProperty,Er=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,Lr=function(t,e,o){return e in t?Cr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ar=function(t,e){for(var o in e||(e={}))Ir.call(e,o)&&Lr(t,o,e[o]);if(Rr)for(var i=0,r=Rr(e);i<r.length;i++){o=r[i];Ur.call(e,o)&&Lr(t,o,e[o])}return t},Wr=function(t,e){return Er(t,kr(e))},jr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?br:br.apply(null,arguments)};var zr=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 Sr(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,$r([void 0],t[0].concat(this)))):new(e.bind.apply(e,$r([void 0],t.concat(this))))},e}(Array),Fr=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 Sr(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,$r([void 0],t[0].concat(this)))):new(e.bind.apply(e,$r([void 0],t.concat(this))))},e}(Array);function Dr(t){return fi(t)?nr(t,(function(){})):t}function Br(){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 zr;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(wr.withExtraArgument(o.extraArgument)):i.push(wr));return i}(t)}}function Pr(t){var e,o=Br(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,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=gr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=vr.apply(void 0,d),g=br;c&&(g=jr(Ar({trace:!1},"object"==typeof c&&c)));var b=new Fr(y),v=b;return Array.isArray(u)?v=$r([y],u):"function"==typeof u&&(v=u(b)),yr(e,f,g.apply(void 0,v))}function Tr(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 Ar(Ar({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 Mr(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 Kr(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:Dr(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Mr(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Ar(Ar({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Mr(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Dr(t())};else{var c=Dr(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=$r([a[e.type]],s.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(hi(t))return void 0===(i=o(t,e))?t:i;if(fi(t))return nr(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=a;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,a[t]=o,s[c]=o,l[t]=i?Tr(c,i):Tr(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Zr=["name","message","stack","code"],_r=function(t,e){this.payload=t,this.meta=e},Hr=function(t,e){this.payload=t,this.meta=e},Gr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Zr;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Vr(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=Tr(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Wr(Ar({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Tr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Wr(Ar({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Tr(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Gr)(t||"Rejected"),meta:Wr(Ar({},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)})}})),a="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(s,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 a;function u(t){h=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,v;return Nr(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.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"})}))})),s(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:s,getState:l,extra:c,requestId:f,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new _r(t,e)},fulfillWithValue:function(t,e){return new Hr(t,e)}})).then((function(e){if(e instanceof _r)throw e;return e instanceof Hr?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 _r?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||s(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(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:f,arg:t,unwrap:function(){return d.then(Vr)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var qr="listenerMiddleware";Tr(qr+"/add"),Tr(qr+"/removeAll"),Tr(qr+"/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[Yi];return er.get(e,t)},set:function(e){var o=this[Yi];er.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Yi];if(!r.P)switch(r.i){case 5:i(r)&&Fi(r);break;case 4:o(r)&&Fi(r)}}}function o(t){for(var e=t.t,o=t.k,i=Ji(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Yi){var a=e[n];if(void 0===a&&!di(e,n))return!0;var s=o[n],l=s&&s[Yi];if(l?l.t!==a:!gi(s,a))return!0}}var c=!!e[Yi];return i.length!==Ji(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){tr[t]||(tr[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=Qi(o);delete n[Yi];for(var a=Ji(n),s=0;s<a.length;s++){var l=a[s];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:$i(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Yi,{value:n,writable:!0}),r},S:function(t,o,r){r?hi(o)&&o[Yi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Yi];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)pi(n,(function(e){e!==Yi&&(void 0!==r[e]||di(r,e)?a[e]||t(n[e]):(a[e]=!0,Fi(o)))})),pi(r,(function(t){void 0!==n[t]||di(n,t)||(a[t]=!1,Fi(o))}));else if(5===s){if(i(o)&&(Fi(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(a[f]=!0),void 0===a[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 Yr{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(ei(r))return r;if(null==i)return;const n=Kr({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Pr({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 Yr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ti,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 Xr=Symbol("elementInternals");var Jr,Qr,tn;const en=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tn=null===(Qr=null===(Jr=window.safari)||void 0===Jr?void 0:Jr.pushNotification)||void 0===Qr?void 0:Qr.toString())&&void 0!==tn?tn:""),on=1,rn=2,nn=t=>(...e)=>({_$litDirective$:t,values:e});
126
+ `;class Jo{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 Qo=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 ti{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 ei(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var oi,ii,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ai=Symbol("internalStoresUnsubscribers"),si=Symbol("internalStores");class li extends Vo{constructor(){super(...arguments),this[oi]=new Map,this[ii]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[si].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[si].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[si].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ei(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[si].delete(e)}setupStore(t,e){this[si].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[si].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[ai].has(t.store):this[ai].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ai].set(t,e.subscribe((()=>this.updateFromStores()))),ei(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[ni].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ai].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ai].has(t)&&this[ai].get(t)(),this[ai].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ci(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 fi(t){return!!t&&!!t[Yi]}function hi(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)===Xi}(t)||Array.isArray(t)||!!t[qi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[qi])||bi(t)||mi(t))}function pi(t,e,o){void 0===o&&(o=!1),0===di(t)?(o?Object.keys:Ji)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function di(t){var e=t[Yi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bi(t)?2:mi(t)?3:0}function ui(t,e){return 2===di(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function yi(t,e,o){var i=di(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function gi(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function bi(t){return _i&&t instanceof Map}function mi(t){return Hi&&t instanceof Set}function vi(t){return t.o||t.t}function xi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Qi(t);delete e[Yi];for(var o=Ji(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 Oi(t,e){return void 0===e&&(e=!1),Si(t)||fi(t)||!hi(t)||(di(t)>1&&(t.set=t.add=t.clear=t.delete=wi),Object.freeze(t),e&&pi(t,(function(t,e){return Oi(e,!0)}),!0)),t}function wi(){ci(2)}function Si(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Ni(t){var e=tr[t];return e||ci(18,t),e}function $i(){return Mi}function Ci(t,e){e&&(Ni("Patches"),t.u=[],t.s=[],t.v=e)}function Ei(t){ki(t),t.p.forEach(Ii),t.p=null}function ki(t){t===Mi&&(Mi=t.l)}function Ri(t){return Mi={p:[],l:Mi,h:t,m:!0,_:0}}function Ii(t){var e=t[Yi];0===e.i||1===e.i?e.j():e.g=!0}function Ui(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||Ni("ES5").S(e,t,i),i?(o[Yi].P&&(Ei(e),ci(4)),hi(t)&&(t=Li(e,t),e.l||Ai(e,t)),e.u&&Ni("Patches").M(o[Yi].t,t,e.u,e.s)):t=Li(e,o,[]),Ei(e),e.u&&e.v(e.u,e.s),t!==Vi?t:void 0}function Li(t,e,o){if(Si(e))return e;var i=e[Yi];if(!i)return pi(e,(function(r,n){return Wi(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ai(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=xi(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),pi(n,(function(e,n){return Wi(t,i,r,e,n,o,a)})),Ai(t,r,!1),o&&t.u&&Ni("Patches").N(i,o,t.u,t.s)}return i.o}function Wi(t,e,o,i,r,n,a){if(fi(r)){var s=Li(t,r,n&&e&&3!==e.i&&!ui(e.R,i)?n.concat(i):void 0);if(yi(o,i,s),!fi(s))return;t.m=!1}else a&&o.add(r);if(hi(r)&&!Si(r)){if(!t.h.D&&t._<1)return;Li(t,r),e&&e.A.l||Ai(t,r)}}function Ai(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&Oi(e,o)}function zi(t,e){var o=t[Yi];return(o?vi(o):t)[e]}function Di(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 ji(t){t.P||(t.P=!0,t.l&&ji(t.l))}function Fi(t){t.o||(t.o=xi(t.t))}function Bi(t,e,o){var i=bi(e)?Ni("MapSet").F(e,o):mi(e)?Ni("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:$i(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=er;o&&(r=[i],n=or);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):Ni("ES5").J(e,o);return(o?o.A:$i()).p.push(i),i}function Pi(t){return fi(t)||ci(22,t),function t(e){if(!hi(e))return e;var o,i=e[Yi],r=di(e);if(i){if(!i.P&&(i.i<4||!Ni("ES5").K(i)))return i.t;i.I=!0,o=Ki(e,r),i.I=!1}else o=Ki(e,r);return pi(o,(function(e,r){i&&function(t,e){return 2===di(t)?t.get(e):t[e]}(i.t,e)===r||yi(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ki(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return xi(t)}oi=ai,ii=si,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var Ti,Mi,Zi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),_i="undefined"!=typeof Map,Hi="undefined"!=typeof Set,Gi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Vi=Zi?Symbol.for("immer-nothing"):((Ti={})["immer-nothing"]=!0,Ti),qi=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",Yi=Zi?Symbol.for("immer-state"):"__$immer_state",Xi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qi=Object.getOwnPropertyDescriptors||function(t){var e={};return Ji(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},tr={},er={get:function(t,e){if(e===Yi)return t;var o=vi(t);if(!ui(o,e))return function(t,e,o){var i,r=Di(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||!hi(i)?i:i===zi(t.t,e)?(Fi(t),t.o[e]=Bi(t.A.h,i,t)):i},has:function(t,e){return e in vi(t)},ownKeys:function(t){return Reflect.ownKeys(vi(t))},set:function(t,e,o){var i=Di(vi(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=zi(vi(t),e),n=null==r?void 0:r[Yi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(gi(o,r)&&(void 0!==o||ui(t.t,e)))return!0;Fi(t),ji(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!==zi(t.t,e)||e in t.t?(t.R[e]=!1,Fi(t),ji(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=vi(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(){ci(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ci(12)}},or={};pi(er,(function(t,e){or[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),or.deleteProperty=function(t,e){return or.set.call(this,t,e,void 0)},or.set=function(t,e,o){return er.set.call(this,t[0],e,o,t[0])};var ir=function(){function t(t){var e=this;this.O=Gi,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,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&ci(6),void 0!==i&&"function"!=typeof i&&ci(7),hi(t)){var s=Ri(e),l=Bi(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ei(s):ki(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ci(s,i),Ui(t,s)}),(function(t){throw Ei(s),t})):(Ci(s,i),Ui(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Vi&&(a=void 0),e.D&&Oi(a,!0),i){var f=[],h=[];Ni("Patches").M(t,a,f,h),i(f,h)}return a}ci(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){hi(t)||ci(8),fi(t)&&(t=Pi(t));var e=Ri(this),o=Bi(this,t,void 0);return o[Yi].C=!0,ki(e),o},e.finishDraft=function(t,e){var o=(t&&t[Yi]).A;return Ci(o,e),Ui(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Gi&&ci(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=Ni("Patches").$;return fi(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),rr=new ir,nr=rr.produce;function ar(t){return ar="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},ar(t)}function sr(t){var e=function(t,e){if("object"!==ar(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ar(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ar(e)?e:String(e)}function lr(t,e,o){return(e=sr(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function cr(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 fr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?cr(Object(o),!0).forEach((function(e){lr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):cr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function hr(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. "}rr.produceWithPatches.bind(rr),rr.setAutoFreeze.bind(rr),rr.setUseProxies.bind(rr),rr.applyPatches.bind(rr),rr.createDraft.bind(rr),rr.finishDraft.bind(rr);var pr="function"==typeof Symbol&&Symbol.observable||"@@observable",dr=function(){return Math.random().toString(36).substring(7).split("").join(".")},ur={INIT:"@@redux/INIT"+dr(),REPLACE:"@@redux/REPLACE"+dr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+dr()}};function yr(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(hr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(hr(1));return o(yr)(t,e)}if("function"!=typeof t)throw new Error(hr(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(hr(3));return n}function h(t){if("function"!=typeof t)throw new Error(hr(4));if(l)throw new Error(hr(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(hr(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=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(hr(7));if(void 0===t.type)throw new Error(hr(8));if(l)throw new Error(hr(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ur.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(hr(10));r=t,p({type:ur.REPLACE})}})[pr]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(hr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[pr]=function(){return this},t},i}function gr(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,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ur.INIT}))throw new Error(hr(12));if(void 0===o(void 0,{type:ur.PROBE_UNKNOWN_ACTION()}))throw new Error(hr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(hr(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function br(){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 mr(){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(hr(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=br.apply(void 0,n)(o.dispatch),fr(fr({},o),{},{dispatch:i})}}}function vr(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 xr=vr();xr.withExtraArgument=vr;var Or,wr=xr,Sr=(Or=function(t,e){return Or=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])},Or(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}Or(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Nr=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}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,s])}}},$r=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Cr=Object.defineProperty,Er=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,Lr=function(t,e,o){return e in t?Cr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Wr=function(t,e){for(var o in e||(e={}))Ir.call(e,o)&&Lr(t,o,e[o]);if(Rr)for(var i=0,r=Rr(e);i<r.length;i++){o=r[i];Ur.call(e,o)&&Lr(t,o,e[o])}return t},Ar=function(t,e){return Er(t,kr(e))},zr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?br:br.apply(null,arguments)};var Dr=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 Sr(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,$r([void 0],t[0].concat(this)))):new(e.bind.apply(e,$r([void 0],t.concat(this))))},e}(Array),jr=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 Sr(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,$r([void 0],t[0].concat(this)))):new(e.bind.apply(e,$r([void 0],t.concat(this))))},e}(Array);function Fr(t){return hi(t)?nr(t,(function(){})):t}function Br(){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 Dr;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(wr.withExtraArgument(o.extraArgument)):i.push(wr));return i}(t)}}function Pr(t){var e,o=Br(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,d=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=gr(n)}var u=s;"function"==typeof u&&(u=u(o));var y=mr.apply(void 0,u),g=br;c&&(g=zr(Wr({trace:!1},"object"==typeof c&&c)));var b=new jr(y),m=b;return Array.isArray(d)?m=$r([y],d):"function"==typeof d&&(m=d(b)),yr(e,h,g.apply(void 0,m))}function Kr(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 Wr(Wr({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 Tr(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 Mr(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:Fr(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Tr(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Wr(Wr({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Tr(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Fr(t())};else{var c=Fr(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=$r([a[e.type]],s.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(fi(t))return void 0===(i=o(t,e))?t:i;if(hi(t))return nr(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 f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;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,a[t]=o,s[c]=o,l[t]=i?Kr(c,i):Kr(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Zr=["name","message","stack","code"],_r=function(t,e){this.payload=t,this.meta=e},Hr=function(t,e){this.payload=t,this.meta=e},Gr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Zr;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Vr(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=Kr(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ar(Wr({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Kr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ar(Wr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Kr(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Gr)(t||"Rejected"),meta:Ar(Wr({},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)})}})),a="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(s,l,c){var f,h=(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 a;function d(t){f=t,p.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Nr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.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:f||"Aborted"})}))})),s(r(h,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:d,rejectWithValue:function(t,e){return new _r(t,e)},fulfillWithValue:function(t,e){return new Hr(t,e)}})).then((function(e){if(e instanceof _r)throw e;return e instanceof Hr?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof _r?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(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(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:h,arg:t,unwrap:function(){return u.then(Vr)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var qr="listenerMiddleware";Kr(qr+"/add"),Kr(qr+"/removeAll"),Kr(qr+"/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[Yi];return er.get(e,t)},set:function(e){var o=this[Yi];er.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Yi];if(!r.P)switch(r.i){case 5:i(r)&&ji(r);break;case 4:o(r)&&ji(r)}}}function o(t){for(var e=t.t,o=t.k,i=Ji(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Yi){var a=e[n];if(void 0===a&&!ui(e,n))return!0;var s=o[n],l=s&&s[Yi];if(l?l.t!==a:!gi(s,a))return!0}}var c=!!e[Yi];return i.length!==Ji(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){tr[t]||(tr[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=Qi(o);delete n[Yi];for(var a=Ji(n),s=0;s<a.length;s++){var l=a[s];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:$i(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Yi,{value:n,writable:!0}),r},S:function(t,o,r){r?fi(o)&&o[Yi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Yi];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)pi(n,(function(e){e!==Yi&&(void 0!==r[e]||ui(r,e)?a[e]||t(n[e]):(a[e]=!0,ji(o)))})),pi(r,(function(t){void 0!==n[t]||ui(n,t)||(a[t]=!1,ji(o))}));else if(5===s){if(i(o)&&(ji(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Yr{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(ei(r))return r;if(null==i)return;const n=Mr({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Pr({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 Yr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ti,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 Xr=Symbol("elementInternals");var Jr,Qr,tn;const en=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tn=null===(Qr=null===(Jr=window.safari)||void 0===Jr?void 0:Jr.pushNotification)||void 0===Qr?void 0:Qr.toString())&&void 0!==tn?tn:""),on=1,rn=2,nn=t=>(...e)=>({_$litDirective$:t,values:e});
127
127
  /**
128
128
  * @license
129
129
  * Copyright 2017 Google LLC
@@ -133,7 +133,7 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
133
133
  * @license
134
134
  * Copyright 2020 Google LLC
135
135
  * SPDX-License-Identifier: BSD-3-Clause
136
- */const{D:sn}=St,ln=()=>document.createComment(""),cn=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(ln(),r),n=i.insertBefore(ln(),r);o=new sn(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},hn=(t,e,o=t)=>(t._$AI(e,o),t),fn={},pn=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},un=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},dn=nn(class extends an{constructor(t){if(super(t),t.type!==rn)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,f=0,p=r.length-1,u=0,d=n.length-1;for(;f<=p&&u<=d;)if(null===r[f])f++;else if(null===r[p])p--;else if(s[f]===a[u])l[u]=hn(r[f],n[u]),f++,u++;else if(s[p]===a[d])l[d]=hn(r[p],n[d]),p--,d--;else if(s[f]===a[d])l[d]=hn(r[f],n[d]),cn(t,l[d+1],r[f]),f++,d--;else if(s[p]===a[u])l[u]=hn(r[p],n[u]),cn(t,r[f],r[p]),p--,u++;else if(void 0===c&&(c=un(a,u,d),h=un(s,f,p)),c.has(s[f]))if(c.has(s[p])){const e=h.get(a[u]),o=void 0!==e?r[e]:null;if(null===o){const e=cn(t,r[f]);hn(e,n[u]),l[u]=e}else l[u]=hn(o,n[u]),cn(t,r[f],o),r[e]=null;u++}else pn(r[p]),p--;else pn(r[f]),f++;for(;u<=d;){const e=cn(t,l[d+1]);hn(e,n[u]),l[u++]=e}for(;f<=p;){const t=r[f++];null!==t&&pn(t)}return this.dt=a,((t,e=fn)=>{t._$AH=e})(t,l),lt}}),yn={spacing:Ue.create("--ft-search-selected-facets-spacing","","SIZE","8px")},gn=Ut`
136
+ */const{D:sn}=St,ln=()=>document.createComment(""),cn=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(ln(),r),n=i.insertBefore(ln(),r);o=new sn(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},fn=(t,e,o=t)=>(t._$AI(e,o),t),hn={},pn=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},dn=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},un=nn(class extends an{constructor(t){if(super(t),t.type!==rn)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,h=0,p=r.length-1,d=0,u=n.length-1;for(;h<=p&&d<=u;)if(null===r[h])h++;else if(null===r[p])p--;else if(s[h]===a[d])l[d]=fn(r[h],n[d]),h++,d++;else if(s[p]===a[u])l[u]=fn(r[p],n[u]),p--,u--;else if(s[h]===a[u])l[u]=fn(r[h],n[u]),cn(t,l[u+1],r[h]),h++,u--;else if(s[p]===a[d])l[d]=fn(r[p],n[d]),cn(t,r[h],r[p]),p--,d++;else if(void 0===c&&(c=dn(a,d,u),f=dn(s,h,p)),c.has(s[h]))if(c.has(s[p])){const e=f.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=cn(t,r[h]);fn(e,n[d]),l[d]=e}else l[d]=fn(o,n[d]),cn(t,r[h],o),r[e]=null;d++}else pn(r[p]),p--;else pn(r[h]),h++;for(;d<=u;){const e=cn(t,l[u+1]);fn(e,n[d]),l[d++]=e}for(;h<=p;){const t=r[h++];null!==t&&pn(t)}return this.dt=a,((t,e=hn)=>{t._$AH=e})(t,l),lt}}),yn={spacing:Ue.create("--ft-search-selected-facets-spacing","","SIZE","8px")},gn=Ut`
137
137
  .ft-search-selected-facets--container {
138
138
  display: flex;
139
139
  flex-wrap: wrap;
@@ -148,15 +148,15 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
148
148
  * @license
149
149
  * Copyright 2017 Google LLC
150
150
  * SPDX-License-Identifier: BSD-3-Clause
151
- */var vn,mn,xn,On,wn,Sn,Nn,$n,Cn,En,kn,Rn,In,Un,Ln,An,Wn,jn;!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 a(t){return"string"!=typeof t&&(t=String(t)),t}function s(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=a(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)]=a(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)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(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 a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.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 s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._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"}(vn||(vn={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(mn||(mn={})),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"}(xn||(xn={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(On||(On={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(wn||(wn={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Sn||(Sn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Nn||(Nn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}($n||($n={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Cn||(Cn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(En||(En={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(kn||(kn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rn||(Rn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(In||(In={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Un||(Un={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ln||(Ln={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(An||(An={})),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"}(Wn||(Wn={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(jn||(jn={})),Wn.PERSONAL_BOOK_SHARE_USER,Wn.PERSONAL_BOOK_USER,Wn.HTML_EXPORT_USER,Wn.PERSONAL_BOOK_USER,Wn.PDF_EXPORT_USER,Wn.PERSONAL_BOOK_USER,Wn.KHUB_ADMIN,Wn.CONTENT_PUBLISHER,Wn.ADMIN,Wn.KHUB_ADMIN,Wn.USERS_ADMIN,Wn.PORTAL_ADMIN,Wn.DEVELOPER,Wn.BETA_USER,Wn.DEBUG_USER;const zn=Ut`
152
- `,Fn=Yr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Dn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Fn.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?Dn.build(t):null!==(e=Dn.API)&&void 0!==e?e:Dn.API=Dn.build()}static await(t){return new Promise((e=>{let o=Dn.get(t);if(o)e(o);else{const i=Fn.subscribe((()=>{o=Dn.get(t),o&&(i(),e(o))}))}}))}}var Bn;const Pn=Symbol("clearAfterUnitTest");class Tn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Bn]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Fn.getState().uiLocale,Fn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Fn.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 a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).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)))))}}Bn=Pn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Tn((async(t,e)=>(await Dn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Tn((async(t,e)=>(await Dn.await()).getCustomMessageContext(t,e))));const Mn=window.FluidTopicsI18nService,Kn=window.FluidTopicsCustomI18nService;var Zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _n extends Vo{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Dn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ue`
151
+ */var mn,vn,xn,On,wn,Sn,Nn,$n,Cn,En,kn,Rn,In,Un,Ln,Wn,An,zn;!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 a(t){return"string"!=typeof t&&(t=String(t)),t}function s(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 f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(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 d(){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(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(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=a(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)]=a(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)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["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(),u.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})},d.call(y.prototype),d.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 m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.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 v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.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 s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,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"}(mn||(mn={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(vn||(vn={})),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"}(xn||(xn={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(On||(On={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(wn||(wn={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Sn||(Sn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Nn||(Nn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}($n||($n={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Cn||(Cn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(En||(En={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(kn||(kn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rn||(Rn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(In||(In={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Un||(Un={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ln||(Ln={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Wn||(Wn={})),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"}(An||(An={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(zn||(zn={})),An.PERSONAL_BOOK_SHARE_USER,An.PERSONAL_BOOK_USER,An.HTML_EXPORT_USER,An.PERSONAL_BOOK_USER,An.PDF_EXPORT_USER,An.PERSONAL_BOOK_USER,An.KHUB_ADMIN,An.CONTENT_PUBLISHER,An.ADMIN,An.KHUB_ADMIN,An.USERS_ADMIN,An.PORTAL_ADMIN,An.DEVELOPER,An.BETA_USER,An.DEBUG_USER;const Dn=Ut`
152
+ `,jn=Yr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Fn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=jn.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?Fn.build(t):null!==(e=Fn.API)&&void 0!==e?e:Fn.API=Fn.build()}static await(t){return new Promise((e=>{let o=Fn.get(t);if(o)e(o);else{const i=jn.subscribe((()=>{o=Fn.get(t),o&&(i(),e(o))}))}}))}}var Bn;const Pn=Symbol("clearAfterUnitTest");class Kn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Bn]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=jn.getState().uiLocale,jn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=jn.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 a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).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=>z(0).then((()=>t())).catch((()=>null)))))}}Bn=Pn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Kn((async(t,e)=>(await Fn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Kn((async(t,e)=>(await Fn.await()).getCustomMessageContext(t,e))));const Tn=window.FluidTopicsI18nService,Mn=window.FluidTopicsCustomI18nService;var Zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _n extends Vo{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Fn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return de`
153
153
  <slot></slot>
154
- `}update(t){super.update(t),t.has("baseUrl")&&Fn.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Fn.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Fn.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Fn.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Fn.actions.noCustom(this.noCustom),t.has("editorMode")&&Fn.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Fn.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Fn.actions.session(this.session),t.has("availableUiLocales")&&Fn.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Mn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}_n.elementDefinitions={},_n.styles=zn,Zn([R()],_n.prototype,"baseUrl",void 0),Zn([R()],_n.prototype,"apiIntegrationIdentifier",void 0),Zn([R()],_n.prototype,"uiLocale",void 0),Zn([P(null)],_n.prototype,"availableUiLocales",void 0),Zn([P(null)],_n.prototype,"metadataConfiguration",void 0),Zn([R({type:Boolean})],_n.prototype,"editorMode",void 0),Zn([R({type:Boolean})],_n.prototype,"noCustom",void 0),Zn([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_n.prototype,"noCustomComponent",void 0),Zn([R({type:Boolean})],_n.prototype,"withManualResources",void 0),Zn([P([])],_n.prototype,"messageContexts",void 0),Zn([P(void 0)],_n.prototype,"session",void 0),Zn([R({type:Object})],_n.prototype,"apiProvider",void 0);class Hn{async listMySearches(){var t;return(null===(t=Fn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Dn.await()).listMySearches(Fn.getState().session.profile.userId):[]}}const Gn=new r;class Vn{async listMyBookmarks(){return Gn.get("bookmarks",(async()=>(await Dn.await()).listMyBookmarks(Fn.getState().session.profile.userId)))}clearCache(){Gn.clear("bookmarks")}}const qn=Yr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Yn=new class{constructor(){this.currentSession=Fn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vn,Fn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Fn.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(){qn.actions.savedSearches(void 0)}clearMyBookmarks(){qn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Hn,e=await t.listMySearches();qn.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;qn.actions.bookmarks(e)}}};B("ft-app-context")(_n);class Xn{static async build(){return new Xn(await Dn.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 Jn=t=>t.request.virtualField===kn.TITLE_ONLY&&t.request.scope===An.DOCUMENTS;class Qn extends Event{constructor(){super(Qn.eventName)}}Qn.eventName="search-context-clear-all-filters";class ta{static build(t){return new ta((t=>Yr.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:bn}))(t.trim()||"context"),Xn.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(kn.TITLE_ONLY),this.store.actions.setRequestScope(An.DOCUMENTS)):(this.store.actions.setRequestVirtualField(kn.EVERYWHERE),this.store.actions.setRequestScope(An.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Jn(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Qn)}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 ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ia=Symbol("registerInterval");class ra 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[ia]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ia]):this.dispatchEvent(new oa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ia,ea([I()],o.prototype,"stateManager",void 0),o}(li)){}
154
+ `}update(t){super.update(t),t.has("baseUrl")&&(jn.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&jn.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&jn.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&jn.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&jn.actions.noCustom(this.noCustom),t.has("editorMode")&&jn.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&jn.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&jn.actions.session(this.session),t.has("availableUiLocales")&&jn.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Tn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}_n.elementDefinitions={},_n.styles=Dn,Zn([R()],_n.prototype,"baseUrl",void 0),Zn([R()],_n.prototype,"apiIntegrationIdentifier",void 0),Zn([R()],_n.prototype,"uiLocale",void 0),Zn([P(null)],_n.prototype,"availableUiLocales",void 0),Zn([P(null)],_n.prototype,"metadataConfiguration",void 0),Zn([R({type:Boolean})],_n.prototype,"editorMode",void 0),Zn([R({type:Boolean})],_n.prototype,"noCustom",void 0),Zn([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_n.prototype,"noCustomComponent",void 0),Zn([R({type:Boolean})],_n.prototype,"withManualResources",void 0),Zn([P([])],_n.prototype,"messageContexts",void 0),Zn([P(void 0)],_n.prototype,"session",void 0),Zn([R({type:Object})],_n.prototype,"apiProvider",void 0);class Hn{async listMySearches(){var t;return(null===(t=jn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Fn.await()).listMySearches(jn.getState().session.profile.userId):[]}}const Gn=new r;class Vn{async listMyBookmarks(){return Gn.get("bookmarks",(async()=>(await Fn.await()).listMyBookmarks(jn.getState().session.profile.userId)))}clearCache(){Gn.clear("bookmarks")}}const qn=Yr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Yn=new class{constructor(){this.currentSession=jn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vn,jn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=jn.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(){qn.actions.savedSearches(void 0)}clearMyBookmarks(){qn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Hn,e=await t.listMySearches();qn.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;qn.actions.bookmarks(e)}}};B("ft-app-context")(_n);class Xn{static async build(){return new Xn(await Fn.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 Jn=t=>t.request.virtualField===kn.TITLE_ONLY&&t.request.scope===Wn.DOCUMENTS;class Qn extends Event{constructor(){super(Qn.eventName)}}Qn.eventName="search-context-clear-all-filters";class ta{static build(t){return new ta((t=>Yr.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:bn}))(t.trim()||"context"),Xn.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 D((()=>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(kn.TITLE_ONLY),this.store.actions.setRequestScope(Wn.DOCUMENTS)):(this.store.actions.setRequestVirtualField(kn.EVERYWHERE),this.store.actions.setRequestScope(Wn.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Jn(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Qn)}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 ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ia=Symbol("registerInterval");class ra 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[ia]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ia]):this.dispatchEvent(new oa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ia,ea([I()],o.prototype,"stateManager",void 0),o}(li)){}
155
155
  /**
156
156
  * @license
157
157
  * Copyright 2018 Google LLC
158
158
  * SPDX-License-Identifier: BSD-3-Clause
159
- */const na=nn(class extends an{constructor(t){if(super(t),t.type!==on||"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}}),aa=Ue.extend("--ft-ripple-color","",Fe.colorContent),sa={color:aa,backgroundColor:Ue.extend("--ft-ripple-background-color","",aa),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")},la=Ue.extend("--ft-ripple-color","",Fe.colorPrimary),ca=la,ha=Ue.extend("--ft-ripple-background-color","",la),fa=Ue.extend("--ft-ripple-color","",Fe.colorSecondary),pa=fa,ua=Ue.extend("--ft-ripple-background-color","",fa),da=Ut`
159
+ */const na=nn(class extends an{constructor(t){if(super(t),t.type!==on||"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}}),aa=Ue.extend("--ft-ripple-color","",je.colorContent),sa={color:aa,backgroundColor:Ue.extend("--ft-ripple-background-color","",aa),opacityContentOnSurfacePressed:Ue.external(je.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ue.external(je.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ue.external(je.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ue.external(je.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ue.create("--ft-ripple-border-radius","","SIZE","0px")},la=Ue.extend("--ft-ripple-color","",je.colorPrimary),ca=la,fa=Ue.extend("--ft-ripple-background-color","",la),ha=Ue.extend("--ft-ripple-color","",je.colorSecondary),pa=ha,da=Ue.extend("--ft-ripple-background-color","",ha),ua=Ut`
160
160
  :host {
161
161
  display: contents;
162
162
  }
@@ -211,7 +211,7 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
211
211
  }
212
212
 
213
213
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
214
- background-color: ${ua};
214
+ background-color: ${da};
215
215
  }
216
216
 
217
217
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
@@ -219,7 +219,7 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
219
219
  }
220
220
 
221
221
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
222
- background-color: ${ha};
222
+ background-color: ${fa};
223
223
  }
224
224
 
225
225
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
@@ -268,7 +268,7 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
268
268
  opacity: ${sa.opacityContentOnSurfacePressed};
269
269
  transform: translate(-50%, -50%) scale(1);
270
270
  }
271
- `;var ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ga extends Vo{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
+ `;var ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ga extends Vo{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 de`
272
272
  <style>
273
273
  .ft-ripple .ft-ripple--effect {
274
274
  left: ${this.originX}px;
@@ -279,13 +279,13 @@ const Po=window,To=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
279
279
  <div class="ft-ripple--background"></div>
280
280
  <div class="ft-ripple--effect"></div>
281
281
  </div>
282
- `}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()}}ga.elementDefinitions={},ga.styles=da,ya([R({type:Boolean})],ga.prototype,"primary",void 0),ya([R({type:Boolean})],ga.prototype,"secondary",void 0),ya([R({type:Boolean})],ga.prototype,"unbounded",void 0),ya([R({type:Boolean})],ga.prototype,"activated",void 0),ya([R({type:Boolean})],ga.prototype,"selected",void 0),ya([R({type:Boolean})],ga.prototype,"disabled",void 0),ya([I()],ga.prototype,"hovered",void 0),ya([I()],ga.prototype,"focused",void 0),ya([I()],ga.prototype,"pressed",void 0),ya([I()],ga.prototype,"rippling",void 0),ya([I()],ga.prototype,"originX",void 0),ya([I()],ga.prototype,"originY",void 0),ya([A(".ft-ripple")],ga.prototype,"ripple",void 0),ya([A(".ft-ripple--effect")],ga.prototype,"rippleEffect",void 0),B("ft-ripple")(ga);
282
+ `}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()}}ga.elementDefinitions={},ga.styles=ua,ya([R({type:Boolean})],ga.prototype,"primary",void 0),ya([R({type:Boolean})],ga.prototype,"secondary",void 0),ya([R({type:Boolean})],ga.prototype,"unbounded",void 0),ya([R({type:Boolean})],ga.prototype,"activated",void 0),ya([R({type:Boolean})],ga.prototype,"selected",void 0),ya([R({type:Boolean})],ga.prototype,"disabled",void 0),ya([I()],ga.prototype,"hovered",void 0),ya([I()],ga.prototype,"focused",void 0),ya([I()],ga.prototype,"pressed",void 0),ya([I()],ga.prototype,"rippling",void 0),ya([I()],ga.prototype,"originX",void 0),ya([I()],ga.prototype,"originY",void 0),ya([W(".ft-ripple")],ga.prototype,"ripple",void 0),ya([W(".ft-ripple--effect")],ga.prototype,"rippleEffect",void 0),B("ft-ripple")(ga);
283
283
  /**
284
284
  * @license
285
285
  * Copyright 2020 Google LLC
286
286
  * SPDX-License-Identifier: BSD-3-Clause
287
287
  */
288
- const ba=Symbol.for(""),va=t=>{if(t?.r===ba)return t?._$litStatic$},ma=t=>({_$litStatic$:t,r:ba}),xa=new Map,Oa=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=va(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=xa.get(t))&&(a.raw=a,xa.set(t,e=a)),o=s}return t(e,...o)})(st);var wa;!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"}(wa||(wa={}));const Sa=Ue.extend("--ft-typography-font-family","",Fe.titleFont),Na=Ue.extend("--ft-typography-font-family","",Fe.contentFont),$a={fontFamily:Na,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")},Ca=Ue.extend("--ft-typography-title-font-family","",Sa),Ea=Ue.extend("--ft-typography-title-font-size","",$a.fontSize,"20px"),ka=Ue.extend("--ft-typography-title-font-weight","",$a.fontWeight,"normal"),Ra=Ue.extend("--ft-typography-title-letter-spacing","",$a.letterSpacing,"0.15px"),Ia=Ue.extend("--ft-typography-title-line-height","",$a.lineHeight,"1.2"),Ua=Ue.extend("--ft-typography-title-text-transform","",$a.textTransform,"inherit"),La=Ue.extend("--ft-typography-title-dense-font-family","",Sa),Aa=Ue.extend("--ft-typography-title-dense-font-size","",$a.fontSize,"14px"),Wa=Ue.extend("--ft-typography-title-dense-font-weight","",$a.fontWeight,"normal"),ja=Ue.extend("--ft-typography-title-dense-letter-spacing","",$a.letterSpacing,"0.105px"),za=Ue.extend("--ft-typography-title-dense-line-height","",$a.lineHeight,"1.7"),Fa=Ue.extend("--ft-typography-title-dense-text-transform","",$a.textTransform,"inherit"),Da=Ue.extend("--ft-typography-subtitle1-font-family","",Na),Ba=Ue.extend("--ft-typography-subtitle1-font-size","",$a.fontSize,"16px"),Pa=Ue.extend("--ft-typography-subtitle1-font-weight","",$a.fontWeight,"600"),Ta=Ue.extend("--ft-typography-subtitle1-letter-spacing","",$a.letterSpacing,"0.144px"),Ma=Ue.extend("--ft-typography-subtitle1-line-height","",$a.lineHeight,"1.5"),Ka=Ue.extend("--ft-typography-subtitle1-text-transform","",$a.textTransform,"inherit"),Za=Ue.extend("--ft-typography-subtitle2-font-family","",Na),_a=Ue.extend("--ft-typography-subtitle2-font-size","",$a.fontSize,"14px"),Ha=Ue.extend("--ft-typography-subtitle2-font-weight","",$a.fontWeight,"normal"),Ga=Ue.extend("--ft-typography-subtitle2-letter-spacing","",$a.letterSpacing,"0.098px"),Va=Ue.extend("--ft-typography-subtitle2-line-height","",$a.lineHeight,"1.7"),qa=Ue.extend("--ft-typography-subtitle2-text-transform","",$a.textTransform,"inherit"),Ya=Ue.extend("--ft-typography-body1-font-family","",Na),Xa=Ue.extend("--ft-typography-body1-font-size","",$a.fontSize,"16px"),Ja=Ue.extend("--ft-typography-body1-font-weight","",$a.fontWeight,"normal"),Qa=Ue.extend("--ft-typography-body1-letter-spacing","",$a.letterSpacing,"0.496px"),ts=Ue.extend("--ft-typography-body1-line-height","",$a.lineHeight,"1.5"),es=Ue.extend("--ft-typography-body1-text-transform","",$a.textTransform,"inherit"),os={fontFamily:Ue.extend("--ft-typography-body2-font-family","",Na),fontSize:Ue.extend("--ft-typography-body2-font-size","",$a.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-body2-font-weight","",$a.fontWeight,"normal"),letterSpacing:Ue.extend("--ft-typography-body2-letter-spacing","",$a.letterSpacing,"0.252px"),lineHeight:Ue.extend("--ft-typography-body2-line-height","",$a.lineHeight,"1.4"),textTransform:Ue.extend("--ft-typography-body2-text-transform","",$a.textTransform,"inherit")},is=Ue.extend("--ft-typography-caption-font-family","",Na),rs=Ue.extend("--ft-typography-caption-font-size","",$a.fontSize,"12px"),ns=Ue.extend("--ft-typography-caption-font-weight","",$a.fontWeight,"normal"),as=Ue.extend("--ft-typography-caption-letter-spacing","",$a.letterSpacing,"0.396px"),ss=Ue.extend("--ft-typography-caption-line-height","",$a.lineHeight,"1.33"),ls=Ue.extend("--ft-typography-caption-text-transform","",$a.textTransform,"inherit"),cs=Ue.extend("--ft-typography-breadcrumb-font-family","",Na),hs=Ue.extend("--ft-typography-breadcrumb-font-size","",$a.fontSize,"10px"),fs=Ue.extend("--ft-typography-breadcrumb-font-weight","",$a.fontWeight,"normal"),ps=Ue.extend("--ft-typography-breadcrumb-letter-spacing","",$a.letterSpacing,"0.33px"),us=Ue.extend("--ft-typography-breadcrumb-line-height","",$a.lineHeight,"1.6"),ds=Ue.extend("--ft-typography-breadcrumb-text-transform","",$a.textTransform,"inherit"),ys=Ue.extend("--ft-typography-overline-font-family","",Na),gs=Ue.extend("--ft-typography-overline-font-size","",$a.fontSize,"10px"),bs=Ue.extend("--ft-typography-overline-font-weight","",$a.fontWeight,"normal"),vs=Ue.extend("--ft-typography-overline-letter-spacing","",$a.letterSpacing,"1.5px"),ms=Ue.extend("--ft-typography-overline-line-height","",$a.lineHeight,"1.6"),xs=Ue.extend("--ft-typography-overline-text-transform","",$a.textTransform,"uppercase"),Os={fontFamily:Ue.extend("--ft-typography-button-font-family","",Na),fontSize:Ue.extend("--ft-typography-button-font-size","",$a.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-button-font-weight","",$a.fontWeight,"600"),letterSpacing:Ue.extend("--ft-typography-button-letter-spacing","",$a.letterSpacing,"1.246px"),lineHeight:Ue.extend("--ft-typography-button-line-height","",$a.lineHeight,"1.15"),textTransform:Ue.extend("--ft-typography-button-text-transform","",$a.textTransform,"uppercase")},ws=Ut`
288
+ const ba=Symbol.for(""),ma=t=>{if(t?.r===ba)return t?._$litStatic$},va=t=>({_$litStatic$:t,r:ba}),xa=new Map,Oa=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=ma(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=xa.get(t))&&(a.raw=a,xa.set(t,e=a)),o=s}return t(e,...o)})(st);var wa;!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"}(wa||(wa={}));const Sa=Ue.extend("--ft-typography-font-family","",je.titleFont),Na=Ue.extend("--ft-typography-font-family","",je.contentFont),$a={fontFamily:Na,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")},Ca=Ue.extend("--ft-typography-title-font-family","",Sa),Ea=Ue.extend("--ft-typography-title-font-size","",$a.fontSize,"20px"),ka=Ue.extend("--ft-typography-title-font-weight","",$a.fontWeight,"normal"),Ra=Ue.extend("--ft-typography-title-letter-spacing","",$a.letterSpacing,"0.15px"),Ia=Ue.extend("--ft-typography-title-line-height","",$a.lineHeight,"1.2"),Ua=Ue.extend("--ft-typography-title-text-transform","",$a.textTransform,"inherit"),La=Ue.extend("--ft-typography-title-dense-font-family","",Sa),Wa=Ue.extend("--ft-typography-title-dense-font-size","",$a.fontSize,"14px"),Aa=Ue.extend("--ft-typography-title-dense-font-weight","",$a.fontWeight,"normal"),za=Ue.extend("--ft-typography-title-dense-letter-spacing","",$a.letterSpacing,"0.105px"),Da=Ue.extend("--ft-typography-title-dense-line-height","",$a.lineHeight,"1.7"),ja=Ue.extend("--ft-typography-title-dense-text-transform","",$a.textTransform,"inherit"),Fa=Ue.extend("--ft-typography-subtitle1-font-family","",Na),Ba=Ue.extend("--ft-typography-subtitle1-font-size","",$a.fontSize,"16px"),Pa=Ue.extend("--ft-typography-subtitle1-font-weight","",$a.fontWeight,"600"),Ka=Ue.extend("--ft-typography-subtitle1-letter-spacing","",$a.letterSpacing,"0.144px"),Ta=Ue.extend("--ft-typography-subtitle1-line-height","",$a.lineHeight,"1.5"),Ma=Ue.extend("--ft-typography-subtitle1-text-transform","",$a.textTransform,"inherit"),Za=Ue.extend("--ft-typography-subtitle2-font-family","",Na),_a=Ue.extend("--ft-typography-subtitle2-font-size","",$a.fontSize,"14px"),Ha=Ue.extend("--ft-typography-subtitle2-font-weight","",$a.fontWeight,"normal"),Ga=Ue.extend("--ft-typography-subtitle2-letter-spacing","",$a.letterSpacing,"0.098px"),Va=Ue.extend("--ft-typography-subtitle2-line-height","",$a.lineHeight,"1.7"),qa=Ue.extend("--ft-typography-subtitle2-text-transform","",$a.textTransform,"inherit"),Ya=Ue.extend("--ft-typography-body1-font-family","",Na),Xa=Ue.extend("--ft-typography-body1-font-size","",$a.fontSize,"16px"),Ja=Ue.extend("--ft-typography-body1-font-weight","",$a.fontWeight,"normal"),Qa=Ue.extend("--ft-typography-body1-letter-spacing","",$a.letterSpacing,"0.496px"),ts=Ue.extend("--ft-typography-body1-line-height","",$a.lineHeight,"1.5"),es=Ue.extend("--ft-typography-body1-text-transform","",$a.textTransform,"inherit"),os={fontFamily:Ue.extend("--ft-typography-body2-font-family","",Na),fontSize:Ue.extend("--ft-typography-body2-font-size","",$a.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-body2-font-weight","",$a.fontWeight,"normal"),letterSpacing:Ue.extend("--ft-typography-body2-letter-spacing","",$a.letterSpacing,"0.252px"),lineHeight:Ue.extend("--ft-typography-body2-line-height","",$a.lineHeight,"1.4"),textTransform:Ue.extend("--ft-typography-body2-text-transform","",$a.textTransform,"inherit")},is=Ue.extend("--ft-typography-caption-font-family","",Na),rs=Ue.extend("--ft-typography-caption-font-size","",$a.fontSize,"12px"),ns=Ue.extend("--ft-typography-caption-font-weight","",$a.fontWeight,"normal"),as=Ue.extend("--ft-typography-caption-letter-spacing","",$a.letterSpacing,"0.396px"),ss=Ue.extend("--ft-typography-caption-line-height","",$a.lineHeight,"1.33"),ls=Ue.extend("--ft-typography-caption-text-transform","",$a.textTransform,"inherit"),cs=Ue.extend("--ft-typography-breadcrumb-font-family","",Na),fs=Ue.extend("--ft-typography-breadcrumb-font-size","",$a.fontSize,"10px"),hs=Ue.extend("--ft-typography-breadcrumb-font-weight","",$a.fontWeight,"normal"),ps=Ue.extend("--ft-typography-breadcrumb-letter-spacing","",$a.letterSpacing,"0.33px"),ds=Ue.extend("--ft-typography-breadcrumb-line-height","",$a.lineHeight,"1.6"),us=Ue.extend("--ft-typography-breadcrumb-text-transform","",$a.textTransform,"inherit"),ys=Ue.extend("--ft-typography-overline-font-family","",Na),gs=Ue.extend("--ft-typography-overline-font-size","",$a.fontSize,"10px"),bs=Ue.extend("--ft-typography-overline-font-weight","",$a.fontWeight,"normal"),ms=Ue.extend("--ft-typography-overline-letter-spacing","",$a.letterSpacing,"1.5px"),vs=Ue.extend("--ft-typography-overline-line-height","",$a.lineHeight,"1.6"),xs=Ue.extend("--ft-typography-overline-text-transform","",$a.textTransform,"uppercase"),Os={fontFamily:Ue.extend("--ft-typography-button-font-family","",Na),fontSize:Ue.extend("--ft-typography-button-font-size","",$a.fontSize,"14px"),fontWeight:Ue.extend("--ft-typography-button-font-weight","",$a.fontWeight,"600"),letterSpacing:Ue.extend("--ft-typography-button-letter-spacing","",$a.letterSpacing,"1.246px"),lineHeight:Ue.extend("--ft-typography-button-line-height","",$a.lineHeight,"1.15"),textTransform:Ue.extend("--ft-typography-button-text-transform","",$a.textTransform,"uppercase")},ws=Ut`
289
289
  .ft-typography--title {
290
290
  font-family: ${Ca};
291
291
  font-size: ${Ea};
@@ -297,20 +297,20 @@ const ba=Symbol.for(""),va=t=>{if(t?.r===ba)return t?._$litStatic$},ma=t=>({_$li
297
297
  `,Ss=Ut`
298
298
  .ft-typography--title-dense {
299
299
  font-family: ${La};
300
- font-size: ${Aa};
301
- font-weight: ${Wa};
302
- letter-spacing: ${ja};
303
- line-height: ${za};
304
- text-transform: ${Fa};
300
+ font-size: ${Wa};
301
+ font-weight: ${Aa};
302
+ letter-spacing: ${za};
303
+ line-height: ${Da};
304
+ text-transform: ${ja};
305
305
  }
306
306
  `,Ns=Ut`
307
307
  .ft-typography--subtitle1 {
308
- font-family: ${Da};
308
+ font-family: ${Fa};
309
309
  font-size: ${Ba};
310
310
  font-weight: ${Pa};
311
- letter-spacing: ${Ta};
312
- line-height: ${Ma};
313
- text-transform: ${Ka};
311
+ letter-spacing: ${Ka};
312
+ line-height: ${Ta};
313
+ text-transform: ${Ma};
314
314
  }
315
315
  `,$s=Ut`
316
316
  .ft-typography--subtitle2 {
@@ -352,19 +352,19 @@ const ba=Symbol.for(""),va=t=>{if(t?.r===ba)return t?._$litStatic$},ma=t=>({_$li
352
352
  `,Rs=Ut`
353
353
  .ft-typography--breadcrumb {
354
354
  font-family: ${cs};
355
- font-size: ${hs};
356
- font-weight: ${fs};
355
+ font-size: ${fs};
356
+ font-weight: ${hs};
357
357
  letter-spacing: ${ps};
358
- line-height: ${us};
359
- text-transform: ${ds};
358
+ line-height: ${ds};
359
+ text-transform: ${us};
360
360
  }
361
361
  `,Is=Ut`
362
362
  .ft-typography--overline {
363
363
  font-family: ${ys};
364
364
  font-size: ${gs};
365
365
  font-weight: ${bs};
366
- letter-spacing: ${vs};
367
- line-height: ${ms};
366
+ letter-spacing: ${ms};
367
+ line-height: ${vs};
368
368
  text-transform: ${xs};
369
369
  }
370
370
  `,Us=Ut`
@@ -380,7 +380,7 @@ const ba=Symbol.for(""),va=t=>{if(t?.r===ba)return t?._$litStatic$},ma=t=>({_$li
380
380
  .ft-typography {
381
381
  vertical-align: inherit;
382
382
  }
383
- `,As=[Object.keys(We).map((t=>function(t){const e=We[t];return Ut`
383
+ `,Ws=[Object.keys(Ae).map((t=>function(t){const e=Ae[t];return Ut`
384
384
  .ft-typography--${It(t)} {
385
385
  font-family: ${e.fontFamily};
386
386
  font-size: ${e.fontSize};
@@ -389,20 +389,20 @@ const ba=Symbol.for(""),va=t=>{if(t?.r===ba)return t?._$litStatic$},ma=t=>({_$li
389
389
  line-height: ${e.lineHeight};
390
390
  text-transform: ${e.textCase};
391
391
  }
392
- `}(t)))];var Ws=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class js extends Vo{constructor(){super(...arguments),this.variant=wa.body1}render(){return this.element?Oa`
393
- <${ma(this.element)}
392
+ `}(t)))];var As=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zs extends Vo{constructor(){super(...arguments),this.variant=wa.body1}render(){return this.element?Oa`
393
+ <${va(this.element)}
394
394
  class="ft-typography ft-typography--${this.variant}">
395
395
  <slot></slot>
396
- </${ma(this.element)}>
396
+ </${va(this.element)}>
397
397
  `:Oa`
398
398
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
399
- `}}js.styles=[ws,Ss,Ns,$s,Cs,Es,ks,Rs,Is,Us,Ls,...As],Ws([R()],js.prototype,"element",void 0),Ws([R()],js.prototype,"variant",void 0),B("ft-typography")(js);
399
+ `}}zs.styles=[ws,Ss,Ns,$s,Cs,Es,ks,Rs,Is,Us,Ls,...Ws],As([R()],zs.prototype,"element",void 0),As([R()],zs.prototype,"variant",void 0),B("ft-typography")(zs);
400
400
  /**
401
401
  * @license
402
402
  * Copyright 2017 Google LLC
403
403
  * SPDX-License-Identifier: BSD-3-Clause
404
404
  */
405
- class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)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:[]}}}zs.directiveName="unsafeHTML",zs.resultType=1;const Fs=nn(zs);var Ds,Bs;!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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(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;"}(Bs||(Bs={})),new Map([...["abw"].map((t=>[t,Bs.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,Bs.AUDIO])),...["avi"].map((t=>[t,Bs.AVI])),...["chm","xhs"].map((t=>[t,Bs.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,Bs.CODE])),...["csv"].map((t=>[t,Bs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bs.DITA])),...["epub"].map((t=>[t,Bs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bs.EXCEL])),...["flac"].map((t=>[t,Bs.FLAC])),...["gif"].map((t=>[t,Bs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bs.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Bs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bs.JPEG])),...["json"].map((t=>[t,Bs.JSON])),...["m4a","m4p"].map((t=>[t,Bs.M4A])),...["mov","qt"].map((t=>[t,Bs.MOV])),...["mp3"].map((t=>[t,Bs.MP3])),...["mp4","m4v"].map((t=>[t,Bs.MP4])),...["ogg","oga"].map((t=>[t,Bs.OGG])),...["pdf","ps"].map((t=>[t,Bs.PDF])),...["png"].map((t=>[t,Bs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bs.POWERPOINT])),...["rar"].map((t=>[t,Bs.RAR])),...["stp"].map((t=>[t,Bs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bs.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,Bs.VIDEO])),...["wav"].map((t=>[t,Bs.WAV])),...["wma"].map((t=>[t,Bs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bs.YAML])),...["zip"].map((t=>[t,Bs.ZIP]))]),Bs.ABW,Bs.AUDIO,Bs.AVI,Bs.CHM,Bs.CODE,Bs.CSV,Bs.DITA,Bs.EPUB,Bs.EXCEL,Bs.FLAC,Bs.GIF,Bs.GZIP,Bs.HTML,Bs.IMAGE,Bs.JPEG,Bs.JSON,Bs.M4A,Bs.MOV,Bs.MP3,Bs.MP4,Bs.OGG,Bs.PDF,Bs.PNG,Bs.POWERPOINT,Bs.RAR,Bs.STP,Bs.TEXT,Bs.UNKNOWN,Bs.VIDEO,Bs.WAV,Bs.WMA,Bs.WORD,Bs.XML,Bs.YAML,Bs.ZIP;const Ps={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")},Ts=Ut`
405
+ class Ds extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)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:[]}}}Ds.directiveName="unsafeHTML",Ds.resultType=1;const js=nn(Ds);var Fs,Bs;!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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(Fs||(Fs={})),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;"}(Bs||(Bs={})),new Map([...["abw"].map((t=>[t,Bs.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,Bs.AUDIO])),...["avi"].map((t=>[t,Bs.AVI])),...["chm","xhs"].map((t=>[t,Bs.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,Bs.CODE])),...["csv"].map((t=>[t,Bs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bs.DITA])),...["epub"].map((t=>[t,Bs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bs.EXCEL])),...["flac"].map((t=>[t,Bs.FLAC])),...["gif"].map((t=>[t,Bs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bs.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Bs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bs.JPEG])),...["json"].map((t=>[t,Bs.JSON])),...["m4a","m4p"].map((t=>[t,Bs.M4A])),...["mov","qt"].map((t=>[t,Bs.MOV])),...["mp3"].map((t=>[t,Bs.MP3])),...["mp4","m4v"].map((t=>[t,Bs.MP4])),...["ogg","oga"].map((t=>[t,Bs.OGG])),...["pdf","ps"].map((t=>[t,Bs.PDF])),...["png"].map((t=>[t,Bs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bs.POWERPOINT])),...["rar"].map((t=>[t,Bs.RAR])),...["stp"].map((t=>[t,Bs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bs.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,Bs.VIDEO])),...["wav"].map((t=>[t,Bs.WAV])),...["wma"].map((t=>[t,Bs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bs.YAML])),...["zip"].map((t=>[t,Bs.ZIP]))]),Bs.ABW,Bs.AUDIO,Bs.AVI,Bs.CHM,Bs.CODE,Bs.CSV,Bs.DITA,Bs.EPUB,Bs.EXCEL,Bs.FLAC,Bs.GIF,Bs.GZIP,Bs.HTML,Bs.IMAGE,Bs.JPEG,Bs.JSON,Bs.M4A,Bs.MOV,Bs.MP3,Bs.MP4,Bs.OGG,Bs.PDF,Bs.PNG,Bs.POWERPOINT,Bs.RAR,Bs.STP,Bs.TEXT,Bs.UNKNOWN,Bs.VIDEO,Bs.WAV,Bs.WMA,Bs.WORD,Bs.XML,Bs.YAML,Bs.ZIP;const Ps={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")},Ks=Ut`
406
406
  :host, i.ft-icon {
407
407
  display: inline-flex;
408
408
  align-items: center;
@@ -450,12 +450,12 @@ class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)throw Erro
450
450
  .ft-icon--material {
451
451
  font-family: ${Ps.materialFontFamily}, "Material Icons", sans-serif;
452
452
  }
453
- `;var Ms;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ms||(Ms={}));var Ks=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zs extends Vo{constructor(){super(...arguments),this.resolvedIcon=ye}render(){const t=this.variant&&Object.values(Ms).includes(this.variant)?this.variant:Ms.fluid_topics,e=t!==Ms.material||!!this.value;return ue`
453
+ `;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,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zs extends Vo{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 de`
454
454
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
455
- ${Fs(this.resolvedIcon)}
455
+ ${js(this.resolvedIcon)}
456
456
  <slot ?hidden=${e}></slot>
457
457
  </i>
458
- `}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 Ms.file_format:this.resolvedIcon=null!==(t=Bs[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ms.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()))}}Zs.elementDefinitions={},Zs.styles=Ts,Ks([R()],Zs.prototype,"variant",void 0),Ks([R()],Zs.prototype,"value",void 0),Ks([I()],Zs.prototype,"resolvedIcon",void 0),Ks([A("slot")],Zs.prototype,"slottedContent",void 0),B("ft-icon")(Zs);const _s={color:Ue.extend("--ft-loader-color","",Fe.colorPrimary),size:Ue.create("--ft-loader-size","","SIZE","80px")},Hs=Ut`
458
+ `}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=Bs[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ts.material:this.resolvedIcon=this.value||ye;break;default:this.resolvedIcon=null!==(e=Fs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Zs.elementDefinitions={},Zs.styles=Ks,Ms([R()],Zs.prototype,"variant",void 0),Ms([R()],Zs.prototype,"value",void 0),Ms([I()],Zs.prototype,"resolvedIcon",void 0),Ms([W("slot")],Zs.prototype,"slottedContent",void 0),B("ft-icon")(Zs);const _s={color:Ue.extend("--ft-loader-color","",je.colorPrimary),size:Ue.create("--ft-loader-size","","SIZE","80px")},Hs=Ut`
459
459
  :host {
460
460
  line-height: 0;
461
461
  }
@@ -524,7 +524,7 @@ class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)throw Erro
524
524
  transform: translate(calc(0.35 * ${_s.size}), 0);
525
525
  }
526
526
  }
527
- `,Gs=Ue.extend("--ft-button-color","",Fe.colorPrimary),Vs={backgroundColor:Ue.extend("--ft-button-background-color","",Fe.colorSurface),borderRadius:Ue.extend("--ft-button-border-radius","",Fe.borderRadiusL),color:Gs,fontSize:Ue.extend("--ft-button-font-size","",Os.fontSize),iconSize:Ue.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ue.extend("--ft-button-ripple-color","",Gs),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")},qs=Ue.extend("--ft-button-primary-color","",Ue.extend("--ft-button-color","",Fe.colorOnPrimary)),Ys={backgroundColor:Ue.extend("--ft-button-primary-background-color","",Ue.extend("--ft-button-background-color","",Fe.colorPrimary)),color:qs,rippleColor:Ue.extend("--ft-button-primary-ripple-color","",qs)},Xs=Ue.extend("--ft-button-dense-border-radius","",Ue.extend("--ft-button-border-radius","",Fe.borderRadiusM)),Js=Ue.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Qs=Ue.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),tl=Ue.create("--ft-button-dense-icon-padding","","SIZE","4px"),el=[Ut`
527
+ `,Gs=Ue.extend("--ft-button-color","",je.colorPrimary),Vs={backgroundColor:Ue.extend("--ft-button-background-color","",je.colorSurface),borderRadius:Ue.extend("--ft-button-border-radius","",je.borderRadiusL),color:Gs,fontSize:Ue.extend("--ft-button-font-size","",Os.fontSize),iconSize:Ue.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ue.extend("--ft-button-ripple-color","",Gs),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(je.colorOpacityDisabled,"Design system")},qs=Ue.extend("--ft-button-primary-color","",Ue.extend("--ft-button-color","",je.colorOnPrimary)),Ys={backgroundColor:Ue.extend("--ft-button-primary-background-color","",Ue.extend("--ft-button-background-color","",je.colorPrimary)),color:qs,rippleColor:Ue.extend("--ft-button-primary-ripple-color","",qs)},Xs=Ue.extend("--ft-button-dense-border-radius","",Ue.extend("--ft-button-border-radius","",je.borderRadiusM)),Js=Ue.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Qs=Ue.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),tl=Ue.create("--ft-button-dense-icon-padding","","SIZE","4px"),el=[Ut`
528
528
  :host {
529
529
  display: inline-block;
530
530
  max-width: 100%;
@@ -661,7 +661,7 @@ class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)throw Erro
661
661
  ${Le(_s.size,Vs.iconSize)};
662
662
  ${Le(_s.color,"var(--ft-button-internal-color)")};
663
663
  }
664
- `,Yo],ol=Ue.create("--ft-tooltip-distance","","SIZE","4px"),il=Ue.create("--ft-tooltip-color","","COLOR","#FFFFFF"),rl=Ue.create("--ft-tooltip-background-color","","COLOR","#666666"),nl=Ue.create("--ft-tooltip-z-index","","NUMBER","100"),al=Ue.external(Fe.borderRadiusS,"Design system"),sl=Ue.create("--ft-tooltip-max-width","","SIZE","150px"),ll=Ut`
664
+ `,Yo],ol=Ue.create("--ft-tooltip-distance","","SIZE","4px"),il=Ue.create("--ft-tooltip-color","","COLOR","#FFFFFF"),rl=Ue.create("--ft-tooltip-background-color","","COLOR","#666666"),nl=Ue.create("--ft-tooltip-z-index","","NUMBER","100"),al=Ue.external(je.borderRadiusS,"Design system"),sl=Ue.create("--ft-tooltip-max-width","","SIZE","150px"),ll=Ut`
665
665
  .ft-tooltip--container {
666
666
  display: block;
667
667
  }
@@ -690,7 +690,7 @@ class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)throw Erro
690
690
  position: relative;
691
691
  word-break: break-word;
692
692
  }
693
- `;var cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hl extends Vo{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
+ `;var cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fl extends Vo{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 de`
694
694
  <div part="container"
695
695
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
696
696
  @mouseenter=${this.onHover}
@@ -708,20 +708,20 @@ class zs extends an{constructor(t){if(super(t),this.et=ct,t.type!==rn)throw Erro
708
708
  </div>
709
709
  </div>
710
710
  </div>
711
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Fo(t,e,{platform:{...zo,getOffsetParent:t=>zo.getOffsetParent(t,Do)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ge(i,t),c={x:e,y:o},h=await io(t,l),f=Je(Ve(r)),p=Ye(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=He(u+h["y"===p?"top":"left"],u,u-h[t])}if(a){const t="y"===f?"bottom":"right";d=He(d+h["y"===f?"top":"left"],d,d-h[t])}const y=s.fn({...t,[p]:u,[f]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),no({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}hl.elementDefinitions={"ft-typography":js},hl.styles=ll,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
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return jo(t,e,{platform:{...Do,getOffsetParent:t=>Do.getOffsetParent(t,Fo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ge(i,t),c={x:e,y:o},f=await io(t,l),h=Je(Ve(r)),p=Ye(h);let d=c[p],u=c[h];if(n){const t="y"===p?"bottom":"right";d=He(d+f["y"===p?"top":"left"],d,d-f[t])}if(a){const t="y"===h?"bottom":"right";u=He(u+f["y"===h?"top":"left"],u,u-f[t])}const y=s.fn({...t,[p]:d,[h]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),no({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}fl.elementDefinitions={"ft-typography":zs},fl.styles=ll,cl([R()],fl.prototype,"text",void 0),cl([R({type:Boolean})],fl.prototype,"manual",void 0),cl([R({type:Boolean})],fl.prototype,"inline",void 0),cl([R({type:Number})],fl.prototype,"delay",void 0),cl([R()],fl.prototype,"position",void 0),cl([
712
712
  /**
713
713
  * @license
714
714
  * Copyright 2017 Google LLC
715
715
  * SPDX-License-Identifier: BSD-3-Clause
716
716
  */
717
- 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 Vo{render(){return ue`
717
+ 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)??[]}})}}()],fl.prototype,"slotNodes",void 0),cl([W(".ft-tooltip--container")],fl.prototype,"container",void 0),cl([W(".ft-tooltip")],fl.prototype,"tooltip",void 0),cl([W(".ft-tooltip--content")],fl.prototype,"tooltipContent",void 0),cl([I()],fl.prototype,"visible",void 0),cl([U({passive:!0})],fl.prototype,"onTouch",null),cl([U({passive:!0})],fl.prototype,"onHover",null),cl([U({passive:!0})],fl.prototype,"onOut",null),cl([U({passive:!0})],fl.prototype,"onClick",null),B("ft-tooltip")(fl);class hl extends Vo{render(){return de`
718
718
  <div class="ft-loader">
719
719
  <div></div>
720
720
  <div></div>
721
721
  <div></div>
722
722
  <div></div>
723
723
  </div>
724
- `}}fl.styles=Hs,B("ft-loader")(fl);var pl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ul extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Xr].form}constructor(...t){super(t),this[Xr]=this.attachInternals(),this[Xr].role=e}setFormValue(t){this[Xr].setFormValue(t)}}}(Vo,"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
+ `}}hl.styles=Hs,B("ft-loader")(hl);var pl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Xr].form}constructor(...t){super(t),this[Xr]=this.attachInternals(),this[Xr].role=e}setFormValue(t){this[Xr].setFormValue(t)}}}(Vo,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(de`
725
725
  <button part="button"
726
726
  class="${na(this.buttonClasses)}"
727
727
  aria-label="${this.getLabel()}"
@@ -736,15 +736,15 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
736
736
  </ft-typography>
737
737
  ${this.resolveIcon()}
738
738
  </button>
739
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ue`
739
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?de`
740
740
  <ft-tooltip part="tooltip"
741
741
  text="${this.getLabel()}"
742
742
  position="${this.tooltipPosition}">
743
743
  ${t}
744
744
  </ft-tooltip>
745
- `:t}resolveIcon(){return this.loading?ue`
746
- <ft-loader part="loader icon"></ft-loader> `:this.icon?ue`
747
- <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":ga,"ft-tooltip":hl,"ft-typography":js,"ft-icon":Zs,"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,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class 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=[Xo,el],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`
745
+ `:t}resolveIcon(){return this.loading?de`
746
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?de`
747
+ <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}}dl.elementDefinitions={"ft-ripple":ga,"ft-tooltip":fl,"ft-typography":zs,"ft-icon":Zs,"ft-loader":hl},pl([R({type:String,reflect:!0})],dl.prototype,"role",void 0),pl([R()],dl.prototype,"type",void 0),pl([R({type:Boolean})],dl.prototype,"disabled",void 0),pl([R()],dl.prototype,"label",void 0),pl([R()],dl.prototype,"icon",void 0),pl([R()],dl.prototype,"iconVariant",void 0),pl([R({type:Boolean})],dl.prototype,"trailingIcon",void 0),pl([R({type:Boolean})],dl.prototype,"loading",void 0),pl([R()],dl.prototype,"tooltipPosition",void 0),pl([R({type:Boolean})],dl.prototype,"hideTooltip",void 0),pl([R({type:Boolean})],dl.prototype,"forceTooltip",void 0),pl([W(".ft-button")],dl.prototype,"button",void 0),pl([W(".ft-button--label slot")],dl.prototype,"slottedContent",void 0);var ul=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yl extends dl{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=[Xo,el],ul([R({type:Boolean})],yl.prototype,"primary",void 0),ul([R({type:Boolean})],yl.prototype,"outlined",void 0),ul([R({type:Boolean})],yl.prototype,"dense",void 0),ul([R({type:Boolean})],yl.prototype,"round",void 0);const gl=[Ut`
748
748
  :host {
749
749
  display: inline-block;
750
750
  max-width: 100%;
@@ -794,7 +794,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
794
794
  }
795
795
 
796
796
  .ft-button:focus-visible {
797
- outline-color: ${ze.focusFocusRingColor};
797
+ outline-color: ${De.focusFocusRingColor};
798
798
  outline-style: solid;
799
799
  }
800
800
 
@@ -823,146 +823,146 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
823
823
  /** Primary styles **/
824
824
 
825
825
  .ft-button--primary {
826
- ${Le(_s.color,ze.primaryIconColor)};
826
+ ${Le(_s.color,De.primaryIconColor)};
827
827
 
828
- ${Le(sa.color,ze.primaryStateLayerColor)};
829
- ${Le(sa.opacityContentOnSurfaceHover,ze.primaryStateLayerOpacityHover)};
830
- ${Le(sa.opacityContentOnSurfaceFocused,ze.primaryStateLayerOpacityFocus)};
831
- ${Le(sa.opacityContentOnSurfaceSelected,ze.primaryStateLayerOpacityActive)};
832
- ${Le(sa.opacityContentOnSurfacePressed,ze.primaryStateLayerOpacityActive)};
828
+ ${Le(sa.color,De.primaryStateLayerColor)};
829
+ ${Le(sa.opacityContentOnSurfaceHover,De.primaryStateLayerOpacityHover)};
830
+ ${Le(sa.opacityContentOnSurfaceFocused,De.primaryStateLayerOpacityFocus)};
831
+ ${Le(sa.opacityContentOnSurfaceSelected,De.primaryStateLayerOpacityActive)};
832
+ ${Le(sa.opacityContentOnSurfacePressed,De.primaryStateLayerOpacityActive)};
833
833
 
834
- background-color: ${ze.primaryBackgroundColor};
835
- color: ${ze.primaryColor};
834
+ background-color: ${De.primaryBackgroundColor};
835
+ color: ${De.primaryColor};
836
836
  border-style: none;
837
837
  }
838
838
 
839
839
  .ft-button--primary[disabled] {
840
- opacity: ${ze.primaryComponentOpacityDisabled};
840
+ opacity: ${De.primaryComponentOpacityDisabled};
841
841
  }
842
842
 
843
843
  .ft-button--primary ft-icon {
844
- color: ${ze.primaryIconColor};
844
+ color: ${De.primaryIconColor};
845
845
  }
846
846
 
847
847
  /** Secondary styles **/
848
848
 
849
849
  .ft-button--secondary {
850
- ${Le(_s.color,ze.secondaryIconColor)};
850
+ ${Le(_s.color,De.secondaryIconColor)};
851
851
 
852
- ${Le(sa.color,ze.secondaryStateLayerColor)};
853
- ${Le(sa.opacityContentOnSurfaceHover,ze.secondaryStateLayerOpacityHover)};
854
- ${Le(sa.opacityContentOnSurfaceFocused,ze.secondaryStateLayerOpacityFocus)};
855
- ${Le(sa.opacityContentOnSurfaceSelected,ze.secondaryStateLayerOpacityActive)};
856
- ${Le(sa.opacityContentOnSurfacePressed,ze.secondaryStateLayerOpacityActive)};
852
+ ${Le(sa.color,De.secondaryStateLayerColor)};
853
+ ${Le(sa.opacityContentOnSurfaceHover,De.secondaryStateLayerOpacityHover)};
854
+ ${Le(sa.opacityContentOnSurfaceFocused,De.secondaryStateLayerOpacityFocus)};
855
+ ${Le(sa.opacityContentOnSurfaceSelected,De.secondaryStateLayerOpacityActive)};
856
+ ${Le(sa.opacityContentOnSurfacePressed,De.secondaryStateLayerOpacityActive)};
857
857
 
858
- background-color: ${ze.secondaryBackgroundColor};
859
- color: ${ze.secondaryColor};
860
- border-color: ${ze.secondaryBorderColor};
858
+ background-color: ${De.secondaryBackgroundColor};
859
+ color: ${De.secondaryColor};
860
+ border-color: ${De.secondaryBorderColor};
861
861
  border-style: solid;
862
862
  }
863
863
 
864
864
  .ft-button--secondary[disabled] {
865
- opacity: ${ze.secondaryComponentOpacityDisabled};
865
+ opacity: ${De.secondaryComponentOpacityDisabled};
866
866
  }
867
867
 
868
868
  .ft-button--secondary ft-icon {
869
- color: ${ze.secondaryIconColor};
869
+ color: ${De.secondaryIconColor};
870
870
  }
871
871
 
872
872
  /** Tertiary styles **/
873
873
 
874
874
  .ft-button--tertiary {
875
- ${Le(_s.color,ze.tertiaryIconColor)};
875
+ ${Le(_s.color,De.tertiaryIconColor)};
876
876
 
877
- ${Le(sa.color,ze.tertiaryStateLayerColor)};
878
- ${Le(sa.opacityContentOnSurfaceHover,ze.tertiaryStateLayerOpacityHover)};
879
- ${Le(sa.opacityContentOnSurfaceFocused,ze.tertiaryStateLayerOpacityFocus)};
880
- ${Le(sa.opacityContentOnSurfaceSelected,ze.tertiaryStateLayerOpacityActive)};
881
- ${Le(sa.opacityContentOnSurfacePressed,ze.tertiaryStateLayerOpacityActive)};
877
+ ${Le(sa.color,De.tertiaryStateLayerColor)};
878
+ ${Le(sa.opacityContentOnSurfaceHover,De.tertiaryStateLayerOpacityHover)};
879
+ ${Le(sa.opacityContentOnSurfaceFocused,De.tertiaryStateLayerOpacityFocus)};
880
+ ${Le(sa.opacityContentOnSurfaceSelected,De.tertiaryStateLayerOpacityActive)};
881
+ ${Le(sa.opacityContentOnSurfacePressed,De.tertiaryStateLayerOpacityActive)};
882
882
 
883
- background-color: ${ze.tertiaryBackgroundColor};
884
- color: ${ze.tertiaryColor};
883
+ background-color: ${De.tertiaryBackgroundColor};
884
+ color: ${De.tertiaryColor};
885
885
  border-style: none;
886
886
  }
887
887
 
888
888
  .ft-button--tertiary[disabled] {
889
- opacity: ${ze.tertiaryComponentOpacityDisabled};
889
+ opacity: ${De.tertiaryComponentOpacityDisabled};
890
890
  }
891
891
 
892
892
  .ft-button--tertiary ft-icon {
893
- color: ${ze.tertiaryIconColor};
893
+ color: ${De.tertiaryIconColor};
894
894
  }
895
895
 
896
896
  /** Neutral styles **/
897
897
 
898
898
  .ft-button--neutral {
899
- ${Le(_s.color,ze.neutralIconColor)};
899
+ ${Le(_s.color,De.neutralIconColor)};
900
900
 
901
- ${Le(sa.backgroundColor,ze.neutralStateLayerColor)};
902
- ${Le(sa.opacityContentOnSurfaceHover,ze.neutralStateLayerOpacityHover)};
903
- ${Le(sa.opacityContentOnSurfaceFocused,ze.neutralStateLayerOpacityFocus)};
904
- ${Le(sa.opacityContentOnSurfaceSelected,ze.neutralStateLayerOpacityActive)};
905
- ${Le(sa.opacityContentOnSurfacePressed,ze.neutralStateLayerOpacityActive)};
901
+ ${Le(sa.backgroundColor,De.neutralStateLayerColor)};
902
+ ${Le(sa.opacityContentOnSurfaceHover,De.neutralStateLayerOpacityHover)};
903
+ ${Le(sa.opacityContentOnSurfaceFocused,De.neutralStateLayerOpacityFocus)};
904
+ ${Le(sa.opacityContentOnSurfaceSelected,De.neutralStateLayerOpacityActive)};
905
+ ${Le(sa.opacityContentOnSurfacePressed,De.neutralStateLayerOpacityActive)};
906
906
 
907
- background-color: ${ze.neutralBackgroundColor};
908
- color: ${ze.neutralColor};
907
+ background-color: ${De.neutralBackgroundColor};
908
+ color: ${De.neutralColor};
909
909
  border-style: none;
910
910
  }
911
911
 
912
912
  .ft-button--neutral[disabled] {
913
- opacity: ${ze.neutralComponentOpacityDisabled};
913
+ opacity: ${De.neutralComponentOpacityDisabled};
914
914
  }
915
915
 
916
916
  .ft-button--neutral ft-icon {
917
- color: ${ze.neutralIconColor};
917
+ color: ${De.neutralIconColor};
918
918
  }
919
919
 
920
920
  /** Large styles **/
921
921
 
922
922
  .ft-button--large {
923
- ${Le(Ps.size,ze.largeIconSize)};
924
- ${Le(_s.size,ze.largeIconSize)};
923
+ ${Le(Ps.size,De.largeIconSize)};
924
+ ${Le(_s.size,De.largeIconSize)};
925
925
 
926
- height: ${ze.largeHeight};
927
- padding: 0 ${ze.largeHorizontalPadding};
928
- gap: ${ze.largeGap};
929
- border-radius: ${ze.largeBorderRadius};
930
- border-width: ${ze.largeBorderWidth};
926
+ height: ${De.largeHeight};
927
+ padding: 0 ${De.largeHorizontalPadding};
928
+ gap: ${De.largeGap};
929
+ border-radius: ${De.largeBorderRadius};
930
+ border-width: ${De.largeBorderWidth};
931
931
  }
932
932
 
933
933
  .ft-button--large:focus-visible {
934
- outline-width: ${ze.largeFocusOutlineWidth};
935
- outline-offset: ${ze.largeFocusOutlineOffset};
934
+ outline-width: ${De.largeFocusOutlineWidth};
935
+ outline-offset: ${De.largeFocusOutlineOffset};
936
936
  }
937
937
 
938
938
  .ft-button--large.ft-button--icon-only {
939
- width: ${ze.largeIconOnlyWidth};
939
+ width: ${De.largeIconOnlyWidth};
940
940
  padding: unset;
941
941
  }
942
942
 
943
943
  /** Small styles **/
944
944
 
945
945
  .ft-button--small {
946
- ${Le(Ps.size,ze.smallIconSize)};
947
- ${Le(_s.size,ze.smallIconSize)};
946
+ ${Le(Ps.size,De.smallIconSize)};
947
+ ${Le(_s.size,De.smallIconSize)};
948
948
 
949
- height: ${ze.smallHeight};
950
- padding: 0 ${ze.smallHorizontalPadding};
951
- gap: ${ze.smallGap};
952
- border-radius: ${ze.smallBorderRadius};
953
- border-width: ${ze.smallBorderWidth};
949
+ height: ${De.smallHeight};
950
+ padding: 0 ${De.smallHorizontalPadding};
951
+ gap: ${De.smallGap};
952
+ border-radius: ${De.smallBorderRadius};
953
+ border-width: ${De.smallBorderWidth};
954
954
  }
955
955
 
956
956
  .ft-button--small:focus-visible {
957
- outline-width: ${ze.smallFocusOutlineWidth};
958
- outline-offset: ${ze.smallFocusOutlineOffset};
957
+ outline-width: ${De.smallFocusOutlineWidth};
958
+ outline-offset: ${De.smallFocusOutlineOffset};
959
959
  }
960
960
 
961
961
  .ft-button--small.ft-button--icon-only {
962
- width: ${ze.smallIconOnlyWidth};
962
+ width: ${De.smallIconOnlyWidth};
963
963
  padding: unset;
964
964
  }
965
- `,Yo];var bl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class 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?wa.caption1medium:wa.body2medium}}vl.styles=[Xo,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","",Fe.colorOnSurface),xl={backgroundColor:Ue.extend("--ft-chip-background-color","",Fe.colorSurface),color:ml,fontSize:Ue.extend("--ft-chip-font-size","",os.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(Fe.colorOutline,"Design system"),opacityDisabled:Ue.external(Fe.colorOpacityDisabled,"Design system")},Ol=Ue.extend("--ft-chip-highlighted-color","",Ue.extend("--ft-chip-color","",Fe.colorOnPrimary)),wl={backgroundColor:Ue.extend("--ft-chip-highlighted-background-color","",Ue.extend("--ft-chip-background-color","",Fe.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=[Yo,Ut`
965
+ `,Yo];var bl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ml extends dl{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?wa.caption1medium:wa.body2medium}}ml.styles=[Xo,gl],bl([R({type:Boolean})],ml.prototype,"primary",void 0),bl([R({type:Boolean})],ml.prototype,"secondary",void 0),bl([R({type:Boolean})],ml.prototype,"tertiary",void 0),bl([R({type:Boolean})],ml.prototype,"neutral",void 0),bl([R({type:Boolean})],ml.prototype,"small",void 0),B("ft-button")(yl),B("ftds-button")(ml);const vl=Ue.extend("--ft-chip-color","",je.colorOnSurface),xl={backgroundColor:Ue.extend("--ft-chip-background-color","",je.colorSurface),color:vl,fontSize:Ue.extend("--ft-chip-font-size","",os.fontSize),iconSize:Ue.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ue.extend("--ft-chip-ripple-color","",vl),horizontalPadding:Ue.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ue.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ue.external(je.colorOutline,"Design system"),opacityDisabled:Ue.external(je.colorOpacityDisabled,"Design system")},Ol=Ue.extend("--ft-chip-highlighted-color","",Ue.extend("--ft-chip-color","",je.colorOnPrimary)),wl={backgroundColor:Ue.extend("--ft-chip-highlighted-background-color","",Ue.extend("--ft-chip-background-color","",je.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=[Yo,Ut`
966
966
  :host {
967
967
  display: inline-block;
968
968
  max-width: 100%;
@@ -1099,7 +1099,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1099
1099
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1100
1100
  order: -1;
1101
1101
  }
1102
- `];var Cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class El extends CustomEvent{constructor(){super("icon-click")}}class kl extends Vo{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":en};return ue`
1102
+ `];var Cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class El extends CustomEvent{constructor(){super("icon-click")}}class kl extends Vo{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":en};return de`
1103
1103
  <div class="${na(t)}"
1104
1104
  aria-label="${this.getLabel()}"
1105
1105
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1110,7 +1110,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1110
1110
  </ft-typography>
1111
1111
  ${this.internalIcon?this.renderIcon():null}
1112
1112
  </div>
1113
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?ue`
1113
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?de`
1114
1114
  <ft-button round
1115
1115
  class="ft-chip--icon-button"
1116
1116
  @click=${this.onIconClick}
@@ -1118,20 +1118,20 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1118
1118
  icon="${this.internalIcon}"
1119
1119
  label="${this.iconLabel}"
1120
1120
  ></ft-button>
1121
- `:ue`
1121
+ `:de`
1122
1122
  <div class="ft-chip--icon-container ft-no-text-select">
1123
1123
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1124
1124
  </div>
1125
- `}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":ga,"ft-typography":js,"ft-icon":Zs,"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`
1126
- `;var Il=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const 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?Kn:Mn}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(Vo)){}class jl extends(Al(li)){}var zl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fl extends jl{constructor(){super(),this.editorMode=!1,this.addStore(Fn)}render(){return this.key&&this.context?ue`
1125
+ `}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":ga,"ft-typography":zs,"ft-icon":Zs,"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([W("ft-typography slot")],kl.prototype,"slottedContent",void 0),B("ft-chip")(kl);const Rl=Ut`
1126
+ `;var Il=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ul=Symbol("i18nProperties"),Ll=Symbol("i18nUnsubs");function Wl(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Mn:Tn}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 Al extends(Wl(Vo)){}class zl extends(Wl(li)){}var Dl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jl extends zl{constructor(){super(),this.editorMode=!1,this.addStore(jn)}render(){return this.key&&this.context?de`
1127
1127
  <span class="ft-i18n">
1128
1128
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1129
1129
  </span>
1130
- `: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:""})}}Fl.elementDefinitions={},Fl.styles=Rl,zl([Qo()],Fl.prototype,"editorMode",void 0),zl([R()],Fl.prototype,"context",void 0),zl([R()],Fl.prototype,"key",void 0),zl([P([])],Fl.prototype,"args",void 0),zl([R()],Fl.prototype,"defaultMessage",void 0);class Dl{static build(t){return new Dl(t)}static fromGwt(t){return new Dl(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)=>Mn.resolveMessage(this.name,e,...t)})}}B("ft-i18n")(Fl);const Bl=Ut`
1131
- `;var Pl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class 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 li{get stateManager(){return null==this._stateManager&&(this._stateManager=ta.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(Fn)}render(){return ue`
1130
+ `: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:""})}}jl.elementDefinitions={},jl.styles=Rl,Dl([Qo()],jl.prototype,"editorMode",void 0),Dl([R()],jl.prototype,"context",void 0),Dl([R()],jl.prototype,"key",void 0),Dl([P([])],jl.prototype,"args",void 0),Dl([R()],jl.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)=>Tn.resolveMessage(this.name,e,...t)})}}B("ft-i18n")(jl);const Bl=Ut`
1131
+ `;var Pl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kl extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Tl extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Ml extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Zl extends li{get stateManager(){return null==this._stateManager&&(this._stateManager=ta.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(jn)}render(){return de`
1132
1132
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1133
- `}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(){Yn.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([Qo({store:"search"})],Zl.prototype,"request",void 0),Pl([Qo({store:"search"})],Zl.prototype,"paging",void 0),Pl([Qo({store:"search",selector:t=>t.spellcheck})],Zl.prototype,"autocorrect",void 0),Pl([Qo({store:Fn.name})],Zl.prototype,"session",void 0),B("ft-search-context")(Zl);const _l=Ut`
1134
- `,Hl=Ue.extend("--ft-checkbox-text-color","",Fe.colorOnSurfaceHigh),Gl=Ue.extend("--ft-checkbox-font-size","",$a.fontSize),Vl=Ue.external(Fe.colorPrimary,"Design system"),ql=Ue.external(Fe.colorOnPrimary,"Design system"),Yl=Ue.extend("--ft-checkbox-border-color","",Fe.colorOnSurfaceMedium),Xl=Ue.external(Fe.colorOnSurfaceDisabled,"Design system"),Jl=Ut`
1133
+ `}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 Tl(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Ml(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 Kl(t))}reloadSavedSearches(){Yn.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([Qo({store:"search"})],Zl.prototype,"request",void 0),Pl([Qo({store:"search"})],Zl.prototype,"paging",void 0),Pl([Qo({store:"search",selector:t=>t.spellcheck})],Zl.prototype,"autocorrect",void 0),Pl([Qo({store:jn.name})],Zl.prototype,"session",void 0),B("ft-search-context")(Zl);const _l=Ut`
1134
+ `,Hl=Ue.extend("--ft-checkbox-text-color","",je.colorOnSurfaceHigh),Gl=Ue.extend("--ft-checkbox-font-size","",$a.fontSize),Vl=Ue.external(je.colorPrimary,"Design system"),ql=Ue.external(je.colorOnPrimary,"Design system"),Yl=Ue.extend("--ft-checkbox-border-color","",je.colorOnSurfaceMedium),Xl=Ue.external(je.colorOnSurfaceDisabled,"Design system"),Jl=Ut`
1135
1135
  * {
1136
1136
  box-sizing: border-box;
1137
1137
  }
@@ -1209,7 +1209,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1209
1209
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1210
1210
  opacity: 1;
1211
1211
  }
1212
- `;var Ql=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tc extends Vo{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
+ `;var Ql=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class tc extends Vo{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 de`
1213
1213
  <label class="${na(t)}" for="checkbox-input">
1214
1214
  <div class="ft-checkbox--box-container">
1215
1215
  <ft-ripple
@@ -1235,7 +1235,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1235
1235
  <slot></slot>
1236
1236
  </ft-typography>
1237
1237
  </label>
1238
- `}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":ga,"ft-typography":js},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","",Fe.colorOnSurfaceHigh),oc=Ue.external(Fe.colorPrimary,"Design system"),ic=(Ue.external(Fe.colorOnPrimary,"Design system"),Ue.extend("--ft-radio-border-color","",Fe.colorOnSurfaceMedium)),rc=Ue.external(Fe.colorOnSurfaceDisabled,"Design system"),nc=Ut`
1238
+ `}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":ga,"ft-typography":zs},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([W(".ft-checkbox")],tc.prototype,"container",void 0),Ql([W("ft-ripple")],tc.prototype,"ripple",void 0),B("ft-checkbox")(tc);const ec=Ue.extend("--ft-radio-text-color","",je.colorOnSurfaceHigh),oc=Ue.external(je.colorPrimary,"Design system"),ic=(Ue.external(je.colorOnPrimary,"Design system"),Ue.extend("--ft-radio-border-color","",je.colorOnSurfaceMedium)),rc=Ue.external(je.colorOnSurfaceDisabled,"Design system"),nc=Ut`
1239
1239
  * {
1240
1240
  box-sizing: border-box;
1241
1241
  }
@@ -1314,7 +1314,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1314
1314
  .ft-radio--disabled .ft-radio--box:after {
1315
1315
  background-color: ${rc};
1316
1316
  }
1317
- `;var ac=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sc extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class lc extends Vo{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
+ `;var ac=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sc extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class lc extends Vo{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 de`
1318
1318
  <div class="${na(t)}">
1319
1319
  <div class="ft-radio--box-container">
1320
1320
  <ft-ripple
@@ -1339,22 +1339,22 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1339
1339
  </ft-typography>
1340
1340
  </label>
1341
1341
  </div>
1342
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new sc(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 sc(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}lc.elementDefinitions={"ft-ripple":ga,"ft-typography":js},lc.styles=nc,ac([R()],lc.prototype,"value",void 0),ac([R()],lc.prototype,"name",void 0),ac([R({type:Boolean,reflect:!0})],lc.prototype,"checked",void 0),ac([R({type:Boolean})],lc.prototype,"disabled",void 0),ac([A(".ft-radio")],lc.prototype,"container",void 0),ac([A("ft-ripple")],lc.prototype,"ripple",void 0),ac([A("input")],lc.prototype,"input",void 0);const cc=Ut`
1342
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new sc(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 sc(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}lc.elementDefinitions={"ft-ripple":ga,"ft-typography":zs},lc.styles=nc,ac([R()],lc.prototype,"value",void 0),ac([R()],lc.prototype,"name",void 0),ac([R({type:Boolean,reflect:!0})],lc.prototype,"checked",void 0),ac([R({type:Boolean})],lc.prototype,"disabled",void 0),ac([W(".ft-radio")],lc.prototype,"container",void 0),ac([W("ft-ripple")],lc.prototype,"ripple",void 0),ac([W("input")],lc.prototype,"input",void 0);const cc=Ut`
1343
1343
  :host {
1344
1344
  display: contents;
1345
1345
  }
1346
- `;var hc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fc extends Vo{constructor(){super(...arguments),this.name=""}render(){return ue`
1346
+ `;var fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hc extends Vo{constructor(){super(...arguments),this.name=""}render(){return de`
1347
1347
  <slot @slotchange=${this.onSlotChange}
1348
1348
  @change=${this.onChange}
1349
1349
  @keydown=${this.onKeyDown}
1350
1350
  ></slot>
1351
- `}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
+ `}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)}}hc.elementDefinitions={},hc.styles=cc,fc([R()],hc.prototype,"name",void 0),fc([
1352
1352
  /**
1353
1353
  * @license
1354
1354
  * Copyright 2021 Google LLC
1355
1355
  * SPDX-License-Identifier: BSD-3-Clause
1356
1356
  */
1357
- 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(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(os.fontFamily,"Body2 typography"),fontSize:Ue.external(os.fontSize,"Body2 typography"),fontWeight:Ue.external(os.fontWeight,"Body2 typography"),letterSpacing:Ue.external(os.letterSpacing,"Body2 typography"),lineHeight:Ue.external(os.lineHeight,"Body2 typography"),textTransform:Ue.external(os.textTransform,"Body2 typography")},uc=Ut`
1357
+ 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)))}})}}()],hc.prototype,"radioButtons",void 0),B("ft-radio")(lc),B("ft-radio-group")(hc);const pc={borderRadiusM:Ue.external(je.borderRadiusM,"Design system"),colorOutline:Ue.external(je.colorOutline,"Design system"),colorOnSurface:Ue.external(je.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ue.external(je.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ue.external(je.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ue.external(je.colorPrimary,"Design system"),colorOnPrimary:Ue.external(je.colorOnPrimary,"Design system"),fontFamily:Ue.external(os.fontFamily,"Body2 typography"),fontSize:Ue.external(os.fontSize,"Body2 typography"),fontWeight:Ue.external(os.fontWeight,"Body2 typography"),letterSpacing:Ue.external(os.letterSpacing,"Body2 typography"),lineHeight:Ue.external(os.lineHeight,"Body2 typography"),textTransform:Ue.external(os.textTransform,"Body2 typography")},dc=Ut`
1358
1358
  .ft-filter-level--container {
1359
1359
  display: flex;
1360
1360
  flex-direction: column;
@@ -1420,9 +1420,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1420
1420
  margin: 10px 0;
1421
1421
  color: ${pc.colorOnSurfaceMedium};
1422
1422
  }
1423
- `;var dc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yc extends Vo{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
+ `;var uc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yc extends Vo{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 de`
1424
1424
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1425
- ${null==this.parent?null:ue`
1425
+ ${null==this.parent?null:de`
1426
1426
  <div tabindex="0"
1427
1427
  part="controls go-back"
1428
1428
  class="ft-filter-level--go-back"
@@ -1434,15 +1434,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1434
1434
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1435
1435
  </div>
1436
1436
  `}
1437
- ${0===this.options.length&&this.noValuesLabel?ue`
1437
+ ${0===this.options.length&&this.noValuesLabel?de`
1438
1438
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1439
1439
  ${this.noValuesLabel}
1440
1440
  </ft-typography>
1441
1441
  `:ye}
1442
- ${dn(e,(t=>t.value),(t=>{var e;return ue`
1442
+ ${un(e,(t=>t.value),(t=>{var e;return de`
1443
1443
  <div class="ft-filter-level--option" part="options">
1444
1444
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1445
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ye:ue`
1445
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ye:de`
1446
1446
  <ft-button icon="thin_arrow_right"
1447
1447
  part="controls navigate-hierarchy"
1448
1448
  label="${t.label}"
@@ -1452,7 +1452,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1452
1452
  `}
1453
1453
  </div>
1454
1454
  `}))}
1455
- ${e.length<t.length?ue`
1455
+ ${e.length<t.length?de`
1456
1456
  <ft-button
1457
1457
  class="ft-filter-level--display-more"
1458
1458
  icon="thin_arrow"
@@ -1463,17 +1463,17 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1463
1463
  </ft-button>
1464
1464
  `:ye}
1465
1465
  </div>
1466
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return ue`
1466
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return de`
1467
1467
  <ft-checkbox name="${this.filterId}"
1468
1468
  part="multivalued-option"
1469
1469
  data-value="${t.value}"
1470
1470
  .checked=${t.selected}
1471
1471
  .disabled=${this.disabled}
1472
- .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))}
1472
+ .indeterminate=${j(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1473
1473
  @change=${e=>this.optionsChanged(e,t)}>
1474
1474
  ${t.renderOption?t.renderOption:t.label}
1475
1475
  </ft-checkbox>
1476
- `}buildMonoValuedOption(t){return ue`
1476
+ `}buildMonoValuedOption(t){return de`
1477
1477
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1478
1478
  part="monovalued-option"
1479
1479
  data-value="${t.value}"
@@ -1484,7 +1484,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1484
1484
  @change=${t=>t.stopPropagation()}>
1485
1485
  ${t.renderOption?t.renderOption:t.label}
1486
1486
  </ft-radio>
1487
- `}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":ga,"ft-typography":js,"ft-checkbox":tc,"ft-icon":Zs,"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","",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")},bc=Ut`
1487
+ `}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":ga,"ft-typography":zs,"ft-checkbox":tc,"ft-icon":Zs,"ft-radio":lc},yc.styles=dc,uc([R({type:String})],yc.prototype,"filterId",void 0),uc([R({type:Object})],yc.prototype,"parent",void 0),uc([R({type:Array})],yc.prototype,"options",void 0),uc([R({type:Boolean})],yc.prototype,"multivalued",void 0),uc([R({type:Boolean})],yc.prototype,"disabled",void 0),uc([R({type:Boolean})],yc.prototype,"hideSelectedOptions",void 0),uc([R({type:Boolean})],yc.prototype,"preventNavigation",void 0),uc([R({type:String})],yc.prototype,"filter",void 0),uc([R({type:String})],yc.prototype,"moreValuesButtonLabel",void 0),uc([R({type:String})],yc.prototype,"noValuesLabel",void 0),uc([R({type:Number})],yc.prototype,"displayedValuesLimit",void 0),uc([W(".ft-filter-level--container")],yc.prototype,"container",void 0),uc([I()],yc.prototype,"displayedPages",void 0);const gc={buttonsColor:Ue.extend("--ft-snap-scroll-buttons-color","",je.colorPrimary),buttonsZIndex:Ue.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ue.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ue.external(je.colorSurface,"Design system")},bc=Ut`
1488
1488
  .ft-snap-scroll {
1489
1489
  box-sizing: border-box;
1490
1490
  position: relative;
@@ -1609,7 +1609,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1609
1609
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1610
1610
  background-color: ${gc.colorSurface};
1611
1611
  }
1612
- `;var vc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class mc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class xc extends Vo{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=na({"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":en}),e=this.controls&&this.withScroll;return ue`
1612
+ `;var mc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class xc extends Vo{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=na({"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":en}),e=this.controls&&this.withScroll;return de`
1613
1613
  <div part="container" class="${t}">
1614
1614
  <ft-button
1615
1615
  class="ft-snap-scroll--previous"
@@ -1633,7 +1633,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1633
1633
  @click=${this.next}
1634
1634
  ></ft-button>
1635
1635
  </div>
1636
- `}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(Fe.colorOutline,"Design system"),wc=Ue.external(Fe.colorOnSurface,"Design system"),Sc=Ue.external(Fe.colorOnSurfaceMedium,"Design system"),Nc=Ue.external(Fe.colorPrimary,"Design system"),$c=Ue.external(Fe.colorSurface,"Design system"),Cc=Ue.external(Fe.transitionDuration,"Design system"),Ec=Ue.external(Fe.transitionTimingFunction,"Design system"),kc=Ue.extend("--ft-filter-label-color","",Fe.colorOnSurface),Rc=Ue.extend("--ft-filter-label-font-size","",$a.fontSize,"16px"),Ic=[ks,Ut`
1636
+ `}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 vc(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,mc([R({type:Boolean})],xc.prototype,"horizontal",void 0),mc([R({type:Boolean})],xc.prototype,"hideScrollbar",void 0),mc([R({type:Boolean})],xc.prototype,"controls",void 0),mc([R({type:Boolean})],xc.prototype,"limitSize",void 0),mc([I()],xc.prototype,"elements",void 0),mc([I()],xc.prototype,"currentElement",void 0),mc([I()],xc.prototype,"withScroll",void 0),mc([I()],xc.prototype,"startReached",void 0),mc([I()],xc.prototype,"endReached",void 0),mc([W(".ft-snap-scroll--content")],xc.prototype,"contentSlot",void 0),B("ft-snap-scroll")(xc);const Oc=Ue.external(je.colorOutline,"Design system"),wc=Ue.external(je.colorOnSurface,"Design system"),Sc=Ue.external(je.colorOnSurfaceMedium,"Design system"),Nc=Ue.external(je.colorPrimary,"Design system"),$c=Ue.external(je.colorSurface,"Design system"),Cc=Ue.external(je.transitionDuration,"Design system"),Ec=Ue.external(je.transitionTimingFunction,"Design system"),kc=Ue.extend("--ft-filter-label-color","",je.colorOnSurface),Rc=Ue.extend("--ft-filter-label-font-size","",$a.fontSize,"16px"),Ic=[ks,Ut`
1637
1637
  :host {
1638
1638
  display: flex;
1639
1639
  max-height: 100%;
@@ -1745,16 +1745,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1745
1745
  slot:not([name]) {
1746
1746
  display: none;
1747
1747
  }
1748
- `];var Uc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Lc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Ac extends Vo{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`
1748
+ `];var Uc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Lc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Wc extends Vo{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 j(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return j(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 de`
1749
1749
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1750
1750
  part="container">
1751
- ${this.label||t?ue`
1751
+ ${this.label||t?de`
1752
1752
  <div class="ft-filter--header" part="header">
1753
1753
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1754
1754
  ${this.label}
1755
1755
  </ft-typography>
1756
1756
  <slot name="label"></slot>
1757
- ${t&&!this.hideClearButton?ue`
1757
+ ${t&&!this.hideClearButton?de`
1758
1758
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1759
1759
  ${this.clearButtonLabel}
1760
1760
  </ft-button>
@@ -1778,8 +1778,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1778
1778
  @slotchange=${this.updateOptionsFromSlot}
1779
1779
  @option-change=${this.optionsChanged}></slot>
1780
1780
  </div>
1781
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return ue`
1782
- ${this.raiseSelectedOptions&&e.length>0?ue`
1781
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return de`
1782
+ ${this.raiseSelectedOptions&&e.length>0?de`
1783
1783
  <ft-filter-level
1784
1784
  filterId="${this.id}"
1785
1785
  ?multivalued=${this.multivalued}
@@ -1798,7 +1798,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1798
1798
  ${this.renderLevel(i,this.options)}
1799
1799
  ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1800
1800
  </ft-snap-scroll>
1801
- `}renderLevel(t,e,o){return ue`
1801
+ `}renderLevel(t,e,o){return de`
1802
1802
  <ft-filter-level
1803
1803
  class="${t}"
1804
1804
  filterId="${this.id}"
@@ -1817,23 +1817,23 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1817
1817
  .exportpartsPrefixes=${["values","available-values"]}
1818
1818
  noValuesLabel="${this.noValuesLabel}"
1819
1819
  ></ft-filter-level>
1820
- `}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 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":js},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,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jc extends Vo{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ue`
1820
+ `}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)}}Wc.elementDefinitions={"ft-button":yl,"ft-filter-level":yc,"ft-snap-scroll":xc,"ft-typography":zs},Wc.styles=Ic,Uc([R({type:String})],Wc.prototype,"id",void 0),Uc([R({type:String})],Wc.prototype,"label",void 0),Uc([R({type:String})],Wc.prototype,"filterPlaceHolder",void 0),Uc([R({type:String})],Wc.prototype,"clearButtonLabel",void 0),Uc([R({type:String})],Wc.prototype,"moreValuesButtonLabel",void 0),Uc([R({type:String})],Wc.prototype,"noValuesLabel",void 0),Uc([P([])],Wc.prototype,"options",void 0),Uc([R({type:Boolean})],Wc.prototype,"multivalued",void 0),Uc([R({type:Boolean})],Wc.prototype,"disabled",void 0),Uc([R({type:Boolean})],Wc.prototype,"raiseSelectedOptions",void 0),Uc([R({type:Number})],Wc.prototype,"displayedValuesLimit",void 0),Uc([R({type:Boolean})],Wc.prototype,"hideClearButton",void 0),Uc([W(".ft-filter--slot")],Wc.prototype,"slotElement",void 0),Uc([W(".ft-filter--container")],Wc.prototype,"container",void 0),Uc([W(".ft-filter--values")],Wc.prototype,"valuesContainer",void 0),Uc([W(".ft-filter--levels")],Wc.prototype,"levelsContainer",void 0),Uc([I()],Wc.prototype,"lastLevelHasHiddenvalues",void 0),Uc([W(".ft-filter--filter input")],Wc.prototype,"filterInput",void 0),Uc([function(t){return(e,o)=>L(0,0,{get(){return(this.renderRoot??(A??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Wc.prototype,"levels",void 0),Uc([I()],Wc.prototype,"withScroll",void 0),Uc([I()],Wc.prototype,"filter",void 0),Uc([I()],Wc.prototype,"slideIn",void 0),Uc([I()],Wc.prototype,"slideOut",void 0);var Ac=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zc extends Vo{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return de`
1821
1821
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1822
- `}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=Dl.build("designedSearchType"),Fc={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Dc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bc extends(Al(ra)){constructor(){super(),this.addI18nContext(zc,Fc)}render(){return ue`
1822
+ `}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}))}}zc.elementDefinitions={},Ac([R({type:String})],zc.prototype,"label",void 0),Ac([R({type:Object,converter:t=>t})],zc.prototype,"value",void 0),Ac([R({type:Boolean,reflect:!0})],zc.prototype,"selected",void 0),Ac([R({type:Object})],zc.prototype,"subOptions",void 0),Ac([P({})],zc.prototype,"renderOption",void 0),Ac([W(".ft-filter-option--slot")],zc.prototype,"slotElement",void 0),B("ft-filter")(Wc),B("ft-filter-option")(zc);const Dc=Fl.build("designedSearchType"),jc={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bc extends(Wl(ra)){constructor(){super(),this.addI18nContext(Dc,jc)}render(){return de`
1823
1823
  <ft-filter
1824
- label=${zc.messages.label()}
1825
- .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}]}
1824
+ label=${Dc.messages.label()}
1825
+ .options=${[{label:Dc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1826
1826
  part="filter"
1827
1827
  .exportpartsPrefixes=${["filter"]}
1828
1828
  multivalued
1829
1829
  @change=${this.onSelected}
1830
1830
  ></ft-filter>
1831
- `}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,Dc([Qo({selector:Jn})],Bc.prototype,"searchInDocumentTitlesOnly",void 0),Dc([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,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tc extends(Al(ra)){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,Fc)}render(){return this.hasSomethingToDisplay?ue`
1831
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Bc.elementDefinitions={"ft-filter":Wc},Bc.styles=_l,Fc([Qo({selector:Jn})],Bc.prototype,"searchInDocumentTitlesOnly",void 0),Fc([W("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,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kc extends(Wl(ra)){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(Dc,jc)}render(){return this.hasSomethingToDisplay?de`
1832
1832
  <div class="ft-search-selected-facets--container">
1833
- ${dn(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return dn(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1833
+ ${un(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return un(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1834
1834
  ${this.renderSearchInDocumentTitlesOnly()}
1835
1835
  </div>
1836
- `:ye}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return ue`
1836
+ `:ye}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return de`
1837
1837
  <ft-tooltip inline text="${r}"
1838
1838
  part="tooltips tooltip-${n}">
1839
1839
  <ft-chip
@@ -1846,14 +1846,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1846
1846
  ${this.getLabelFromValue(i)}
1847
1847
  </ft-chip>
1848
1848
  </ft-tooltip>
1849
- `}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`
1850
- <ft-tooltip inline text="${zc.messages.documentTitlesOnly()}"
1849
+ `}getSelectedValues(t){return j(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?de`
1850
+ <ft-tooltip inline text="${Dc.messages.documentTitlesOnly()}"
1851
1851
  part="tooltips tooltip-search-in-document-titles-only">
1852
1852
  <ft-chip
1853
1853
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1854
1854
  removable
1855
1855
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1856
- ${zc.messages.documentTitlesOnly()}
1856
+ ${Dc.messages.documentTitlesOnly()}
1857
1857
  </ft-chip>
1858
1858
  </ft-tooltip>
1859
- `:ye}}Tc.elementDefinitions={"ft-chip":kl,"ft-tooltip":hl},Tc.styles=gn,Pc([Qo({store:"search"})],Tc.prototype,"facets",void 0),Pc([Qo({store:"search",selector:Jn})],Tc.prototype,"searchInDocumentTitlesOnly",void 0),B("ft-search-selected-facets")(Tc),t.FtSearchSelectedFacets=Tc,t.FtSearchSelectedFacetsCssVariables=yn,t.styles=gn}({});
1859
+ `:ye}}Kc.elementDefinitions={"ft-chip":kl,"ft-tooltip":fl},Kc.styles=gn,Pc([Qo({store:"search"})],Kc.prototype,"facets",void 0),Pc([Qo({store:"search",selector:Jn})],Kc.prototype,"searchInDocumentTitlesOnly",void 0),B("ft-search-selected-facets")(Kc),t.FtSearchSelectedFacets=Kc,t.FtSearchSelectedFacetsCssVariables=yn,t.styles=gn}({});