@fluid-topics/ft-search-selected-facets 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=s.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?d(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Rs){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)}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,a);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(s.set(r,c),c.standInClass=h);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=s.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?d(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const v=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Is){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)}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -38,54 +38,59 @@ const C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},E=(t=C,e,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const I=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
41
+ */function I(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function U(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 I(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 I(0,0,{get(){return n(this)}})}}
46
+ */const U=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */let L;class A{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}}const W=t=>new Promise((e=>setTimeout(e,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 z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function D(t,e){const o=()=>JSON.parse(JSON.stringify(t));return k({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:{}})}
51
+ */;function L(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 U(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 U(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
- */const B=globalThis,P=B.trustedTypes,M=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,T="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+K,_=`<${Z}>`,H=document,G=()=>H.createComment(""),V=t=>null===t||"object"!=typeof t&&"function"!=typeof t,q=Array.isArray,Y=t=>q(t)||"function"==typeof t?.[Symbol.iterator],X="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Q=/-->/g,tt=/>/g,et=RegExp(`>|${X}(?:([^\\s"'>=/]+)(${X}*=${X}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ot=/'/g,it=/"/g,rt=/^(?:script|style|textarea|title)$/i,nt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),st=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),lt=new WeakMap,ct=H.createTreeWalker(H,129);function ht(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}const ft=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=J;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,h=0;for(;h<o.length&&(s.lastIndex=h,l=s.exec(o),null!==l);)h=s.lastIndex,s===J?"!--"===l[1]?s=Q:void 0!==l[1]?s=tt:void 0!==l[2]?(rt.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=et):void 0!==l[3]&&(s=et):s===et?">"===l[0]?(s=r??J,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?et:'"'===l[3]?it:ot):s===it||s===ot?s=et:s===Q||s===tt?s=J:(s=et,r=void 0);const f=s===et&&t[e+1].startsWith("/>")?" ":"";n+=s===J?o+_:c>=0?(i.push(a),o.slice(0,c)+T+o.slice(c)+K+f):o+K+(-2===c?e:f)}return[ht(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let pt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,s=0;const a=e.length-1,l=this.parts,[c,h]=ft(e,o);if(this.el=t.createElement(c,i),ct.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ct.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(T)){const e=h[s++],o=r.getAttribute(t).split(K),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?bt:"?"===i[1]?vt:"@"===i[1]?mt:gt}),r.removeAttribute(t)}else t.startsWith(K)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(rt.test(r.tagName)){const t=r.textContent.split(K),e=t.length-1;if(e>0){r.textContent=P?P.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],G()),ct.nextNode(),l.push({type:2,index:++n});r.append(t[e],G())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,e){const o=H.createElement("template");return o.innerHTML=t,o}};function ut(t,e,o=t,i){if(e===st)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=V(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=ut(t,r._$AS(t,e.values),r,i)),e}let dt=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??H).importNode(e,!0);ct.currentNode=i;let r=ct.nextNode(),n=0,s=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new yt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new xt(r,this,t)),this._$AV.push(e),a=o[++s]}n!==a?.index&&(r=ct.nextNode(),n++)}return ct.currentNode=H,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++}},yt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=at,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=ut(this,t,e),V(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==st&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Y(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!==at&&V(this._$AH)?this._$AA.nextSibling.data=t:this.$(H.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=pt.createElement(ht(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new dt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=lt.get(t.strings);return void 0===e&&lt.set(t.strings,e=new pt(t)),e}T(e){q(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(G()),this.k(G()),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))}},gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=at,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=at}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ut(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==st,n&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=ut(this,i[o+s],e,s),a===st&&(a=this._$AH[s]),n||=!V(a)||a!==this._$AH[s],a===at?t=at:t!==at&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!i&&this.O(t)}O(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},bt=class extends gt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===at?void 0:t}},vt=class extends gt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==at)}},mt=class extends gt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ut(this,t,e,0)??at)===st)return;const o=this._$AH,i=t===at&&o!==at||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==at&&(o===at||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)}},xt=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){ut(this,t)}};const Ot={j:T,P:K,A:Z,C:1,M:ft,L:dt,R:Y,V:ut,D:yt,I:gt,H:vt,N:mt,U:bt,B:xt},wt=B.litHtmlPolyfillSupport;wt?.(pt,yt),(B.litHtmlVersions??=[]).push("3.1.0");
56
+ */let A;class W{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}}const j=t=>new Promise((e=>setTimeout(e,t)));function F(t,e){return t.flatMap((t=>[t,...F(e(t),e)]))}function z(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(!z(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(!z(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(!z(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const D=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function B(t,e){const o=()=>JSON.parse(JSON.stringify(t));return k({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)=>!z(t,e),...null!=e?e:{}})}
57
+ /**
58
+ * @license
59
+ * Copyright 2017 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */const P=globalThis,T=P.trustedTypes,M=T?T.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,_="?"+Z,H=`<${_}>`,G=document,V=()=>G.createComment(""),q=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Y=Array.isArray,X=t=>Y(t)||"function"==typeof t?.[Symbol.iterator],J="[ \t\n\f\r]",Q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tt=/-->/g,et=/>/g,ot=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),it=/'/g,rt=/"/g,nt=/^(?:script|style|textarea|title)$/i,st=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),at=Symbol.for("lit-noChange"),lt=Symbol.for("lit-nothing"),ct=new WeakMap,ht=G.createTreeWalker(G,129);function ft(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}const pt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=Q;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,h=0;for(;h<o.length&&(s.lastIndex=h,l=s.exec(o),null!==l);)h=s.lastIndex,s===Q?"!--"===l[1]?s=tt:void 0!==l[1]?s=et:void 0!==l[2]?(nt.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=ot):void 0!==l[3]&&(s=ot):s===ot?">"===l[0]?(s=r??Q,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?ot:'"'===l[3]?rt:it):s===rt||s===it?s=ot:s===tt||s===et?s=Q:(s=ot,r=void 0);const f=s===ot&&t[e+1].startsWith("/>")?" ":"";n+=s===Q?o+H:c>=0?(i.push(a),o.slice(0,c)+K+o.slice(c)+Z+f):o+Z+(-2===c?e:f)}return[ft(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,s=0;const a=e.length-1,l=this.parts,[c,h]=pt(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<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const e=h[s++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?vt:"?"===i[1]?mt:"@"===i[1]?xt:bt}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(nt.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=T?T.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],V()),ht.nextNode(),l.push({type:2,index:++n});r.append(t[e],V())}}}else if(8===r.nodeType)if(r.data===_)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=G.createElement("template");return o.innerHTML=t,o}};function dt(t,e,o=t,i){if(e===at)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=q(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=dt(t,r._$AS(t,e.values),r,i)),e}let yt=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??G).importNode(e,!0);ht.currentNode=i;let r=ht.nextNode(),n=0,s=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new gt(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Ot(r,this,t)),this._$AV.push(e),a=o[++s]}n!==a?.index&&(r=ht.nextNode(),n++)}return ht.currentNode=G,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++}},gt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=lt,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=dt(this,t,e),q(t)?t===lt||null==t||""===t?(this._$AH!==lt&&this._$AR(),this._$AH=lt):t!==this._$AH&&t!==at&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):X(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!==lt&&q(this._$AH)?this._$AA.nextSibling.data=t:this.$(G.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(ft(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new yt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ct.get(t.strings);return void 0===e&&ct.set(t.strings,e=new ut(t)),e}T(e){Y(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(V()),this.k(V()),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))}},bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=lt,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=lt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=dt(this,t,e,0),n=!q(t)||t!==this._$AH&&t!==at,n&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=dt(this,i[o+s],e,s),a===at&&(a=this._$AH[s]),n||=!q(a)||a!==this._$AH[s],a===lt?t=lt:t!==lt&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!i&&this.O(t)}O(t){t===lt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vt=class extends bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===lt?void 0:t}},mt=class extends bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==lt)}},xt=class extends bt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=dt(this,t,e,0)??lt)===at)return;const o=this._$AH,i=t===lt&&o!==lt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==lt&&(o===lt||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)}},Ot=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){dt(this,t)}};const wt={j:K,P:Z,A:_,C:1,M:pt,L:yt,R:X,V:dt,D:gt,I:bt,H:mt,N:xt,U:vt,B:Ot},St=P.litHtmlPolyfillSupport;St?.(ut,gt),(P.litHtmlVersions??=[]).push("3.1.0");
57
62
  /**
58
63
  * @license
59
64
  * Copyright 2019 Google LLC
60
65
  * SPDX-License-Identifier: BSD-3-Clause
61
66
  */
62
- const St=globalThis,Nt=St.ShadowRoot&&(void 0===St.ShadyCSS||St.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$t=Symbol(),Ct=new WeakMap;let Et=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==$t)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(Nt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Ct.set(e,t))}return t}toString(){return this.cssText}};const kt=t=>new Et("string"==typeof t?t:t+"",void 0,$t),Rt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new Et(o,t,$t)},It=Nt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return kt(e)})(t):t
67
+ const Nt=globalThis,$t=Nt.ShadowRoot&&(void 0===Nt.ShadyCSS||Nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ct=Symbol(),Et=new WeakMap;let kt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Ct)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($t&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Et.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Et.set(e,t))}return t}toString(){return this.cssText}};const Rt=t=>new kt("string"==typeof t?t:t+"",void 0,Ct),It=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new kt(o,t,Ct)},Ut=$t?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Rt(e)})(t):t
63
68
  /**
64
69
  * @license
65
70
  * Copyright 2017 Google LLC
66
71
  * SPDX-License-Identifier: BSD-3-Clause
67
- */,{is:Ut,defineProperty:Lt,getOwnPropertyDescriptor:At,getOwnPropertyNames:Wt,getOwnPropertySymbols:jt,getPrototypeOf:Ft}=Object,zt=globalThis,Dt=zt.trustedTypes,Bt=Dt?Dt.emptyScript:"",Pt=zt.reactiveElementPolyfillSupport,Mt=(t,e)=>t,Tt={toAttribute(t,e){switch(e){case Boolean:t=t?Bt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Kt=(t,e)=>!Ut(t,e),Zt={attribute:!0,type:String,converter:Tt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),zt.litPropertyMetadata??=new WeakMap;let _t=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=Zt){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&&Lt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=At(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)??Zt}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=[...Wt(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(It(t))}else void 0!==t&&e.push(It(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(Nt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=St.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:Tt).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:Tt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Kt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};_t.elementStyles=[],_t.shadowRootOptions={mode:"open"},_t[Mt("elementProperties")]=new Map,_t[Mt("finalized")]=new Map,Pt?.({ReactiveElement:_t}),(zt.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:Lt,defineProperty:At,getOwnPropertyDescriptor:Wt,getOwnPropertyNames:jt,getOwnPropertySymbols:Ft,getPrototypeOf:zt}=Object,Dt=globalThis,Bt=Dt.trustedTypes,Pt=Bt?Bt.emptyScript:"",Tt=Dt.reactiveElementPolyfillSupport,Mt=(t,e)=>t,Kt={toAttribute(t,e){switch(e){case Boolean:t=t?Pt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Zt=(t,e)=>!Lt(t,e),_t={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),Dt.litPropertyMetadata??=new WeakMap;let Ht=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=_t){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}=Wt(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)??_t}static _$Ei(){if(this.hasOwnProperty(Mt("elementProperties")))return;const t=zt(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=[...jt(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(Ut(t))}else void 0!==t&&e.push(Ut(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($t)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=Nt.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:Kt).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:Kt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Zt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Mt("elementProperties")]=new Map,Ht[Mt("finalized")]=new Map,Tt?.({ReactiveElement:Ht}),(Dt.reactiveElementVersions??=[]).push("2.0.2");
68
73
  /**
69
74
  * @license
70
75
  * Copyright 2017 Google LLC
71
76
  * SPDX-License-Identifier: BSD-3-Clause
72
77
  */
73
- const Ht=globalThis,Gt=Ht.trustedTypes,Vt=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,qt="$lit$",Yt=`lit$${(Math.random()+"").slice(9)}$`,Xt="?"+Yt,Jt=`<${Xt}>`,Qt=document,te=()=>Qt.createComment(""),ee=t=>null===t||"object"!=typeof t&&"function"!=typeof t,oe=Array.isArray,ie="[ \t\n\f\r]",re=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ne=/-->/g,se=/>/g,ae=RegExp(`>|${ie}(?:([^\\s"'>=/]+)(${ie}*=${ie}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),le=/'/g,ce=/"/g,he=/^(?:script|style|textarea|title)$/i,fe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),pe=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),de=new WeakMap,ye=Qt.createTreeWalker(Qt,129);function ge(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Vt?Vt.createHTML(e):e}class be{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=re;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,h=0;for(;h<o.length&&(s.lastIndex=h,l=s.exec(o),null!==l);)h=s.lastIndex,s===re?"!--"===l[1]?s=ne:void 0!==l[1]?s=se:void 0!==l[2]?(he.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=ae):void 0!==l[3]&&(s=ae):s===ae?">"===l[0]?(s=r??re,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?ae:'"'===l[3]?ce:le):s===ce||s===le?s=ae:s===ne||s===se?s=re:(s=ae,r=void 0);const f=s===ae&&t[e+1].startsWith("/>")?" ":"";n+=s===re?o+Jt:c>=0?(i.push(a),o.slice(0,c)+qt+o.slice(c)+Yt+f):o+Yt+(-2===c?e:f)}return[ge(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=be.createElement(l,o),ye.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ye.nextNode())&&a.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(qt)){const e=c[n++],o=i.getAttribute(t).split(Yt),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:s[2],strings:o,ctor:"."===s[1]?Oe:"?"===s[1]?we:"@"===s[1]?Se:xe}),i.removeAttribute(t)}else t.startsWith(Yt)&&(a.push({type:6,index:r}),i.removeAttribute(t));if(he.test(i.tagName)){const t=i.textContent.split(Yt),e=t.length-1;if(e>0){i.textContent=Gt?Gt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],te()),ye.nextNode(),a.push({type:2,index:++r});i.append(t[e],te())}}}else if(8===i.nodeType)if(i.data===Xt)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Yt,t+1));)a.push({type:7,index:r}),t+=Yt.length-1}r++}}static createElement(t,e){const o=Qt.createElement("template");return o.innerHTML=t,o}}function ve(t,e,o=t,i){if(e===pe)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=ee(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=ve(t,r._$AS(t,e.values),r,i)),e}let me=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ue,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=ve(this,t,e),ee(t)?t===ue||null==t||""===t?(this._$AH!==ue&&this._$AR(),this._$AH=ue):t!==this._$AH&&t!==pe&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>oe(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!==ue&&ee(this._$AH)?this._$AA.nextSibling.data=t:this.$(Qt.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=be.createElement(ge(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??Qt).importNode(e,!0);ye.currentNode=i;let r=ye.nextNode(),n=0,s=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new me(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Ne(r,this,t)),this._$AV.push(e),a=o[++s]}n!==a?.index&&(r=ye.nextNode(),n++)}return ye.currentNode=Qt,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=de.get(t.strings);return void 0===e&&de.set(t.strings,e=new be(t)),e}T(e){oe(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(te()),this.k(te()),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))}},xe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ue,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=ue}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ve(this,t,e,0),n=!ee(t)||t!==this._$AH&&t!==pe,n&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=ve(this,i[o+s],e,s),a===pe&&(a=this._$AH[s]),n||=!ee(a)||a!==this._$AH[s],a===ue?t=ue:t!==ue&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!i&&this.O(t)}O(t){t===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Oe=class extends xe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ue?void 0:t}},we=class extends xe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ue)}},Se=class extends xe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ve(this,t,e,0)??ue)===pe)return;const o=this._$AH,i=t===ue&&o!==ue||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ue&&(o===ue||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)}},Ne=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){ve(this,t)}};const $e=Ht.litHtmlPolyfillSupport;$e?.(be,me),(Ht.litHtmlVersions??=[]).push("3.1.0");
78
+ const Gt=globalThis,Vt=Gt.trustedTypes,qt=Vt?Vt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yt="$lit$",Xt=`lit$${(Math.random()+"").slice(9)}$`,Jt="?"+Xt,Qt=`<${Jt}>`,te=document,ee=()=>te.createComment(""),oe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ie=Array.isArray,re="[ \t\n\f\r]",ne=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,se=/-->/g,ae=/>/g,le=RegExp(`>|${re}(?:([^\\s"'>=/]+)(${re}*=${re}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ce=/'/g,he=/"/g,fe=/^(?:script|style|textarea|title)$/i,pe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ue=Symbol.for("lit-noChange"),de=Symbol.for("lit-nothing"),ye=new WeakMap,ge=te.createTreeWalker(te,129);function be(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==qt?qt.createHTML(e):e}class ve{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",s=ne;for(let e=0;e<o;e++){const o=t[e];let a,l,c=-1,h=0;for(;h<o.length&&(s.lastIndex=h,l=s.exec(o),null!==l);)h=s.lastIndex,s===ne?"!--"===l[1]?s=se:void 0!==l[1]?s=ae:void 0!==l[2]?(fe.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=le):void 0!==l[3]&&(s=le):s===le?">"===l[0]?(s=r??ne,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?le:'"'===l[3]?he:ce):s===he||s===ce?s=le:s===se||s===ae?s=ne:(s=le,r=void 0);const f=s===le&&t[e+1].startsWith("/>")?" ":"";n+=s===ne?o+Qt:c>=0?(i.push(a),o.slice(0,c)+Yt+o.slice(c)+Xt+f):o+Xt+(-2===c?e:f)}return[be(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=ve.createElement(l,o),ge.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ge.nextNode())&&a.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Yt)){const e=c[n++],o=i.getAttribute(t).split(Xt),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:s[2],strings:o,ctor:"."===s[1]?we:"?"===s[1]?Se:"@"===s[1]?Ne:Oe}),i.removeAttribute(t)}else t.startsWith(Xt)&&(a.push({type:6,index:r}),i.removeAttribute(t));if(fe.test(i.tagName)){const t=i.textContent.split(Xt),e=t.length-1;if(e>0){i.textContent=Vt?Vt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],ee()),ge.nextNode(),a.push({type:2,index:++r});i.append(t[e],ee())}}}else if(8===i.nodeType)if(i.data===Jt)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Xt,t+1));)a.push({type:7,index:r}),t+=Xt.length-1}r++}}static createElement(t,e){const o=te.createElement("template");return o.innerHTML=t,o}}function me(t,e,o=t,i){if(e===ue)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=oe(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=me(t,r._$AS(t,e.values),r,i)),e}let xe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=de,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=me(this,t,e),oe(t)?t===de||null==t||""===t?(this._$AH!==de&&this._$AR(),this._$AH=de):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ie(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!==de&&oe(this._$AH)?this._$AA.nextSibling.data=t:this.$(te.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(be(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??te).importNode(e,!0);ge.currentNode=i;let r=ge.nextNode(),n=0,s=0,a=o[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new xe(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new $e(r,this,t)),this._$AV.push(e),a=o[++s]}n!==a?.index&&(r=ge.nextNode(),n++)}return ge.currentNode=te,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=ye.get(t.strings);return void 0===e&&ye.set(t.strings,e=new ve(t)),e}T(e){ie(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(ee()),this.k(ee()),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))}},Oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=de,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=de}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=me(this,t,e,0),n=!oe(t)||t!==this._$AH&&t!==ue,n&&(this._$AH=t);else{const i=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=me(this,i[o+s],e,s),a===ue&&(a=this._$AH[s]),n||=!oe(a)||a!==this._$AH[s],a===de?t=de:t!==de&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!i&&this.O(t)}O(t){t===de?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},we=class extends Oe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===de?void 0:t}},Se=class extends Oe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==de)}},Ne=class extends Oe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=me(this,t,e,0)??de)===ue)return;const o=this._$AH,i=t===de&&o!==de||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==de&&(o===de||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)}},$e=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){me(this,t)}};const Ce=Gt.litHtmlPolyfillSupport;Ce?.(ve,xe),(Gt.litHtmlVersions??=[]).push("3.1.0");
74
79
  /**
75
80
  * @license
76
81
  * Copyright 2017 Google LLC
77
82
  * SPDX-License-Identifier: BSD-3-Clause
78
83
  */
79
- let Ce=class extends _t{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 me(e.insertBefore(te(),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 pe}};Ce._$litElement$=!0,Ce.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ce});const Ee=globalThis.litElementPolyfillSupport;Ee?.({LitElement:Ce}),(globalThis.litElementVersions??=[]).push("4.0.2");const ke=t=>"string"==typeof t?kt(t):t;class Re{static create(t,e,o,i){const r=t=>ke(null!=t?t:i),n=Rt`var(${ke(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Rt`var(${ke(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=Rt`var(${ke(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=>Rt`var(${ke(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):ke(null!=e?e:t.lastResortDefaultValue()),i=Rt`var(${ke(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=>Rt`var(${ke(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ie(t,e){return ke(`${t.name}: ${e}`)}const Ue={colorWhite:Re.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Re.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Re.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Re.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Re.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Re.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Re.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Re.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Re.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Re.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Re.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Re.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Re.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Re.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Re.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Re.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Re.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Re.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Re.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Re.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Re.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Re.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Re.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Re.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Re.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Re.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Re.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Re.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Re.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Re.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Re.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Re.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Re.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Re.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Re.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Re.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Re.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Re.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Re.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Re.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Re.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Re.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Re.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Re.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Re.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Re.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Re.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Re.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Re.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Re.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Re.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Re.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Re.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Re.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Re.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Re.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Re.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Re.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Re.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Re.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Re.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Re.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Re.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Re.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Re.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Re.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Re.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Re.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Re.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Re.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Re.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Re.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Re.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Re.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Re.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Re.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Re.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Re.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Re.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Re.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Re.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Re.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Re.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Re.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Re.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Re.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Re.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Re.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Re.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Re.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Re.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Re.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Re.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Re.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Re.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Re.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Re.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Re.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Re.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Re.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Re.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Re.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Re.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Re.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Re.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Re.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Re.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Re.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Re.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Re.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Re.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Re.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Re.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Re.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Re.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Re.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Re.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Re.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Re.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Re.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Re.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Re.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Re.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Re.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Re.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Re.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Re.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Re.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Re.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Re.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Re.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Re.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Re.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Re.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Re.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Re.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Re.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Re.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Re.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Re.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Re.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Re.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Re.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Re.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Re.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Re.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Re.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Re.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Re.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Re.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Re.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Re.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Re.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Re.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Re.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Re.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Re.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Re.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Re.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Re.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Re.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Re.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Re.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Re.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Re.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Re.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Re.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Re.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Re.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Re.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Re.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Re.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Re.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Re.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Re.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Re.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Re.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Re.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Re.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Re.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Re.create("--ft-opacity-0","","NUMBER","0"),opacity8:Re.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Re.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Re.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Re.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Re.create("--ft-opacity-80","","NUMBER","0.8")},Le={display:{fontFamily:Re.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Re.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Re.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Re.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Re.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Re.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Re.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Re.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Re.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Re.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Re.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Re.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Re.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Re.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Re.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Re.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Re.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Re.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Re.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Re.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Re.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Re.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Re.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Re.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Re.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Re.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Re.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Re.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Re.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ae={backgroundActionPrimary:Re.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ue.colorBrand0),backgroundErrorPrimary:Re.extend("--ft-background-error-primary","Used as background of error components.",Ue.colorRed0),backgroundErrorSubtle:Re.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ue.colorRed10),backgroundInfoPrimary:Re.extend("--ft-background-info-primary","Used as background of information components.",Ue.colorCyan200),backgroundInfoSubtle:Re.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ue.colorCyan10),backgroundWarningPrimary:Re.extend("--ft-background-warning-primary","Used as background of warning components.",Ue.colorOrange300),backgroundWarningSubtle:Re.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ue.colorOrange10),backgroundSuccessPrimary:Re.extend("--ft-background-success-primary","Used as background of success components.",Ue.colorGreen200),backgroundSuccessSubtle:Re.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ue.colorGreen10),backgroundGlobalSurface:Re.extend("--ft-background-global-surface","Used as app background.",Ue.colorWhite),backgroundGlobalOnSurface:Re.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ue.colorGray10),backgroundGlobalOnSurfaceDark:Re.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ue.colorGray30),contentActionPrimary:Re.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ue.colorBrand0),contentWarningPrimary:Re.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ue.colorOrange300),contentWarningIconOnly:Re.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ue.colorOrange0),contentErrorPrimary:Re.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ue.colorRed0),contentErrorIconOnly:Re.extend("--ft-content-error-icon-only","Used on error status icons alone",Ue.colorRed0),contentInfoPrimary:Re.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ue.colorCyan200),contentInfoIconOnly:Re.extend("--ft-content-info-icon-only","Used on info status icons alone",Ue.colorCyan0),contentSuccessIconOnly:Re.extend("--ft-content-success-icon-only","Used on success status icons alone",Ue.colorGreen0),contentSuccessPrimary:Re.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ue.colorGreen200),contentGlobalPrimary:Re.extend("--ft-content-global-primary","Used for main content on the page.",Ue.colorGray500),contentGlobalSecondary:Re.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ue.colorGray200),contentGlobalSubtle:Re.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ue.colorGray0),contentGlobalOnColor:Re.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ue.colorWhite),borderActionPrimary:Re.extend("--ft-border-action-primary","Used as border for primary action components.",Ue.colorBrand0),borderActionFocusRing:Re.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ue.colorCyan0),borderWarningPrimary:Re.extend("--ft-border-warning-primary","Used as border for warning components.",Ue.colorOrange30),borderSuccessPrimary:Re.extend("--ft-border-success-primary","Used as border for success components.",Ue.colorGreen30),borderErrorPrimary:Re.extend("--ft-border-error-primary","Used as border for error components.",Ue.colorRed30),borderInfoPrimary:Re.extend("--ft-border-info-primary","Used as border for information components.",Ue.colorCyan30),borderGlobalSubtle:Re.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ue.colorGray30),borderGlobalPrimary:Re.extend("--ft-border-global-primary","Used as border for element like input.",Ue.colorGray50),borderInputPrimary:Re.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ue.colorGray80)},We={largeHeight:Re.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Re.extend("--ft-button-large-horizontal-padding","",Ue.spacing4),largeGap:Re.extend("--ft-button-large-gap","",Ue.spacing2),largeBorderRadius:Re.extend("--ft-button-large-border-radius","",Ue.borderRadiusS),largeIconSize:Re.extend("--ft-button-large-icon-size","",Ue.iconSize3),largeBorderWidth:Re.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Re.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Re.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Re.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Re.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Re.extend("--ft-button-small-horizontal-padding","",Ue.spacing3),smallGap:Re.extend("--ft-button-small-gap","",Ue.spacing2),smallBorderRadius:Re.extend("--ft-button-small-border-radius","",Ue.borderRadiusS),smallIconSize:Re.extend("--ft-button-small-icon-size","",Ue.iconSize2),smallBorderWidth:Re.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Re.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Re.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Re.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Re.extend("--ft-button-primary-background-color","",Ae.backgroundActionPrimary),primaryColor:Re.extend("--ft-button-primary-color","",Ae.contentGlobalOnColor),primaryIconColor:Re.extend("--ft-button-primary-icon-color","",Ae.contentGlobalOnColor),primaryStateLayerColor:Re.extend("--ft-button-primary-state-layer-color","",Ae.contentGlobalOnColor),primaryStateLayerOpacityHover:Re.extend("--ft-button-primary-state-layer-opacity-hover","",Ue.opacity16),primaryStateLayerOpacityFocus:Re.extend("--ft-button-primary-state-layer-opacity-focus","",Ue.opacity16),primaryStateLayerOpacityActive:Re.extend("--ft-button-primary-state-layer-opacity-active","",Ue.opacity24),primaryComponentOpacityDisabled:Re.extend("--ft-button-primary-component-opacity-disabled","",Ue.opacity40),focusFocusRingColor:Re.extend("--ft-button-focus-focus-ring-color","",Ae.borderActionFocusRing),tertiaryBackgroundColor:Re.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Re.extend("--ft-button-tertiary-color","",Ae.contentActionPrimary),tertiaryIconColor:Re.extend("--ft-button-tertiary-icon-color","",Ae.contentActionPrimary),tertiaryStateLayerColor:Re.extend("--ft-button-tertiary-state-layer-color","",Ae.contentActionPrimary),tertiaryStateLayerOpacityHover:Re.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ue.opacity8),tertiaryStateLayerOpacityFocus:Re.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ue.opacity8),tertiaryStateLayerOpacityActive:Re.extend("--ft-button-tertiary-state-layer-opacity-active","",Ue.opacity16),tertiaryComponentOpacityDisabled:Re.extend("--ft-button-tertiary-component-opacity-disabled","",Ue.opacity40),secondaryBackgroundColor:Re.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Re.extend("--ft-button-secondary-color","",Ae.contentActionPrimary),secondaryIconColor:Re.extend("--ft-button-secondary-icon-color","",Ae.contentActionPrimary),secondaryStateLayerColor:Re.extend("--ft-button-secondary-state-layer-color","",Ae.contentActionPrimary),secondaryStateLayerOpacityHover:Re.extend("--ft-button-secondary-state-layer-opacity-hover","",Ue.opacity8),secondaryStateLayerOpacityFocus:Re.extend("--ft-button-secondary-state-layer-opacity-focus","",Ue.opacity8),secondaryStateLayerOpacityActive:Re.extend("--ft-button-secondary-state-layer-opacity-active","",Ue.opacity16),secondaryComponentOpacityDisabled:Re.extend("--ft-button-secondary-component-opacity-disabled","",Ue.opacity40),secondaryBorderColor:Re.extend("--ft-button-secondary-border-color","",Ae.borderActionPrimary),neutralBackgroundColor:Re.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Re.extend("--ft-button-neutral-icon-color","",Ae.contentGlobalSecondary),neutralColor:Re.extend("--ft-button-neutral-color","",Ae.contentGlobalSecondary),neutralStateLayerColor:Re.extend("--ft-button-neutral-state-layer-color","",Ae.contentGlobalSecondary),neutralStateLayerOpacityHover:Re.extend("--ft-button-neutral-state-layer-opacity-hover","",Ue.opacity8),neutralStateLayerOpacityFocus:Re.extend("--ft-button-neutral-state-layer-opacity-focus","",Ue.opacity8),neutralStateLayerOpacityActive:Re.extend("--ft-button-neutral-state-layer-opacity-active","",Ue.opacity16),neutralComponentOpacityDisabled:Re.extend("--ft-button-neutral-component-opacity-disabled","",Ue.opacity40)};Re.extend("--ft-tabs-top-left-border-radius","",Ue.borderRadiusS),Re.extend("--ft-tabs-top-right-border-radius","",Ue.borderRadiusS),Re.extend("--ft-tabs-label-horizontal-padding","",Ue.spacing4),Re.extend("--ft-tabs-label-vertical-padding","",Ue.spacing3),Re.extend("--ft-tabs-label-gap","",Ue.spacing1),Re.extend("--ft-switch-group-horizontal-padding","",Ue.spacing1),Re.extend("--ft-switch-group-vertical-padding","",Ue.spacing1),Re.extend("--ft-switch-group-gap","",Ue.spacing1),Re.extend("--ft-switch-group-background-color","",Ae.backgroundGlobalSurface),Re.extend("--ft-switch-group-border-color","",Ae.borderGlobalSubtle),Re.create("--ft-switch-group-border-radius","","SIZE","6px"),Re.extend("--ft-switch-label-horizontal-padding","",Ue.spacing2),Re.extend("--ft-switch-label-vertical-padding","",Ue.spacing1),Re.extend("--ft-switch-icon-horizontal-padding","",Ue.spacing1),Re.extend("--ft-switch-icon-vertical-padding","",Ue.spacing1),Re.create("--ft-switch-focus-outline-width","","SIZE","2px"),Re.extend("--ft-switch-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-switch-option-border-radius","",Ue.borderRadiusS),Re.extend("--ft-switch-off-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-switch-off-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-switch-off-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-switch-off-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-switch-off-color","",Ae.contentGlobalSubtle),Re.extend("--ft-switch-off-state-layer-color","",Ae.contentGlobalSubtle),Re.extend("--ft-chart-1-light","for area color charts",Ue.colorBrand40),Re.extend("--ft-chart-1-base","for line charts",Ue.colorBrand0),Re.extend("--ft-chart-2-light","for area color charts",Ue.colorYellow60),Re.extend("--ft-chart-2-base","for line charts",Ue.colorYellow100),Re.extend("--ft-chart-3-light","",Ue.colorUltramarine40),Re.extend("--ft-chart-3-base","",Ue.colorUltramarine70),Re.extend("--ft-chart-4-light","",Ue.colorCyan50),Re.extend("--ft-chart-4-base","",Ue.colorCyan100),Re.extend("--ft-chart-5-light","",Ue.colorRed40),Re.extend("--ft-chart-5-base","",Ue.colorRed60),Re.extend("--ft-chart-6-light","",Ue.colorGreen40),Re.extend("--ft-chart-6-base","",Ue.colorGreen70),Re.extend("--ft-chart-7-light","",Ue.colorOrange70),Re.extend("--ft-chart-7-base","",Ue.colorOrange100),Re.extend("--ft-chart-8-light","",Ue.colorAvocado70),Re.extend("--ft-chart-8-base","",Ue.colorAvocado200),Re.extend("--ft-chart-9-light","",Ue.colorBrown50),Re.extend("--ft-chart-9-base","",Ue.colorBrown200),Re.extend("--ft-chart-10-light","",Ue.colorGray50),Re.extend("--ft-chart-10-base","",Ue.colorGray80),Re.extend("--ft-chart-monochrome-10","",Ue.colorBrand10),Re.extend("--ft-chart-monochrome-20","",Ue.colorBrand20),Re.extend("--ft-chart-monochrome-30","",Ue.colorBrand40),Re.extend("--ft-chart-monochrome-40","",Ue.colorBrand60),Re.extend("--ft-chart-monochrome-50","",Ue.colorBrand0),Re.extend("--ft-chart-monochrome-60","",Ue.colorBrand200),Re.extend("--ft-chip-large-horizontal-padding","",Ue.spacing4),Re.extend("--ft-chip-large-vertical-padding","",Ue.spacing2),Re.extend("--ft-chip-large-gap","",Ue.spacing1),Re.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-large-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-large-border-width","","SIZE","1px"),Re.extend("--ft-chip-large-icon-size","",Ue.iconSize3),Re.extend("--ft-chip-medium-horizontal-padding","",Ue.spacing3),Re.extend("--ft-chip-medium-vertical-padding","",Ue.spacing1),Re.extend("--ft-chip-medium-gap","",Ue.spacing1),Re.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-medium-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-medium-border-width","","SIZE","1px"),Re.extend("--ft-chip-medium-icon-size","",Ue.iconSize2),Re.extend("--ft-chip-small-horizontal-padding","",Ue.spacing2),Re.extend("--ft-chip-small-vertical-padding","",Ue.spacing05),Re.extend("--ft-chip-small-gap","",Ue.spacing1),Re.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-small-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-small-border-width","","SIZE","1px"),Re.extend("--ft-chip-small-icon-size","",Ue.iconSize1),Re.extend("--ft-chip-neutral-background-color","",Ae.backgroundGlobalOnSurface),Re.extend("--ft-chip-neutral-color","",Ae.contentGlobalPrimary),Re.extend("--ft-chip-neutral-border-color","",Ae.borderGlobalSubtle),Re.extend("--ft-chip-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-chip-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-chip-info-border-color","",Ae.borderInfoPrimary),Re.extend("--ft-chip-success-background-color","",Ae.backgroundSuccessSubtle),Re.extend("--ft-chip-success-color","",Ae.contentSuccessPrimary),Re.extend("--ft-chip-success-border-color","",Ae.borderSuccessPrimary),Re.extend("--ft-chip-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-chip-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-chip-warning-border-color","",Ae.borderWarningPrimary),Re.extend("--ft-chip-error-background-color","",Ae.backgroundErrorSubtle),Re.extend("--ft-chip-error-color","",Ae.contentErrorPrimary),Re.extend("--ft-chip-error-border-color","",Ae.borderErrorPrimary),Re.create("--ft-notice-border-width","","SIZE","1px"),Re.extend("--ft-notice-horizontal-padding","",Ue.spacing2),Re.extend("--ft-notice-vertical-padding","",Ue.spacing1),Re.extend("--ft-notice-border-radius","",Ue.borderRadiusS),Re.extend("--ft-notice-gap","",Ue.spacing2),Re.extend("--ft-notice-icon-size","",Ue.iconSize3),Re.extend("--ft-notice-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-notice-info-border-color","",Ae.borderInfoPrimary),Re.extend("--ft-notice-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-notice-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-notice-warning-border-color","",Ae.borderWarningPrimary),Re.extend("--ft-notice-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-checkbox-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-checkbox-checked-background-color","",Ae.contentActionPrimary),Re.extend("--ft-checkbox-checked-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-checkbox-checked-color","",Ae.contentGlobalOnColor),Re.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-checkbox-checked-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-checkbox-unchecked-border-color","",Ue.colorGray80),Re.extend("--ft-checkbox-unchecked-state-layer-color","",Ue.colorGray80),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-checkbox-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Re.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Re.extend("--ft-checkbox-gap","",Ue.spacing3),Re.extend("--ft-toggle-off-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-toggle-off-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-toggle-off-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-toggle-off-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-toggle-off-background-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-off-icon-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-off-state-layer-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-on-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-toggle-on-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-toggle-on-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-toggle-on-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-toggle-on-background-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-on-icon-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-on-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-toggle-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-toggle-gap","",Ue.spacing3),Re.extend("--ft-radio-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-radio-selected-color","",Ae.contentActionPrimary),Re.extend("--ft-radio-selected-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-radio-selected-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-radio-selected-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-radio-selected-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-radio-selected-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-radio-unselected-state-layer-color","",Ue.colorGray80),Re.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-radio-unselected-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-radio-unselected-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-radio-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Re.create("--ft-radio-focus-outline-width","","SIZE","2px"),Re.extend("--ft-radio-gap","",Ue.spacing3),Re.extend("--ft-notification-icon-size","",Ue.iconSize4),Re.extend("--ft-notification-horizontal-padding","",Ue.spacing4),Re.extend("--ft-notification-vertical-padding","",Ue.spacing4),Re.extend("--ft-notification-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-notification-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-notification-info-border-color","",Ae.borderInfoPrimary),Re.extend("--ft-notification-success-background-color","",Ae.backgroundSuccessSubtle),Re.extend("--ft-notification-success-color","",Ae.contentSuccessPrimary),Re.extend("--ft-notification-success-border-color","",Ae.borderSuccessPrimary),Re.extend("--ft-notification-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-notification-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-notification-warning-border-color","",Ae.borderWarningPrimary),Re.extend("--ft-notification-error-background-color","",Ae.backgroundErrorSubtle),Re.extend("--ft-notification-error-color","",Ae.contentErrorPrimary),Re.extend("--ft-notification-error-border-color","",Ae.borderErrorPrimary),Re.extend("--ft-notification-border-radius","",Ue.borderRadiusPill),Re.create("--ft-notification-border-width","","SIZE","1px"),Re.extend("--ft-notification-gap-leading","",Ue.spacing2),Re.extend("--ft-notification-gap-trailing","",Ue.spacing8);const je={colorPrimary:Re.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Re.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Re.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Re.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Re.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Re.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Re.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Re.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Re.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Re.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Re.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Re.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Re.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Re.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Re.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Re.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Re.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Re.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Re.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Re.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Re.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Re.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Re.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Re.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Re.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Re.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Re.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Re.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Re.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Re.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Re.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Re.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Re.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Re.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Re.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Re.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Re.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Re.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Re.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Re.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Re.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Re.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Re.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Re.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Re.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Re.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Re.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Re.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Re.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Re.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Re.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Fe=window,ze=Fe.ShadowRoot&&(void 0===Fe.ShadyCSS||Fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
84
+ let Ee=class extends Ht{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 xe(e.insertBefore(ee(),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}};Ee._$litElement$=!0,Ee.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ee});const ke=globalThis.litElementPolyfillSupport;ke?.({LitElement:Ee}),(globalThis.litElementVersions??=[]).push("4.0.2");const Re=t=>"string"==typeof t?Rt(t):t;class Ie{static create(t,e,o,i){const r=t=>Re(null!=t?t:i),n=It`var(${Re(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Re(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=It`var(${Re(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=>It`var(${Re(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):Re(null!=e?e:t.lastResortDefaultValue()),i=It`var(${Re(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=>It`var(${Re(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ue(t,e){return Re(`${t.name}: ${e}`)}const Le={colorWhite:Ie.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ie.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ie.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ie.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ie.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ie.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ie.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ie.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ie.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ie.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ie.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ie.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ie.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ie.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ie.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ie.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ie.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ie.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ie.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ie.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ie.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ie.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ie.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ie.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ie.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ie.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ie.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ie.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ie.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ie.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ie.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ie.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ie.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ie.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ie.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ie.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ie.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ie.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ie.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ie.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ie.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ie.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ie.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ie.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ie.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ie.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ie.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ie.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ie.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ie.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ie.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ie.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ie.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ie.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ie.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ie.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ie.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ie.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ie.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ie.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ie.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ie.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ie.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ie.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ie.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ie.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ie.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ie.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ie.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ie.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ie.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ie.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ie.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ie.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ie.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ie.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ie.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ie.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ie.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ie.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ie.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ie.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ie.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ie.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ie.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ie.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ie.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ie.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ie.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ie.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ie.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ie.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ie.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ie.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ie.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ie.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ie.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ie.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ie.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ie.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ie.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ie.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ie.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ie.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ie.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ie.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ie.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ie.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ie.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ie.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ie.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ie.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ie.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ie.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ie.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ie.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ie.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ie.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ie.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ie.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ie.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ie.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ie.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ie.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ie.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ie.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ie.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ie.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ie.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ie.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ie.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ie.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ie.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ie.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ie.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ie.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ie.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ie.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ie.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ie.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ie.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ie.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ie.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ie.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ie.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ie.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ie.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ie.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ie.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ie.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ie.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ie.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ie.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ie.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ie.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ie.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ie.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ie.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ie.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ie.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ie.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ie.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ie.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ie.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ie.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ie.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ie.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ie.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ie.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ie.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ie.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ie.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ie.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ie.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ie.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ie.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ie.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ie.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ie.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ie.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ie.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ie.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ie.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ie.create("--ft-opacity-80","","NUMBER","0.8")},Ae={display:{fontFamily:Ie.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ie.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ie.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ie.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ie.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ie.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ie.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ie.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ie.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ie.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ie.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ie.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ie.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ie.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ie.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ie.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ie.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ie.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ie.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ie.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ie.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ie.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ie.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ie.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ie.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ie.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ie.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},We={backgroundActionPrimary:Ie.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Le.colorBrand0),backgroundErrorPrimary:Ie.extend("--ft-background-error-primary","Used as background of error components.",Le.colorRed0),backgroundErrorSubtle:Ie.extend("--ft-background-error-subtle","Used as background of subtle error components.",Le.colorRed10),backgroundInfoPrimary:Ie.extend("--ft-background-info-primary","Used as background of information components.",Le.colorCyan200),backgroundInfoSubtle:Ie.extend("--ft-background-info-subtle","Used as background of subtle information components.",Le.colorCyan10),backgroundWarningPrimary:Ie.extend("--ft-background-warning-primary","Used as background of warning components.",Le.colorOrange300),backgroundWarningSubtle:Ie.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Le.colorOrange10),backgroundSuccessPrimary:Ie.extend("--ft-background-success-primary","Used as background of success components.",Le.colorGreen200),backgroundSuccessSubtle:Ie.extend("--ft-background-success-subtle","Used as background of subtle success components.",Le.colorGreen10),backgroundGlobalSurface:Ie.extend("--ft-background-global-surface","Used as app background.",Le.colorWhite),backgroundGlobalOnSurface:Ie.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Le.colorGray10),backgroundGlobalOnSurfaceDark:Ie.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Le.colorGray30),contentActionPrimary:Ie.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Le.colorBrand0),contentWarningPrimary:Ie.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Le.colorOrange300),contentWarningIconOnly:Ie.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Le.colorOrange0),contentErrorPrimary:Ie.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Le.colorRed0),contentErrorIconOnly:Ie.extend("--ft-content-error-icon-only","Used on error status icons alone",Le.colorRed0),contentInfoPrimary:Ie.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Le.colorCyan200),contentInfoIconOnly:Ie.extend("--ft-content-info-icon-only","Used on info status icons alone",Le.colorCyan0),contentSuccessIconOnly:Ie.extend("--ft-content-success-icon-only","Used on success status icons alone",Le.colorGreen0),contentSuccessPrimary:Ie.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Le.colorGreen200),contentGlobalPrimary:Ie.extend("--ft-content-global-primary","Used for main content on the page.",Le.colorGray500),contentGlobalSecondary:Ie.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Le.colorGray200),contentGlobalSubtle:Ie.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Le.colorGray0),contentGlobalOnColor:Ie.extend("--ft-content-global-on-color","Used for content on a dominant color.",Le.colorWhite),borderActionPrimary:Ie.extend("--ft-border-action-primary","Used as border for primary action components.",Le.colorBrand0),borderActionFocusRing:Ie.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Le.colorCyan0),borderWarningPrimary:Ie.extend("--ft-border-warning-primary","Used as border for warning components.",Le.colorOrange30),borderSuccessPrimary:Ie.extend("--ft-border-success-primary","Used as border for success components.",Le.colorGreen30),borderErrorPrimary:Ie.extend("--ft-border-error-primary","Used as border for error components.",Le.colorRed30),borderInfoPrimary:Ie.extend("--ft-border-info-primary","Used as border for information components.",Le.colorCyan30),borderGlobalSubtle:Ie.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Le.colorGray30),borderGlobalPrimary:Ie.extend("--ft-border-global-primary","Used as border for element like input.",Le.colorGray50),borderInputPrimary:Ie.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Le.colorGray80)},je={largeHeight:Ie.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ie.extend("--ft-button-large-horizontal-padding","",Le.spacing4),largeGap:Ie.extend("--ft-button-large-gap","",Le.spacing2),largeBorderRadius:Ie.extend("--ft-button-large-border-radius","",Le.borderRadiusS),largeIconSize:Ie.extend("--ft-button-large-icon-size","",Le.iconSize3),largeBorderWidth:Ie.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ie.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ie.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ie.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ie.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ie.extend("--ft-button-small-horizontal-padding","",Le.spacing3),smallGap:Ie.extend("--ft-button-small-gap","",Le.spacing2),smallBorderRadius:Ie.extend("--ft-button-small-border-radius","",Le.borderRadiusS),smallIconSize:Ie.extend("--ft-button-small-icon-size","",Le.iconSize2),smallBorderWidth:Ie.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ie.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ie.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ie.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ie.extend("--ft-button-primary-background-color","",We.backgroundActionPrimary),primaryColor:Ie.extend("--ft-button-primary-color","",We.contentGlobalOnColor),primaryIconColor:Ie.extend("--ft-button-primary-icon-color","",We.contentGlobalOnColor),primaryStateLayerColor:Ie.extend("--ft-button-primary-state-layer-color","",We.contentGlobalOnColor),primaryStateLayerOpacityHover:Ie.extend("--ft-button-primary-state-layer-opacity-hover","",Le.opacity16),primaryStateLayerOpacityFocus:Ie.extend("--ft-button-primary-state-layer-opacity-focus","",Le.opacity16),primaryStateLayerOpacityActive:Ie.extend("--ft-button-primary-state-layer-opacity-active","",Le.opacity24),primaryComponentOpacityDisabled:Ie.extend("--ft-button-primary-component-opacity-disabled","",Le.opacity40),focusFocusRingColor:Ie.extend("--ft-button-focus-focus-ring-color","",We.borderActionFocusRing),tertiaryBackgroundColor:Ie.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ie.extend("--ft-button-tertiary-color","",We.contentActionPrimary),tertiaryIconColor:Ie.extend("--ft-button-tertiary-icon-color","",We.contentActionPrimary),tertiaryStateLayerColor:Ie.extend("--ft-button-tertiary-state-layer-color","",We.contentActionPrimary),tertiaryStateLayerOpacityHover:Ie.extend("--ft-button-tertiary-state-layer-opacity-hover","",Le.opacity8),tertiaryStateLayerOpacityFocus:Ie.extend("--ft-button-tertiary-state-layer-opacity-focus","",Le.opacity8),tertiaryStateLayerOpacityActive:Ie.extend("--ft-button-tertiary-state-layer-opacity-active","",Le.opacity16),tertiaryComponentOpacityDisabled:Ie.extend("--ft-button-tertiary-component-opacity-disabled","",Le.opacity40),secondaryBackgroundColor:Ie.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ie.extend("--ft-button-secondary-color","",We.contentActionPrimary),secondaryIconColor:Ie.extend("--ft-button-secondary-icon-color","",We.contentActionPrimary),secondaryStateLayerColor:Ie.extend("--ft-button-secondary-state-layer-color","",We.contentActionPrimary),secondaryStateLayerOpacityHover:Ie.extend("--ft-button-secondary-state-layer-opacity-hover","",Le.opacity8),secondaryStateLayerOpacityFocus:Ie.extend("--ft-button-secondary-state-layer-opacity-focus","",Le.opacity8),secondaryStateLayerOpacityActive:Ie.extend("--ft-button-secondary-state-layer-opacity-active","",Le.opacity16),secondaryComponentOpacityDisabled:Ie.extend("--ft-button-secondary-component-opacity-disabled","",Le.opacity40),secondaryBorderColor:Ie.extend("--ft-button-secondary-border-color","",We.borderActionPrimary),neutralBackgroundColor:Ie.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ie.extend("--ft-button-neutral-icon-color","",We.contentGlobalSecondary),neutralColor:Ie.extend("--ft-button-neutral-color","",We.contentGlobalSecondary),neutralStateLayerColor:Ie.extend("--ft-button-neutral-state-layer-color","",We.contentGlobalSecondary),neutralStateLayerOpacityHover:Ie.extend("--ft-button-neutral-state-layer-opacity-hover","",Le.opacity8),neutralStateLayerOpacityFocus:Ie.extend("--ft-button-neutral-state-layer-opacity-focus","",Le.opacity8),neutralStateLayerOpacityActive:Ie.extend("--ft-button-neutral-state-layer-opacity-active","",Le.opacity16),neutralComponentOpacityDisabled:Ie.extend("--ft-button-neutral-component-opacity-disabled","",Le.opacity40)};Ie.extend("--ft-tabs-top-left-border-radius","",Le.borderRadiusS),Ie.extend("--ft-tabs-top-right-border-radius","",Le.borderRadiusS),Ie.extend("--ft-tabs-label-horizontal-padding","",Le.spacing4),Ie.extend("--ft-tabs-label-vertical-padding","",Le.spacing3),Ie.extend("--ft-tabs-label-gap","",Le.spacing1),Ie.extend("--ft-switch-group-horizontal-padding","",Le.spacing1),Ie.extend("--ft-switch-group-vertical-padding","",Le.spacing1),Ie.extend("--ft-switch-group-gap","",Le.spacing1),Ie.extend("--ft-switch-group-background-color","",We.backgroundGlobalSurface),Ie.extend("--ft-switch-group-border-color","",We.borderGlobalSubtle),Ie.create("--ft-switch-group-border-radius","","SIZE","6px"),Ie.extend("--ft-switch-label-horizontal-padding","",Le.spacing2),Ie.extend("--ft-switch-label-vertical-padding","",Le.spacing1),Ie.extend("--ft-switch-icon-horizontal-padding","",Le.spacing1),Ie.extend("--ft-switch-icon-vertical-padding","",Le.spacing1),Ie.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-switch-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-switch-option-border-radius","",Le.borderRadiusS),Ie.extend("--ft-switch-off-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-switch-off-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-switch-off-color","",We.contentGlobalSubtle),Ie.extend("--ft-switch-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-chart-1-light","for area color charts",Le.colorBrand40),Ie.extend("--ft-chart-1-base","for line charts",Le.colorBrand0),Ie.extend("--ft-chart-2-light","for area color charts",Le.colorYellow60),Ie.extend("--ft-chart-2-base","for line charts",Le.colorYellow100),Ie.extend("--ft-chart-3-light","",Le.colorUltramarine40),Ie.extend("--ft-chart-3-base","",Le.colorUltramarine70),Ie.extend("--ft-chart-4-light","",Le.colorCyan50),Ie.extend("--ft-chart-4-base","",Le.colorCyan100),Ie.extend("--ft-chart-5-light","",Le.colorRed40),Ie.extend("--ft-chart-5-base","",Le.colorRed60),Ie.extend("--ft-chart-6-light","",Le.colorGreen40),Ie.extend("--ft-chart-6-base","",Le.colorGreen70),Ie.extend("--ft-chart-7-light","",Le.colorOrange70),Ie.extend("--ft-chart-7-base","",Le.colorOrange100),Ie.extend("--ft-chart-8-light","",Le.colorAvocado70),Ie.extend("--ft-chart-8-base","",Le.colorAvocado200),Ie.extend("--ft-chart-9-light","",Le.colorBrown50),Ie.extend("--ft-chart-9-base","",Le.colorBrown200),Ie.extend("--ft-chart-10-light","",Le.colorGray50),Ie.extend("--ft-chart-10-base","",Le.colorGray80),Ie.extend("--ft-chart-monochrome-10","",Le.colorBrand10),Ie.extend("--ft-chart-monochrome-20","",Le.colorBrand20),Ie.extend("--ft-chart-monochrome-30","",Le.colorBrand40),Ie.extend("--ft-chart-monochrome-40","",Le.colorBrand60),Ie.extend("--ft-chart-monochrome-50","",Le.colorBrand0),Ie.extend("--ft-chart-monochrome-60","",Le.colorBrand200),Ie.extend("--ft-chip-large-horizontal-padding","",Le.spacing4),Ie.extend("--ft-chip-large-vertical-padding","",Le.spacing2),Ie.extend("--ft-chip-large-gap","",Le.spacing1),Ie.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-large-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-large-border-width","","SIZE","1px"),Ie.extend("--ft-chip-large-icon-size","",Le.iconSize3),Ie.extend("--ft-chip-medium-horizontal-padding","",Le.spacing3),Ie.extend("--ft-chip-medium-vertical-padding","",Le.spacing1),Ie.extend("--ft-chip-medium-gap","",Le.spacing1),Ie.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-medium-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-medium-border-width","","SIZE","1px"),Ie.extend("--ft-chip-medium-icon-size","",Le.iconSize2),Ie.extend("--ft-chip-small-horizontal-padding","",Le.spacing2),Ie.extend("--ft-chip-small-vertical-padding","",Le.spacing05),Ie.extend("--ft-chip-small-gap","",Le.spacing1),Ie.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-small-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-small-border-width","","SIZE","1px"),Ie.extend("--ft-chip-small-icon-size","",Le.iconSize1),Ie.extend("--ft-chip-neutral-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-chip-neutral-color","",We.contentGlobalPrimary),Ie.extend("--ft-chip-neutral-border-color","",We.borderGlobalSubtle),Ie.extend("--ft-chip-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-chip-info-color","",We.contentInfoPrimary),Ie.extend("--ft-chip-info-border-color","",We.borderInfoPrimary),Ie.extend("--ft-chip-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-chip-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-chip-success-border-color","",We.borderSuccessPrimary),Ie.extend("--ft-chip-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-chip-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-chip-warning-border-color","",We.borderWarningPrimary),Ie.extend("--ft-chip-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-chip-error-color","",We.contentErrorPrimary),Ie.extend("--ft-chip-error-border-color","",We.borderErrorPrimary),Ie.create("--ft-notice-border-width","","SIZE","1px"),Ie.extend("--ft-notice-horizontal-padding","",Le.spacing2),Ie.extend("--ft-notice-vertical-padding","",Le.spacing1),Ie.extend("--ft-notice-border-radius","",Le.borderRadiusS),Ie.extend("--ft-notice-gap","",Le.spacing2),Ie.extend("--ft-notice-icon-size","",Le.iconSize3),Ie.extend("--ft-notice-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notice-info-border-color","",We.borderInfoPrimary),Ie.extend("--ft-notice-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notice-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notice-warning-border-color","",We.borderWarningPrimary),Ie.extend("--ft-notice-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-checkbox-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-checkbox-checked-background-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-color","",We.contentGlobalOnColor),Ie.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-checkbox-checked-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-checkbox-unchecked-border-color","",Le.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-color","",Le.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-checkbox-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-checkbox-gap","",Le.spacing3),Ie.extend("--ft-toggle-off-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-toggle-off-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-toggle-off-background-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-icon-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-on-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-toggle-on-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-toggle-on-background-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-icon-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-toggle-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-toggle-gap","",Le.spacing3),Ie.extend("--ft-radio-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-radio-selected-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-radio-selected-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-radio-unselected-state-layer-color","",Le.colorGray80),Ie.extend("--ft-radio-unselected-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-radio-unselected-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-radio-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-radio-gap","",Le.spacing3),Ie.extend("--ft-notification-icon-size","",Le.iconSize4),Ie.extend("--ft-notification-horizontal-padding","",Le.spacing4),Ie.extend("--ft-notification-vertical-padding","",Le.spacing4),Ie.extend("--ft-notification-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notification-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notification-info-border-color","",We.borderInfoPrimary),Ie.extend("--ft-notification-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-notification-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-notification-success-border-color","",We.borderSuccessPrimary),Ie.extend("--ft-notification-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notification-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-notification-warning-border-color","",We.borderWarningPrimary),Ie.extend("--ft-notification-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-notification-error-color","",We.contentErrorPrimary),Ie.extend("--ft-notification-error-border-color","",We.borderErrorPrimary),Ie.extend("--ft-notification-border-radius","",Le.borderRadiusPill),Ie.create("--ft-notification-border-width","","SIZE","1px"),Ie.extend("--ft-notification-gap-leading","",Le.spacing2),Ie.extend("--ft-notification-gap-trailing","",Le.spacing8);const Fe={colorPrimary:Ie.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ie.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ie.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ie.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ie.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ie.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ie.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ie.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ie.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ie.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ie.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ie.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ie.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ie.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ie.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ie.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ie.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ie.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ie.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ie.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ie.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ie.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ie.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ie.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ie.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ie.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ie.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ie.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ie.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ie.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ie.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ie.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ie.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ie.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ie.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ie.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ie.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ie.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ie.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ie.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ie.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ie.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ie.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ie.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ie.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ie.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ie.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ie.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ie.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},ze=window,De=ze.ShadowRoot&&(void 0===ze.ShadyCSS||ze.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
85
  /**
81
86
  * @license
82
87
  * Copyright 2019 Google LLC
83
88
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class De extends Ce{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)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Fe.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Be,Pe=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Me=Symbol("constructorPrototype"),Te=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Ze extends De{constructor(){super(),this[Be]=new A(5),this[Te]=this.constructor.name,this[Me]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Te]&&Object.setPrototypeOf(this,this[Me])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Be=Ke,Pe([k()],Ze.prototype,"exportpartsPrefix",void 0),Pe([D([])],Ze.prototype,"exportpartsPrefixes",void 0),Pe([k()],Ze.prototype,"customStylesheet",void 0);const _e=Re.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Rt`
89
+ */class Be extends Ee{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)=>{De?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=ze.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Pe,Te=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Me=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class _e extends Be{constructor(){super(),this[Pe]=new W(5),this[Ke]=this.constructor.name,this[Me]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[Me])}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[Ze].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...o).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Pe=Ze,Te([k()],_e.prototype,"exportpartsPrefix",void 0),Te([B([])],_e.prototype,"exportpartsPrefixes",void 0),Te([k()],_e.prototype,"customStylesheet",void 0);const He=Ie.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");It`
85
90
  .highlight-html-match {
86
- background: ${_e};
91
+ background: ${He};
87
92
  }
88
- `;const He=Rt`
93
+ `;const Ge=It`
89
94
  .ft-no-text-select {
90
95
  -webkit-touch-callout: none;
91
96
  -webkit-user-select: none;
@@ -94,7 +99,7 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
94
99
  -ms-user-select: none;
95
100
  user-select: none;
96
101
  }
97
- `;Rt`
102
+ `;It`
98
103
  .ft-word-wrap {
99
104
  white-space: normal;
100
105
  word-wrap: break-word;
@@ -106,7 +111,7 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
106
111
  -webkit-hyphens: auto;
107
112
  hyphens: auto
108
113
  }
109
- `;const Ge=Rt`
114
+ `;const Ve=It`
110
115
  .ft-safari-ellipsis-fix {
111
116
  margin-right: 0;
112
117
 
@@ -117,36 +122,36 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
117
122
  display: inline-block;
118
123
  width: 0;
119
124
  }
120
- `;class Ve{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 qe=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!F(t,e),attribute:!1,...e};k(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Ye{constructor(){this.stack=[]}add(t,e=!1){e&&(this.stack=this.stack.filter((e=>e.type!==t.type))),this.stack.push(t)}consume(t){const e=this.stack.find((e=>e.type===t));return e&&(this.stack=this.stack.filter((t=>t!==e))),e}}function Xe(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Je,Qe,to;const eo=Symbol("internalReduxEventsUnsubscribers"),oo=Symbol("internalStoresUnsubscribers"),io=Symbol("internalStores");class ro extends Ze{constructor(){super(...arguments),this[Je]=new Map,this[Qe]=new Map,this[to]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[io].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[io].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[io].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Xe(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[io].delete(e)}setupStore(t,e){this[io].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[io].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.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[oo].has(t.store):this[oo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[oo].set(t,e.subscribe((()=>this.updateFromStores()))),Xe(e)&&e.eventBus&&(null===(o=this.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[eo].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[eo].forEach((t=>t())),this[eo]=[]}unsubscribeFromStore(t){this[oo].has(t)&&this[oo].get(t)(),this[oo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function no(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 so(t){return!!t&&!!t[Go]}function ao(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)===Vo}(t)||Array.isArray(t)||!!t[Ho]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Ho])||uo(t)||yo(t))}function lo(t,e,o){void 0===o&&(o=!1),0===co(t)?(o?Object.keys:qo)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function co(t){var e=t[Go];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:uo(t)?2:yo(t)?3:0}function ho(t,e){return 2===co(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function fo(t,e,o){var i=co(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function po(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function uo(t){return To&&t instanceof Map}function yo(t){return Ko&&t instanceof Set}function go(t){return t.o||t.t}function bo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Yo(t);delete e[Go];for(var o=qo(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 vo(t,e){return void 0===e&&(e=!1),xo(t)||so(t)||!ao(t)||(co(t)>1&&(t.set=t.add=t.clear=t.delete=mo),Object.freeze(t),e&&lo(t,(function(t,e){return vo(e,!0)}),!0)),t}function mo(){no(2)}function xo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Oo(t){var e=Xo[t];return e||no(18,t),e}function wo(){return Po}function So(t,e){e&&(Oo("Patches"),t.u=[],t.s=[],t.v=e)}function No(t){$o(t),t.p.forEach(Eo),t.p=null}function $o(t){t===Po&&(Po=t.l)}function Co(t){return Po={p:[],l:Po,h:t,m:!0,_:0}}function Eo(t){var e=t[Go];0===e.i||1===e.i?e.j():e.g=!0}function ko(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||Oo("ES5").S(e,t,i),i?(o[Go].P&&(No(e),no(4)),ao(t)&&(t=Ro(e,t),e.l||Uo(e,t)),e.u&&Oo("Patches").M(o[Go].t,t,e.u,e.s)):t=Ro(e,o,[]),No(e),e.u&&e.v(e.u,e.s),t!==_o?t:void 0}function Ro(t,e,o){if(xo(e))return e;var i=e[Go];if(!i)return lo(e,(function(r,n){return Io(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Uo(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=bo(i.k):i.o,n=r,s=!1;3===i.i&&(n=new Set(r),r.clear(),s=!0),lo(n,(function(e,n){return Io(t,i,r,e,n,o,s)})),Uo(t,r,!1),o&&t.u&&Oo("Patches").N(i,o,t.u,t.s)}return i.o}function Io(t,e,o,i,r,n,s){if(so(r)){var a=Ro(t,r,n&&e&&3!==e.i&&!ho(e.R,i)?n.concat(i):void 0);if(fo(o,i,a),!so(a))return;t.m=!1}else s&&o.add(r);if(ao(r)&&!xo(r)){if(!t.h.D&&t._<1)return;Ro(t,r),e&&e.A.l||Uo(t,r)}}function Uo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&vo(e,o)}function Lo(t,e){var o=t[Go];return(o?go(o):t)[e]}function Ao(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 Wo(t){t.P||(t.P=!0,t.l&&Wo(t.l))}function jo(t){t.o||(t.o=bo(t.t))}function Fo(t,e,o){var i=uo(e)?Oo("MapSet").F(e,o):yo(e)?Oo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:wo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Jo;o&&(r=[i],n=Qo);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return i.k=l,i.j=a,l}(e,o):Oo("ES5").J(e,o);return(o?o.A:wo()).p.push(i),i}function zo(t){return so(t)||no(22,t),function t(e){if(!ao(e))return e;var o,i=e[Go],r=co(e);if(i){if(!i.P&&(i.i<4||!Oo("ES5").K(i)))return i.t;i.I=!0,o=Do(e,r),i.I=!1}else o=Do(e,r);return lo(o,(function(e,r){i&&function(t,e){return 2===co(t)?t.get(e):t[e]}(i.t,e)===r||fo(o,e,t(r))})),3===r?new Set(o):o}(t)}function Do(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return bo(t)}Je=oo,Qe=io,to=eo;var Bo,Po,Mo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),To="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Zo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,_o=Mo?Symbol.for("immer-nothing"):((Bo={})["immer-nothing"]=!0,Bo),Ho=Mo?Symbol.for("immer-draftable"):"__$immer_draftable",Go=Mo?Symbol.for("immer-state"):"__$immer_state",Vo=""+Object.prototype.constructor,qo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Yo=Object.getOwnPropertyDescriptors||function(t){var e={};return qo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Xo={},Jo={get:function(t,e){if(e===Go)return t;var o=go(t);if(!ho(o,e))return function(t,e,o){var i,r=Ao(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||!ao(i)?i:i===Lo(t.t,e)?(jo(t),t.o[e]=Fo(t.A.h,i,t)):i},has:function(t,e){return e in go(t)},ownKeys:function(t){return Reflect.ownKeys(go(t))},set:function(t,e,o){var i=Ao(go(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Lo(go(t),e),n=null==r?void 0:r[Go];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(po(o,r)&&(void 0!==o||ho(t.t,e)))return!0;jo(t),Wo(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!==Lo(t.t,e)||e in t.t?(t.R[e]=!1,jo(t),Wo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=go(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(){no(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){no(12)}},Qo={};lo(Jo,(function(t,e){Qo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Qo.deleteProperty=function(t,e){return Qo.set.call(this,t,e,void 0)},Qo.set=function(t,e,o){return Jo.set.call(this,t[0],e,o,t[0])};var ti=function(){function t(t){var e=this;this.O=Zo,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof o&&no(6),void 0!==i&&"function"!=typeof i&&no(7),ao(t)){var a=Co(e),l=Fo(e,t,void 0),c=!0;try{s=o(l),c=!1}finally{c?No(a):$o(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return So(a,i),ko(t,a)}),(function(t){throw No(a),t})):(So(a,i),ko(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=o(t))&&(s=t),s===_o&&(s=void 0),e.D&&vo(s,!0),i){var h=[],f=[];Oo("Patches").M(t,s,h,f),i(h,f)}return s}no(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){ao(t)||no(8),so(t)&&(t=zo(t));var e=Co(this),o=Fo(this,t,void 0);return o[Go].C=!0,$o(e),o},e.finishDraft=function(t,e){var o=(t&&t[Go]).A;return So(o,e),ko(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Zo&&no(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=Oo("Patches").$;return so(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),ei=new ti,oi=ei.produce;function ii(t){return ii="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},ii(t)}function ri(t){var e=function(t,e){if("object"!==ii(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ii(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ii(e)?e:String(e)}function ni(t,e,o){return(e=ri(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function si(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 ai(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?si(Object(o),!0).forEach((function(e){ni(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):si(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function li(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. "}ei.produceWithPatches.bind(ei),ei.setAutoFreeze.bind(ei),ei.setUseProxies.bind(ei),ei.applyPatches.bind(ei),ei.createDraft.bind(ei),ei.finishDraft.bind(ei);var ci="function"==typeof Symbol&&Symbol.observable||"@@observable",hi=function(){return Math.random().toString(36).substring(7).split("").join(".")},fi={INIT:"@@redux/INIT"+hi(),REPLACE:"@@redux/REPLACE"+hi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+hi()}};function pi(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(li(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(li(1));return o(pi)(t,e)}if("function"!=typeof t)throw new Error(li(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(li(3));return n}function f(t){if("function"!=typeof t)throw new Error(li(4));if(l)throw new Error(li(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(li(6));e=!1,c();var o=a.indexOf(t);a.splice(o,1),s=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(li(7));if(void 0===t.type)throw new Error(li(8));if(l)throw new Error(li(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:fi.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(li(10));r=t,p({type:fi.REPLACE})}})[ci]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(li(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[ci]=function(){return this},t},i}function ui(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,s=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:fi.INIT}))throw new Error(li(12));if(void 0===o(void 0,{type:fi.PROBE_UNKNOWN_ACTION()}))throw new Error(li(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},a=0;a<s.length;a++){var l=s[a],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(li(14));r[l]=f,i=i||f!==h}return(i=i||s.length!==Object.keys(t).length)?r:t}}function di(){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 yi(){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(li(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=di.apply(void 0,n)(o.dispatch),ai(ai({},o),{},{dispatch:i})}}}function gi(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 bi=gi();bi.withExtraArgument=gi;var vi,mi=bi,xi=(vi=function(t,e){return vi=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])},vi(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}vi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Oi=function(t,e){var o,i,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,i=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},wi=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Si=Object.defineProperty,Ni=Object.defineProperties,$i=Object.getOwnPropertyDescriptors,Ci=Object.getOwnPropertySymbols,Ei=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,Ri=function(t,e,o){return e in t?Si(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ii=function(t,e){for(var o in e||(e={}))Ei.call(e,o)&&Ri(t,o,e[o]);if(Ci)for(var i=0,r=Ci(e);i<r.length;i++){o=r[i];ki.call(e,o)&&Ri(t,o,e[o])}return t},Ui=function(t,e){return Ni(t,$i(e))},Li="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?di:di.apply(null,arguments)};var Ai=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 xi(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,wi([void 0],t[0].concat(this)))):new(e.bind.apply(e,wi([void 0],t.concat(this))))},e}(Array),Wi=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 xi(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,wi([void 0],t[0].concat(this)))):new(e.bind.apply(e,wi([void 0],t.concat(this))))},e}(Array);function ji(t){return ao(t)?oi(t,(function(){})):t}function Fi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Ai;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(mi.withExtraArgument(o.extraArgument)):i.push(mi));return i}(t)}}function zi(t){var e,o=Fi(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,s=i.middleware,a=void 0===s?o():s,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ui(n)}var d=a;"function"==typeof d&&(d=d(o));var y=yi.apply(void 0,d),g=di;c&&(g=Li(Ii({trace:!1},"object"==typeof c&&c)));var b=new Wi(y),v=b;return Array.isArray(u)?v=wi([y],u):"function"==typeof u&&(v=u(b)),pi(e,f,g.apply(void 0,v))}function Di(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 Ii(Ii({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 Bi(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 Pi(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:ji(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Bi(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Ii(Ii({},r),a);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Bi(e):[e,o,i],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ji(t())};else{var c=ji(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=wi([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(so(t))return void 0===(i=o(t,e))?t:i;if(ao(t))return oi(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=s;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,s[t]=o,a[c]=o,l[t]=i?Di(c,i):Di(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:s,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Mi=["name","message","stack","code"],Ti=function(t,e){this.payload=t,this.meta=e},Ki=function(t,e){this.payload=t,this.meta=e},Zi=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Mi;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function _i(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=Di(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ui(Ii({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Di(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ui(Ii({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Di(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Zi)(t||"Rejected"),meta:Ui(Ii({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new s;function u(t){h=t,p.abort()}var d=function(){return s=this,d=null,y=function(){var s,d,y,g,b,v;return Oi(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),g=null==(s=null==o?void 0:o.condition)?void 0:s.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=m.sent(),m.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Ti(t,e)},fulfillWithValue:function(t,e){return new Ki(t,e)}})).then((function(e){if(e instanceof Ti)throw e;return e instanceof Ki?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 Ti?n(null,f,t,v.payload,v.meta):n(v,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||a(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(s,d)).next())}));var s,d,y}();return Object.assign(d,{abort:u,requestId:f,arg:t,unwrap:function(){return d.then(_i)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Hi="listenerMiddleware";Di(Hi+"/add"),Di(Hi+"/removeAll"),Di(Hi+"/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[Go];return Jo.get(e,t)},set:function(e){var o=this[Go];Jo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Go];if(!r.P)switch(r.i){case 5:i(r)&&Wo(r);break;case 4:o(r)&&Wo(r)}}}function o(t){for(var e=t.t,o=t.k,i=qo(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Go){var s=e[n];if(void 0===s&&!ho(e,n))return!0;var a=o[n],l=a&&a[Go];if(l?l.t!==s:!po(a,s))return!0}}var c=!!e[Go];return i.length!==qo(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){Xo[t]||(Xo[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=Yo(o);delete n[Go];for(var s=qo(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:wo(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Go,{value:n,writable:!0}),r},S:function(t,o,r){r?so(o)&&o[Go].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Go];if(o){var r=o.t,n=o.k,s=o.R,a=o.i;if(4===a)lo(n,(function(e){e!==Go&&(void 0!==r[e]||ho(r,e)?s[e]||t(n[e]):(s[e]=!0,Wo(o)))})),lo(r,(function(t){void 0!==n[t]||ho(n,t)||(s[t]=!1,Wo(o))}));else if(5===a){if(i(o)&&(Wo(o),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Gi{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(Xe(r))return r;if(null==i)return;const n=Pi({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),s=zi({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 Gi(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ye,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 Vi=Symbol("elementInternals");var qi,Yi,Xi;const Ji=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Xi=null===(Yi=null===(qi=window.safari)||void 0===qi?void 0:qi.pushNotification)||void 0===Yi?void 0:Yi.toString())&&void 0!==Xi?Xi:""),Qi=1,tr=2,er=t=>(...e)=>({_$litDirective$:t,values:e});
125
+ `;class qe{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 Ye=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!z(t,e),attribute:!1,...e};k(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Xe{constructor(){this.stack=[]}add(t,e=!1){e&&(this.stack=this.stack.filter((e=>e.type!==t.type))),this.stack.push(t)}consume(t){const e=this.stack.find((e=>e.type===t));return e&&(this.stack=this.stack.filter((t=>t!==e))),e}}function Je(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Qe,to,eo;const oo=Symbol("internalReduxEventsUnsubscribers"),io=Symbol("internalStoresUnsubscribers"),ro=Symbol("internalStores");class no extends _e{constructor(){super(...arguments),this[Qe]=new Map,this[to]=new Map,this[eo]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[ro].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ro].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ro].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Je(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[ro].delete(e)}setupStore(t,e){this[ro].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ro].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.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[io].has(t.store):this[io].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[io].set(t,e.subscribe((()=>this.updateFromStores()))),Je(e)&&e.eventBus&&(null===(o=this.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[oo].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[io].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[oo].forEach((t=>t())),this[oo]=[]}unsubscribeFromStore(t){this[io].has(t)&&this[io].get(t)(),this[io].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function so(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 ao(t){return!!t&&!!t[Vo]}function lo(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)===qo}(t)||Array.isArray(t)||!!t[Go]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Go])||yo(t)||go(t))}function co(t,e,o){void 0===o&&(o=!1),0===ho(t)?(o?Object.keys:Yo)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function ho(t){var e=t[Vo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:yo(t)?2:go(t)?3:0}function fo(t,e){return 2===ho(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function po(t,e,o){var i=ho(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function uo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function yo(t){return Ko&&t instanceof Map}function go(t){return Zo&&t instanceof Set}function bo(t){return t.o||t.t}function vo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Xo(t);delete e[Vo];for(var o=Yo(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 mo(t,e){return void 0===e&&(e=!1),Oo(t)||ao(t)||!lo(t)||(ho(t)>1&&(t.set=t.add=t.clear=t.delete=xo),Object.freeze(t),e&&co(t,(function(t,e){return mo(e,!0)}),!0)),t}function xo(){so(2)}function Oo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wo(t){var e=Jo[t];return e||so(18,t),e}function So(){return To}function No(t,e){e&&(wo("Patches"),t.u=[],t.s=[],t.v=e)}function $o(t){Co(t),t.p.forEach(ko),t.p=null}function Co(t){t===To&&(To=t.l)}function Eo(t){return To={p:[],l:To,h:t,m:!0,_:0}}function ko(t){var e=t[Vo];0===e.i||1===e.i?e.j():e.g=!0}function Ro(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||wo("ES5").S(e,t,i),i?(o[Vo].P&&($o(e),so(4)),lo(t)&&(t=Io(e,t),e.l||Lo(e,t)),e.u&&wo("Patches").M(o[Vo].t,t,e.u,e.s)):t=Io(e,o,[]),$o(e),e.u&&e.v(e.u,e.s),t!==Ho?t:void 0}function Io(t,e,o){if(Oo(e))return e;var i=e[Vo];if(!i)return co(e,(function(r,n){return Uo(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Lo(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=vo(i.k):i.o,n=r,s=!1;3===i.i&&(n=new Set(r),r.clear(),s=!0),co(n,(function(e,n){return Uo(t,i,r,e,n,o,s)})),Lo(t,r,!1),o&&t.u&&wo("Patches").N(i,o,t.u,t.s)}return i.o}function Uo(t,e,o,i,r,n,s){if(ao(r)){var a=Io(t,r,n&&e&&3!==e.i&&!fo(e.R,i)?n.concat(i):void 0);if(po(o,i,a),!ao(a))return;t.m=!1}else s&&o.add(r);if(lo(r)&&!Oo(r)){if(!t.h.D&&t._<1)return;Io(t,r),e&&e.A.l||Lo(t,r)}}function Lo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&mo(e,o)}function Ao(t,e){var o=t[Vo];return(o?bo(o):t)[e]}function Wo(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 jo(t){t.P||(t.P=!0,t.l&&jo(t.l))}function Fo(t){t.o||(t.o=vo(t.t))}function zo(t,e,o){var i=yo(e)?wo("MapSet").F(e,o):go(e)?wo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:So(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Qo;o&&(r=[i],n=ti);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return i.k=l,i.j=a,l}(e,o):wo("ES5").J(e,o);return(o?o.A:So()).p.push(i),i}function Do(t){return ao(t)||so(22,t),function t(e){if(!lo(e))return e;var o,i=e[Vo],r=ho(e);if(i){if(!i.P&&(i.i<4||!wo("ES5").K(i)))return i.t;i.I=!0,o=Bo(e,r),i.I=!1}else o=Bo(e,r);return co(o,(function(e,r){i&&function(t,e){return 2===ho(t)?t.get(e):t[e]}(i.t,e)===r||po(o,e,t(r))})),3===r?new Set(o):o}(t)}function Bo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return vo(t)}Qe=io,to=ro,eo=oo;var Po,To,Mo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ko="undefined"!=typeof Map,Zo="undefined"!=typeof Set,_o="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ho=Mo?Symbol.for("immer-nothing"):((Po={})["immer-nothing"]=!0,Po),Go=Mo?Symbol.for("immer-draftable"):"__$immer_draftable",Vo=Mo?Symbol.for("immer-state"):"__$immer_state",qo=""+Object.prototype.constructor,Yo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xo=Object.getOwnPropertyDescriptors||function(t){var e={};return Yo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Jo={},Qo={get:function(t,e){if(e===Vo)return t;var o=bo(t);if(!fo(o,e))return function(t,e,o){var i,r=Wo(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||!lo(i)?i:i===Ao(t.t,e)?(Fo(t),t.o[e]=zo(t.A.h,i,t)):i},has:function(t,e){return e in bo(t)},ownKeys:function(t){return Reflect.ownKeys(bo(t))},set:function(t,e,o){var i=Wo(bo(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ao(bo(t),e),n=null==r?void 0:r[Vo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(uo(o,r)&&(void 0!==o||fo(t.t,e)))return!0;Fo(t),jo(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!==Ao(t.t,e)||e in t.t?(t.R[e]=!1,Fo(t),jo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=bo(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(){so(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){so(12)}},ti={};co(Qo,(function(t,e){ti[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ti.deleteProperty=function(t,e){return ti.set.call(this,t,e,void 0)},ti.set=function(t,e,o){return Qo.set.call(this,t[0],e,o,t[0])};var ei=function(){function t(t){var e=this;this.O=_o,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,s=Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(s))}))}}var s;if("function"!=typeof o&&so(6),void 0!==i&&"function"!=typeof i&&so(7),lo(t)){var a=Eo(e),l=zo(e,t,void 0),c=!0;try{s=o(l),c=!1}finally{c?$o(a):Co(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return No(a,i),Ro(t,a)}),(function(t){throw $o(a),t})):(No(a,i),Ro(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=o(t))&&(s=t),s===Ho&&(s=void 0),e.D&&mo(s,!0),i){var h=[],f=[];wo("Patches").M(t,s,h,f),i(h,f)}return s}so(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){lo(t)||so(8),ao(t)&&(t=Do(t));var e=Eo(this),o=zo(this,t,void 0);return o[Vo].C=!0,Co(e),o},e.finishDraft=function(t,e){var o=(t&&t[Vo]).A;return No(o,e),Ro(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!_o&&so(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=wo("Patches").$;return ao(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),oi=new ei,ii=oi.produce;function ri(t){return ri="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},ri(t)}function ni(t){var e=function(t,e){if("object"!==ri(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ri(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ri(e)?e:String(e)}function si(t,e,o){return(e=ni(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ai(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 li(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ai(Object(o),!0).forEach((function(e){si(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ai(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ci(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. "}oi.produceWithPatches.bind(oi),oi.setAutoFreeze.bind(oi),oi.setUseProxies.bind(oi),oi.applyPatches.bind(oi),oi.createDraft.bind(oi),oi.finishDraft.bind(oi);var hi="function"==typeof Symbol&&Symbol.observable||"@@observable",fi=function(){return Math.random().toString(36).substring(7).split("").join(".")},pi={INIT:"@@redux/INIT"+fi(),REPLACE:"@@redux/REPLACE"+fi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fi()}};function ui(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ci(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ci(1));return o(ui)(t,e)}if("function"!=typeof t)throw new Error(ci(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(ci(3));return n}function f(t){if("function"!=typeof t)throw new Error(ci(4));if(l)throw new Error(ci(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(ci(6));e=!1,c();var o=a.indexOf(t);a.splice(o,1),s=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ci(7));if(void 0===t.type)throw new Error(ci(8));if(l)throw new Error(ci(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:pi.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ci(10));r=t,p({type:pi.REPLACE})}})[hi]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ci(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[hi]=function(){return this},t},i}function di(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,s=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:pi.INIT}))throw new Error(ci(12));if(void 0===o(void 0,{type:pi.PROBE_UNKNOWN_ACTION()}))throw new Error(ci(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},a=0;a<s.length;a++){var l=s[a],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(ci(14));r[l]=f,i=i||f!==h}return(i=i||s.length!==Object.keys(t).length)?r:t}}function yi(){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 gi(){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(ci(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=yi.apply(void 0,n)(o.dispatch),li(li({},o),{},{dispatch:i})}}}function bi(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 vi=bi();vi.withExtraArgument=bi;var mi,xi=vi,Oi=(mi=function(t,e){return mi=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])},mi(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}mi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),wi=function(t,e){var o,i,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,i=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},Si=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Ni=Object.defineProperty,$i=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,ki=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Ii=function(t,e,o){return e in t?Ni(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ui=function(t,e){for(var o in e||(e={}))ki.call(e,o)&&Ii(t,o,e[o]);if(Ei)for(var i=0,r=Ei(e);i<r.length;i++){o=r[i];Ri.call(e,o)&&Ii(t,o,e[o])}return t},Li=function(t,e){return $i(t,Ci(e))},Ai="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?yi:yi.apply(null,arguments)};var Wi=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 Oi(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,Si([void 0],t[0].concat(this)))):new(e.bind.apply(e,Si([void 0],t.concat(this))))},e}(Array),ji=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Oi(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,Si([void 0],t[0].concat(this)))):new(e.bind.apply(e,Si([void 0],t.concat(this))))},e}(Array);function Fi(t){return lo(t)?ii(t,(function(){})):t}function zi(){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 Wi;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(xi.withExtraArgument(o.extraArgument)):i.push(xi));return i}(t)}}function Di(t){var e,o=zi(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,s=i.middleware,a=void 0===s?o():s,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=di(n)}var d=a;"function"==typeof d&&(d=d(o));var y=gi.apply(void 0,d),g=yi;c&&(g=Ai(Ui({trace:!1},"object"==typeof c&&c)));var b=new ji(y),v=b;return Array.isArray(u)?v=Si([y],u):"function"==typeof u&&(v=u(b)),ui(e,f,g.apply(void 0,v))}function Bi(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 Ui(Ui({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 Pi(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 Ti(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Fi(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Pi(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Ui(Ui({},r),a);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Pi(e):[e,o,i],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Fi(t())};else{var c=Fi(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Si([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(ao(t))return void 0===(i=o(t,e))?t:i;if(lo(t))return ii(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=s;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,s[t]=o,a[c]=o,l[t]=i?Bi(c,i):Bi(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:s,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Mi=["name","message","stack","code"],Ki=function(t,e){this.payload=t,this.meta=e},Zi=function(t,e){this.payload=t,this.meta=e},_i=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Mi;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Hi(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=Bi(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Li(Ui({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Bi(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Li(Ui({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Bi(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||_i)(t||"Rejected"),meta:Li(Ui({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new s;function u(t){h=t,p.abort()}var d=function(){return s=this,d=null,y=function(){var s,d,y,g,b,v;return wi(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),g=null==(s=null==o?void 0:o.condition)?void 0:s.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=m.sent(),m.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Ki(t,e)},fulfillWithValue:function(t,e){return new Zi(t,e)}})).then((function(e){if(e instanceof Ki)throw e;return e instanceof Zi?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 Ki?n(null,f,t,v.payload,v.meta):n(v,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||a(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(s,d)).next())}));var s,d,y}();return Object.assign(d,{abort:u,requestId:f,arg:t,unwrap:function(){return d.then(Hi)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Gi="listenerMiddleware";Bi(Gi+"/add"),Bi(Gi+"/removeAll"),Bi(Gi+"/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[Vo];return Qo.get(e,t)},set:function(e){var o=this[Vo];Qo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Vo];if(!r.P)switch(r.i){case 5:i(r)&&jo(r);break;case 4:o(r)&&jo(r)}}}function o(t){for(var e=t.t,o=t.k,i=Yo(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Vo){var s=e[n];if(void 0===s&&!fo(e,n))return!0;var a=o[n],l=a&&a[Vo];if(l?l.t!==s:!uo(a,s))return!0}}var c=!!e[Vo];return i.length!==Yo(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){Jo[t]||(Jo[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=Xo(o);delete n[Vo];for(var s=Yo(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:So(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Vo,{value:n,writable:!0}),r},S:function(t,o,r){r?ao(o)&&o[Vo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Vo];if(o){var r=o.t,n=o.k,s=o.R,a=o.i;if(4===a)co(n,(function(e){e!==Vo&&(void 0!==r[e]||fo(r,e)?s[e]||t(n[e]):(s[e]=!0,jo(o)))})),co(r,(function(t){void 0!==n[t]||fo(n,t)||(s[t]=!1,jo(o))}));else if(5===a){if(i(o)&&(jo(o),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Vi{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(Je(r))return r;if(null==i)return;const n=Ti({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),s=Di({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 Vi(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Xe,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 qi=Symbol("elementInternals");var Yi,Xi,Ji;const Qi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ji=null===(Xi=null===(Yi=window.safari)||void 0===Yi?void 0:Yi.pushNotification)||void 0===Xi?void 0:Xi.toString())&&void 0!==Ji?Ji:""),tr=1,er=2,or=t=>(...e)=>({_$litDirective$:t,values:e});
121
126
  /**
122
127
  * @license
123
128
  * Copyright 2017 Google LLC
124
129
  * SPDX-License-Identifier: BSD-3-Clause
125
- */let or=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
130
+ */let ir=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
126
131
  /**
127
132
  * @license
128
133
  * Copyright 2020 Google LLC
129
134
  * SPDX-License-Identifier: BSD-3-Clause
130
- */const{D:ir}=Ot,rr=()=>document.createComment(""),nr=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(rr(),r),n=i.insertBefore(rr(),r);o=new ir(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,s=n!==t;if(s){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||s){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},sr=(t,e,o=t)=>(t._$AI(e,o),t),ar={},lr=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}},cr=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},hr=er(class extends or{constructor(t){if(super(t),t.type!==tr)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 s=0;for(const e of t)r[s]=i?i(e,s):s,n[s]=o(e,s),s++;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:s}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=s,n;const a=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(a[f]===s[u])l[u]=sr(r[f],n[u]),f++,u++;else if(a[p]===s[d])l[d]=sr(r[p],n[d]),p--,d--;else if(a[f]===s[d])l[d]=sr(r[f],n[d]),nr(t,l[d+1],r[f]),f++,d--;else if(a[p]===s[u])l[u]=sr(r[p],n[u]),nr(t,r[f],r[p]),p--,u++;else if(void 0===c&&(c=cr(s,u,d),h=cr(a,f,p)),c.has(a[f]))if(c.has(a[p])){const e=h.get(s[u]),o=void 0!==e?r[e]:null;if(null===o){const e=nr(t,r[f]);sr(e,n[u]),l[u]=e}else l[u]=sr(o,n[u]),nr(t,r[f],o),r[e]=null;u++}else lr(r[p]),p--;else lr(r[f]),f++;for(;u<=d;){const e=nr(t,l[d+1]);sr(e,n[u]),l[u++]=e}for(;f<=p;){const t=r[f++];null!==t&&lr(t)}return this.dt=s,((t,e=ar)=>{t._$AH=e})(t,l),st}}),fr={spacing:Re.create("--ft-search-selected-facets-spacing","","SIZE","8px")},pr=Rt`
135
+ */const{D:rr}=wt,nr=()=>document.createComment(""),sr=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(nr(),r),n=i.insertBefore(nr(),r);o=new rr(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,s=n!==t;if(s){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||s){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},ar=(t,e,o=t)=>(t._$AI(e,o),t),lr={},cr=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}},hr=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},fr=or(class extends ir{constructor(t){if(super(t),t.type!==er)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 s=0;for(const e of t)r[s]=i?i(e,s):s,n[s]=o(e,s),s++;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:s}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=s,n;const a=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(a[f]===s[u])l[u]=ar(r[f],n[u]),f++,u++;else if(a[p]===s[d])l[d]=ar(r[p],n[d]),p--,d--;else if(a[f]===s[d])l[d]=ar(r[f],n[d]),sr(t,l[d+1],r[f]),f++,d--;else if(a[p]===s[u])l[u]=ar(r[p],n[u]),sr(t,r[f],r[p]),p--,u++;else if(void 0===c&&(c=hr(s,u,d),h=hr(a,f,p)),c.has(a[f]))if(c.has(a[p])){const e=h.get(s[u]),o=void 0!==e?r[e]:null;if(null===o){const e=sr(t,r[f]);ar(e,n[u]),l[u]=e}else l[u]=ar(o,n[u]),sr(t,r[f],o),r[e]=null;u++}else cr(r[p]),p--;else cr(r[f]),f++;for(;u<=d;){const e=sr(t,l[d+1]);ar(e,n[u]),l[u++]=e}for(;f<=p;){const t=r[f++];null!==t&&cr(t)}return this.dt=s,((t,e=lr)=>{t._$AH=e})(t,l),at}}),pr={spacing:Ie.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ur=It`
131
136
  .ft-search-selected-facets--container {
132
137
  display: flex;
133
138
  flex-wrap: wrap;
134
- gap: ${fr.spacing};
139
+ gap: ${pr.spacing};
135
140
  }
136
- `,ur={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};
141
+ `,dr={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};
137
142
  /**
138
143
  * @license
139
144
  * Copyright 2017 Google LLC
140
145
  * SPDX-License-Identifier: BSD-3-Clause
141
- */var dr,yr,gr,br,vr,mr,xr,Or,wr,Sr,Nr,$r,Cr,Er;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=s(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=s(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),a(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];b.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var s=new y(t,i);if(s.signal&&s.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,o={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;r(new b(i,o))},a.onerror=function(){n(new TypeError("Network request failed"))},a.ontimeout=function(){n(new TypeError("Network request failed"))},a.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&o.blob&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",c)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(dr||(dr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(yr||(yr={})),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"}(gr||(gr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(br||(br={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(vr||(vr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(mr||(mr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(xr||(xr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Or||(Or={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(wr||(wr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Sr||(Sr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Nr||(Nr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}($r||($r={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Cr||(Cr={})),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"}(Er||(Er={})),Er.PERSONAL_BOOK_SHARE_USER,Er.PERSONAL_BOOK_USER,Er.HTML_EXPORT_USER,Er.PERSONAL_BOOK_USER,Er.PDF_EXPORT_USER,Er.PERSONAL_BOOK_USER,Er.KHUB_ADMIN,Er.CONTENT_PUBLISHER,Er.ADMIN,Er.KHUB_ADMIN,Er.USERS_ADMIN,Er.PORTAL_ADMIN,Er.DEVELOPER,Er.BETA_USER,Er.DEBUG_USER;const kr=Rt`
142
- `,Rr=Gi.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ir{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Rr.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?Ir.build(t):null!==(e=Ir.API)&&void 0!==e?e:Ir.API=Ir.build()}static await(t){return new Promise((e=>{let o=Ir.get(t);if(o)e(o);else{const i=Rr.subscribe((()=>{o=Ir.get(t),o&&(i(),e(o))}))}}))}}var Ur;const Lr=Symbol("clearAfterUnitTest");class Ar{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Ur]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Rr.getState().uiLocale,Rr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Rr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};F(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Ve(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},s).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>W(0).then((()=>t())).catch((()=>null)))))}}Ur=Lr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ar((async(t,e)=>(await Ir.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ar((async(t,e)=>(await Ir.await()).getCustomMessageContext(t,e))));const Wr=window.FluidTopicsI18nService,jr=window.FluidTopicsCustomI18nService;var Fr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class zr extends Ze{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ir.get(),this.cache=new r,this.cleanSessionDebouncer=new A}render(){return fe`
146
+ */var yr,gr,br,vr,mr,xr,Or,wr,Sr,Nr,$r,Cr,Er,kr;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=s(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=s(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),a(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];b.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var s=new y(t,i);if(s.signal&&s.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,o={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in a?a.responseURL:o.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;r(new b(i,o))},a.onerror=function(){n(new TypeError("Network request failed"))},a.ontimeout=function(){n(new TypeError("Network request failed"))},a.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&o.blob&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",c)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(yr||(yr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(gr||(gr={})),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"}(br||(br={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(vr||(vr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(mr||(mr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(xr||(xr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Or||(Or={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(wr||(wr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sr||(Sr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Nr||(Nr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}($r||($r={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Cr||(Cr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Er||(Er={})),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"}(kr||(kr={})),kr.PERSONAL_BOOK_SHARE_USER,kr.PERSONAL_BOOK_USER,kr.HTML_EXPORT_USER,kr.PERSONAL_BOOK_USER,kr.PDF_EXPORT_USER,kr.PERSONAL_BOOK_USER,kr.KHUB_ADMIN,kr.CONTENT_PUBLISHER,kr.ADMIN,kr.KHUB_ADMIN,kr.USERS_ADMIN,kr.PORTAL_ADMIN,kr.DEVELOPER,kr.BETA_USER,kr.DEBUG_USER;const Rr=It`
147
+ `,Ir=Vi.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ur{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ir.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?Ur.build(t):null!==(e=Ur.API)&&void 0!==e?e:Ur.API=Ur.build()}static await(t){return new Promise((e=>{let o=Ur.get(t);if(o)e(o);else{const i=Ir.subscribe((()=>{o=Ur.get(t),o&&(i(),e(o))}))}}))}}var Lr;const Ar=Symbol("clearAfterUnitTest");class Wr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Lr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ir.getState().uiLocale,Ir.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ir.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};z(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new qe(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},s).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>j(0).then((()=>t())).catch((()=>null)))))}}Lr=Ar,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Wr((async(t,e)=>(await Ur.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Wr((async(t,e)=>(await Ur.await()).getCustomMessageContext(t,e))));const jr=window.FluidTopicsI18nService,Fr=window.FluidTopicsCustomI18nService;var zr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Dr extends _e{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ur.get(),this.cache=new r,this.cleanSessionDebouncer=new W}render(){return pe`
143
148
  <slot></slot>
144
- `}update(t){super.update(t),t.has("baseUrl")&&Rr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Rr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Rr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Rr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Rr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Rr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Rr.actions.setSession(this.session),t.has("availableUiLocales")&&Rr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Wr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}zr.elementDefinitions={},zr.styles=kr,Fr([k()],zr.prototype,"baseUrl",void 0),Fr([k()],zr.prototype,"apiIntegrationIdentifier",void 0),Fr([k()],zr.prototype,"uiLocale",void 0),Fr([D([])],zr.prototype,"availableUiLocales",void 0),Fr([k({type:Boolean})],zr.prototype,"editorMode",void 0),Fr([k({type:Boolean})],zr.prototype,"noCustom",void 0),Fr([k({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],zr.prototype,"noCustomComponent",void 0),Fr([k({type:Boolean})],zr.prototype,"withManualResources",void 0),Fr([D([])],zr.prototype,"messageContexts",void 0),Fr([D(void 0)],zr.prototype,"session",void 0),Fr([k({type:Object})],zr.prototype,"apiProvider",void 0);class Dr{async listMySearches(){var t;return(null===(t=Rr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ir.await()).listMySearches(Rr.getState().session.profile.userId):[]}}const Br=new r;class Pr{async listMyBookmarks(){return Br.get("bookmarks",(async()=>(await Ir.await()).listMyBookmarks(Rr.getState().session.profile.userId)))}clearCache(){Br.clear("bookmarks")}}const Mr=Gi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Tr=new class{constructor(){this.currentSession=Rr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Pr,Rr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Rr.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(){Mr.actions.savedSearches(void 0)}clearMyBookmarks(){Mr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Dr,e=await t.listMySearches();Mr.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;Mr.actions.bookmarks(e)}}};z("ft-app-context")(zr);class Kr{static async build(){return new Kr(await Ir.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 Zr=t=>t.request.virtualField===Or.TITLE_ONLY&&t.request.scope===Cr.DOCUMENTS;class _r extends Event{constructor(){super(_r.eventName)}}_r.eventName="search-context-clear-all-filters";class Hr{static build(t){return new Hr((t=>Gi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ur}))(t.trim()||"context"),Kr.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.searchDebouncer=new A(100),this.suggestDebouncer=new A(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await W(5);return 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(Or.TITLE_ONLY),this.store.actions.setRequestScope(Cr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Or.EVERYWHERE),this.store.actions.setRequestScope(Cr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Zr(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new _r)}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 Gr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Vr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const qr=Symbol("registerInterval");class Yr 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[qr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[qr]):this.dispatchEvent(new Vr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=qr,Gr([R()],o.prototype,"stateManager",void 0),o}(ro)){}
149
+ `}update(t){super.update(t),t.has("baseUrl")&&Ir.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ir.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ir.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ir.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ir.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ir.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ir.actions.setSession(this.session),t.has("availableUiLocales")&&Ir.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>jr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Dr.elementDefinitions={},Dr.styles=Rr,zr([k()],Dr.prototype,"baseUrl",void 0),zr([k()],Dr.prototype,"apiIntegrationIdentifier",void 0),zr([k()],Dr.prototype,"uiLocale",void 0),zr([B([])],Dr.prototype,"availableUiLocales",void 0),zr([k({type:Boolean})],Dr.prototype,"editorMode",void 0),zr([k({type:Boolean})],Dr.prototype,"noCustom",void 0),zr([k({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Dr.prototype,"noCustomComponent",void 0),zr([k({type:Boolean})],Dr.prototype,"withManualResources",void 0),zr([B([])],Dr.prototype,"messageContexts",void 0),zr([B(void 0)],Dr.prototype,"session",void 0),zr([k({type:Object})],Dr.prototype,"apiProvider",void 0);class Br{async listMySearches(){var t;return(null===(t=Ir.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ur.await()).listMySearches(Ir.getState().session.profile.userId):[]}}const Pr=new r;class Tr{async listMyBookmarks(){return Pr.get("bookmarks",(async()=>(await Ur.await()).listMyBookmarks(Ir.getState().session.profile.userId)))}clearCache(){Pr.clear("bookmarks")}}const Mr=Vi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Kr=new class{constructor(){this.currentSession=Ir.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Tr,Ir.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ir.getState();z(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(){Mr.actions.savedSearches(void 0)}clearMyBookmarks(){Mr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Br,e=await t.listMySearches();Mr.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;Mr.actions.bookmarks(e)}}};D("ft-app-context")(Dr);class Zr{static async build(){return new Zr(await Ur.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 _r=t=>t.request.virtualField===wr.TITLE_ONLY&&t.request.scope===Er.DOCUMENTS;class Hr extends Event{constructor(){super(Hr.eventName)}}Hr.eventName="search-context-clear-all-filters";class Gr{static build(t){return new Gr((t=>Vi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:dr}))(t.trim()||"context"),Zr.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.searchDebouncer=new W(100),this.suggestDebouncer=new W(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await j(5);return 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(wr.TITLE_ONLY),this.store.actions.setRequestScope(Er.DOCUMENTS)):(this.store.actions.setRequestVirtualField(wr.EVERYWHERE),this.store.actions.setRequestScope(Er.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return _r(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Hr)}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 Vr=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class qr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Yr=Symbol("registerInterval");class Xr 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[Yr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Yr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Yr,Vr([R()],o.prototype,"stateManager",void 0),o}(no)){}
145
150
  /**
146
151
  * @license
147
152
  * Copyright 2018 Google LLC
148
153
  * SPDX-License-Identifier: BSD-3-Clause
149
- */const Xr=er(class extends or{constructor(t){if(super(t),t.type!==Qi||"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 st}}),Jr=Re.extend("--ft-ripple-color","",je.colorContent),Qr={color:Jr,backgroundColor:Re.extend("--ft-ripple-background-color","",Jr),opacityContentOnSurfacePressed:Re.external(je.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Re.external(je.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Re.external(je.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Re.external(je.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Re.create("--ft-ripple-border-radius","","SIZE","0px")},tn=Re.extend("--ft-ripple-color","",je.colorPrimary),en=tn,on=Re.extend("--ft-ripple-background-color","",tn),rn=Re.extend("--ft-ripple-color","",je.colorSecondary),nn=rn,sn=Re.extend("--ft-ripple-background-color","",rn),an=Rt`
154
+ */const Jr=or(class extends ir{constructor(t){if(super(t),t.type!==tr||"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 at}}),Qr=Ie.extend("--ft-ripple-color","",Fe.colorContent),tn={color:Qr,backgroundColor:Ie.extend("--ft-ripple-background-color","",Qr),opacityContentOnSurfacePressed:Ie.external(Fe.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ie.external(Fe.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ie.external(Fe.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ie.external(Fe.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ie.create("--ft-ripple-border-radius","","SIZE","0px")},en=Ie.extend("--ft-ripple-color","",Fe.colorPrimary),on=en,rn=Ie.extend("--ft-ripple-background-color","",en),nn=Ie.extend("--ft-ripple-color","",Fe.colorSecondary),sn=nn,an=Ie.extend("--ft-ripple-background-color","",nn),ln=It`
150
155
  :host {
151
156
  display: contents;
152
157
  }
@@ -159,7 +164,7 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
159
164
 
160
165
  .ft-ripple:not(.ft-ripple--unbounded) {
161
166
  overflow: hidden;
162
- border-radius: ${Qr.borderRadius};
167
+ border-radius: ${tn.borderRadius};
163
168
  }
164
169
 
165
170
  .ft-ripple .ft-ripple--background,
@@ -193,27 +198,27 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
193
198
  }
194
199
 
195
200
  .ft-ripple .ft-ripple--background {
196
- background-color: ${Qr.backgroundColor};
201
+ background-color: ${tn.backgroundColor};
197
202
  }
198
203
 
199
204
  .ft-ripple .ft-ripple--effect {
200
- background-color: ${Qr.color};
205
+ background-color: ${tn.color};
201
206
  }
202
207
 
203
208
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
204
- background-color: ${sn};
209
+ background-color: ${an};
205
210
  }
206
211
 
207
212
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
208
- background-color: ${nn};
213
+ background-color: ${sn};
209
214
  }
210
215
 
211
216
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
212
- background-color: ${on};
217
+ background-color: ${rn};
213
218
  }
214
219
 
215
220
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
216
- background-color: ${en};
221
+ background-color: ${on};
217
222
  }
218
223
 
219
224
  .ft-ripple .ft-ripple--background {
@@ -243,135 +248,135 @@ let Ce=class extends _t{constructor(){super(...arguments),this.renderOptions={ho
243
248
  }
244
249
 
245
250
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
246
- opacity: ${Qr.opacityContentOnSurfaceHover};
251
+ opacity: ${tn.opacityContentOnSurfaceHover};
247
252
  }
248
253
 
249
254
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
250
- opacity: ${Qr.opacityContentOnSurfaceSelected};
255
+ opacity: ${tn.opacityContentOnSurfaceSelected};
251
256
  }
252
257
 
253
258
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
254
- opacity: ${Qr.opacityContentOnSurfaceFocused};
259
+ opacity: ${tn.opacityContentOnSurfaceFocused};
255
260
  }
256
261
 
257
262
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
258
- opacity: ${Qr.opacityContentOnSurfacePressed};
263
+ opacity: ${tn.opacityContentOnSurfacePressed};
259
264
  transform: translate(-50%, -50%) scale(1);
260
265
  }
261
- `;var ln=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class cn extends Ze{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 A(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 A(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 fe`
266
+ `;var cn=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class hn extends _e{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 W(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 W(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 pe`
262
267
  <style>
263
268
  .ft-ripple .ft-ripple--effect {
264
269
  left: ${this.originX}px;
265
270
  top: ${this.originY}px;
266
271
  }
267
272
  </style>
268
- <div class="${Xr(t)}">
273
+ <div class="${Jr(t)}">
269
274
  <div class="ft-ripple--background"></div>
270
275
  <div class="ft-ripple--effect"></div>
271
276
  </div>
272
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}cn.elementDefinitions={},cn.styles=an,ln([k({type:Boolean})],cn.prototype,"primary",void 0),ln([k({type:Boolean})],cn.prototype,"secondary",void 0),ln([k({type:Boolean})],cn.prototype,"unbounded",void 0),ln([k({type:Boolean})],cn.prototype,"activated",void 0),ln([k({type:Boolean})],cn.prototype,"selected",void 0),ln([k({type:Boolean})],cn.prototype,"disabled",void 0),ln([R()],cn.prototype,"hovered",void 0),ln([R()],cn.prototype,"focused",void 0),ln([R()],cn.prototype,"pressed",void 0),ln([R()],cn.prototype,"rippling",void 0),ln([R()],cn.prototype,"originX",void 0),ln([R()],cn.prototype,"originY",void 0),ln([U(".ft-ripple")],cn.prototype,"ripple",void 0),ln([U(".ft-ripple--effect")],cn.prototype,"rippleEffect",void 0),z("ft-ripple")(cn);
277
+ `}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()}}hn.elementDefinitions={},hn.styles=ln,cn([k({type:Boolean})],hn.prototype,"primary",void 0),cn([k({type:Boolean})],hn.prototype,"secondary",void 0),cn([k({type:Boolean})],hn.prototype,"unbounded",void 0),cn([k({type:Boolean})],hn.prototype,"activated",void 0),cn([k({type:Boolean})],hn.prototype,"selected",void 0),cn([k({type:Boolean})],hn.prototype,"disabled",void 0),cn([R()],hn.prototype,"hovered",void 0),cn([R()],hn.prototype,"focused",void 0),cn([R()],hn.prototype,"pressed",void 0),cn([R()],hn.prototype,"rippling",void 0),cn([R()],hn.prototype,"originX",void 0),cn([R()],hn.prototype,"originY",void 0),cn([L(".ft-ripple")],hn.prototype,"ripple",void 0),cn([L(".ft-ripple--effect")],hn.prototype,"rippleEffect",void 0),D("ft-ripple")(hn);
273
278
  /**
274
279
  * @license
275
280
  * Copyright 2020 Google LLC
276
281
  * SPDX-License-Identifier: BSD-3-Clause
277
282
  */
278
- const hn=Symbol.for(""),fn=t=>{if(t?.r===hn)return t?._$litStatic$},pn=t=>({_$litStatic$:t,r:hn}),un=new Map,dn=(t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=fn(n));)l+=r+e[++c],h=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),h){const t=s.join("$$lit$$");void 0===(e=un.get(t))&&(s.raw=s,un.set(t,e=s)),o=a}return t(e,...o)})(nt);var yn;!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"}(yn||(yn={}));const gn=Re.extend("--ft-typography-font-family","",je.titleFont),bn=Re.extend("--ft-typography-font-family","",je.contentFont),vn={fontFamily:bn,fontSize:Re.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Re.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Re.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Re.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Re.create("--ft-typography-text-transform","","UNKNOWN","inherit")},mn=Re.extend("--ft-typography-title-font-family","",gn),xn=Re.extend("--ft-typography-title-font-size","",vn.fontSize,"20px"),On=Re.extend("--ft-typography-title-font-weight","",vn.fontWeight,"normal"),wn=Re.extend("--ft-typography-title-letter-spacing","",vn.letterSpacing,"0.15px"),Sn=Re.extend("--ft-typography-title-line-height","",vn.lineHeight,"1.2"),Nn=Re.extend("--ft-typography-title-text-transform","",vn.textTransform,"inherit"),$n=Re.extend("--ft-typography-title-dense-font-family","",gn),Cn=Re.extend("--ft-typography-title-dense-font-size","",vn.fontSize,"14px"),En=Re.extend("--ft-typography-title-dense-font-weight","",vn.fontWeight,"normal"),kn=Re.extend("--ft-typography-title-dense-letter-spacing","",vn.letterSpacing,"0.105px"),Rn=Re.extend("--ft-typography-title-dense-line-height","",vn.lineHeight,"1.7"),In=Re.extend("--ft-typography-title-dense-text-transform","",vn.textTransform,"inherit"),Un=Re.extend("--ft-typography-subtitle1-font-family","",bn),Ln=Re.extend("--ft-typography-subtitle1-font-size","",vn.fontSize,"16px"),An=Re.extend("--ft-typography-subtitle1-font-weight","",vn.fontWeight,"600"),Wn=Re.extend("--ft-typography-subtitle1-letter-spacing","",vn.letterSpacing,"0.144px"),jn=Re.extend("--ft-typography-subtitle1-line-height","",vn.lineHeight,"1.5"),Fn=Re.extend("--ft-typography-subtitle1-text-transform","",vn.textTransform,"inherit"),zn=Re.extend("--ft-typography-subtitle2-font-family","",bn),Dn=Re.extend("--ft-typography-subtitle2-font-size","",vn.fontSize,"14px"),Bn=Re.extend("--ft-typography-subtitle2-font-weight","",vn.fontWeight,"normal"),Pn=Re.extend("--ft-typography-subtitle2-letter-spacing","",vn.letterSpacing,"0.098px"),Mn=Re.extend("--ft-typography-subtitle2-line-height","",vn.lineHeight,"1.7"),Tn=Re.extend("--ft-typography-subtitle2-text-transform","",vn.textTransform,"inherit"),Kn=Re.extend("--ft-typography-body1-font-family","",bn),Zn=Re.extend("--ft-typography-body1-font-size","",vn.fontSize,"16px"),_n=Re.extend("--ft-typography-body1-font-weight","",vn.fontWeight,"normal"),Hn=Re.extend("--ft-typography-body1-letter-spacing","",vn.letterSpacing,"0.496px"),Gn=Re.extend("--ft-typography-body1-line-height","",vn.lineHeight,"1.5"),Vn=Re.extend("--ft-typography-body1-text-transform","",vn.textTransform,"inherit"),qn={fontFamily:Re.extend("--ft-typography-body2-font-family","",bn),fontSize:Re.extend("--ft-typography-body2-font-size","",vn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-body2-font-weight","",vn.fontWeight,"normal"),letterSpacing:Re.extend("--ft-typography-body2-letter-spacing","",vn.letterSpacing,"0.252px"),lineHeight:Re.extend("--ft-typography-body2-line-height","",vn.lineHeight,"1.4"),textTransform:Re.extend("--ft-typography-body2-text-transform","",vn.textTransform,"inherit")},Yn=Re.extend("--ft-typography-caption-font-family","",bn),Xn=Re.extend("--ft-typography-caption-font-size","",vn.fontSize,"12px"),Jn=Re.extend("--ft-typography-caption-font-weight","",vn.fontWeight,"normal"),Qn=Re.extend("--ft-typography-caption-letter-spacing","",vn.letterSpacing,"0.396px"),ts=Re.extend("--ft-typography-caption-line-height","",vn.lineHeight,"1.33"),es=Re.extend("--ft-typography-caption-text-transform","",vn.textTransform,"inherit"),os=Re.extend("--ft-typography-breadcrumb-font-family","",bn),is=Re.extend("--ft-typography-breadcrumb-font-size","",vn.fontSize,"10px"),rs=Re.extend("--ft-typography-breadcrumb-font-weight","",vn.fontWeight,"normal"),ns=Re.extend("--ft-typography-breadcrumb-letter-spacing","",vn.letterSpacing,"0.33px"),ss=Re.extend("--ft-typography-breadcrumb-line-height","",vn.lineHeight,"1.6"),as=Re.extend("--ft-typography-breadcrumb-text-transform","",vn.textTransform,"inherit"),ls=Re.extend("--ft-typography-overline-font-family","",bn),cs=Re.extend("--ft-typography-overline-font-size","",vn.fontSize,"10px"),hs=Re.extend("--ft-typography-overline-font-weight","",vn.fontWeight,"normal"),fs=Re.extend("--ft-typography-overline-letter-spacing","",vn.letterSpacing,"1.5px"),ps=Re.extend("--ft-typography-overline-line-height","",vn.lineHeight,"1.6"),us=Re.extend("--ft-typography-overline-text-transform","",vn.textTransform,"uppercase"),ds={fontFamily:Re.extend("--ft-typography-button-font-family","",bn),fontSize:Re.extend("--ft-typography-button-font-size","",vn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-button-font-weight","",vn.fontWeight,"600"),letterSpacing:Re.extend("--ft-typography-button-letter-spacing","",vn.letterSpacing,"1.246px"),lineHeight:Re.extend("--ft-typography-button-line-height","",vn.lineHeight,"1.15"),textTransform:Re.extend("--ft-typography-button-text-transform","",vn.textTransform,"uppercase")},ys=Rt`
283
+ const fn=Symbol.for(""),pn=t=>{if(t?.r===fn)return t?._$litStatic$},un=t=>({_$litStatic$:t,r:fn}),dn=new Map,yn=(t=>(e,...o)=>{const i=o.length;let r,n;const s=[],a=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=pn(n));)l+=r+e[++c],h=!0;c!==i&&a.push(n),s.push(l),c++}if(c===i&&s.push(e[i]),h){const t=s.join("$$lit$$");void 0===(e=dn.get(t))&&(s.raw=s,dn.set(t,e=s)),o=a}return t(e,...o)})(st);var gn;!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"}(gn||(gn={}));const bn=Ie.extend("--ft-typography-font-family","",Fe.titleFont),vn=Ie.extend("--ft-typography-font-family","",Fe.contentFont),mn={fontFamily:vn,fontSize:Ie.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ie.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ie.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ie.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ie.create("--ft-typography-text-transform","","UNKNOWN","inherit")},xn=Ie.extend("--ft-typography-title-font-family","",bn),On=Ie.extend("--ft-typography-title-font-size","",mn.fontSize,"20px"),wn=Ie.extend("--ft-typography-title-font-weight","",mn.fontWeight,"normal"),Sn=Ie.extend("--ft-typography-title-letter-spacing","",mn.letterSpacing,"0.15px"),Nn=Ie.extend("--ft-typography-title-line-height","",mn.lineHeight,"1.2"),$n=Ie.extend("--ft-typography-title-text-transform","",mn.textTransform,"inherit"),Cn=Ie.extend("--ft-typography-title-dense-font-family","",bn),En=Ie.extend("--ft-typography-title-dense-font-size","",mn.fontSize,"14px"),kn=Ie.extend("--ft-typography-title-dense-font-weight","",mn.fontWeight,"normal"),Rn=Ie.extend("--ft-typography-title-dense-letter-spacing","",mn.letterSpacing,"0.105px"),In=Ie.extend("--ft-typography-title-dense-line-height","",mn.lineHeight,"1.7"),Un=Ie.extend("--ft-typography-title-dense-text-transform","",mn.textTransform,"inherit"),Ln=Ie.extend("--ft-typography-subtitle1-font-family","",vn),An=Ie.extend("--ft-typography-subtitle1-font-size","",mn.fontSize,"16px"),Wn=Ie.extend("--ft-typography-subtitle1-font-weight","",mn.fontWeight,"600"),jn=Ie.extend("--ft-typography-subtitle1-letter-spacing","",mn.letterSpacing,"0.144px"),Fn=Ie.extend("--ft-typography-subtitle1-line-height","",mn.lineHeight,"1.5"),zn=Ie.extend("--ft-typography-subtitle1-text-transform","",mn.textTransform,"inherit"),Dn=Ie.extend("--ft-typography-subtitle2-font-family","",vn),Bn=Ie.extend("--ft-typography-subtitle2-font-size","",mn.fontSize,"14px"),Pn=Ie.extend("--ft-typography-subtitle2-font-weight","",mn.fontWeight,"normal"),Tn=Ie.extend("--ft-typography-subtitle2-letter-spacing","",mn.letterSpacing,"0.098px"),Mn=Ie.extend("--ft-typography-subtitle2-line-height","",mn.lineHeight,"1.7"),Kn=Ie.extend("--ft-typography-subtitle2-text-transform","",mn.textTransform,"inherit"),Zn=Ie.extend("--ft-typography-body1-font-family","",vn),_n=Ie.extend("--ft-typography-body1-font-size","",mn.fontSize,"16px"),Hn=Ie.extend("--ft-typography-body1-font-weight","",mn.fontWeight,"normal"),Gn=Ie.extend("--ft-typography-body1-letter-spacing","",mn.letterSpacing,"0.496px"),Vn=Ie.extend("--ft-typography-body1-line-height","",mn.lineHeight,"1.5"),qn=Ie.extend("--ft-typography-body1-text-transform","",mn.textTransform,"inherit"),Yn={fontFamily:Ie.extend("--ft-typography-body2-font-family","",vn),fontSize:Ie.extend("--ft-typography-body2-font-size","",mn.fontSize,"14px"),fontWeight:Ie.extend("--ft-typography-body2-font-weight","",mn.fontWeight,"normal"),letterSpacing:Ie.extend("--ft-typography-body2-letter-spacing","",mn.letterSpacing,"0.252px"),lineHeight:Ie.extend("--ft-typography-body2-line-height","",mn.lineHeight,"1.4"),textTransform:Ie.extend("--ft-typography-body2-text-transform","",mn.textTransform,"inherit")},Xn=Ie.extend("--ft-typography-caption-font-family","",vn),Jn=Ie.extend("--ft-typography-caption-font-size","",mn.fontSize,"12px"),Qn=Ie.extend("--ft-typography-caption-font-weight","",mn.fontWeight,"normal"),ts=Ie.extend("--ft-typography-caption-letter-spacing","",mn.letterSpacing,"0.396px"),es=Ie.extend("--ft-typography-caption-line-height","",mn.lineHeight,"1.33"),os=Ie.extend("--ft-typography-caption-text-transform","",mn.textTransform,"inherit"),is=Ie.extend("--ft-typography-breadcrumb-font-family","",vn),rs=Ie.extend("--ft-typography-breadcrumb-font-size","",mn.fontSize,"10px"),ns=Ie.extend("--ft-typography-breadcrumb-font-weight","",mn.fontWeight,"normal"),ss=Ie.extend("--ft-typography-breadcrumb-letter-spacing","",mn.letterSpacing,"0.33px"),as=Ie.extend("--ft-typography-breadcrumb-line-height","",mn.lineHeight,"1.6"),ls=Ie.extend("--ft-typography-breadcrumb-text-transform","",mn.textTransform,"inherit"),cs=Ie.extend("--ft-typography-overline-font-family","",vn),hs=Ie.extend("--ft-typography-overline-font-size","",mn.fontSize,"10px"),fs=Ie.extend("--ft-typography-overline-font-weight","",mn.fontWeight,"normal"),ps=Ie.extend("--ft-typography-overline-letter-spacing","",mn.letterSpacing,"1.5px"),us=Ie.extend("--ft-typography-overline-line-height","",mn.lineHeight,"1.6"),ds=Ie.extend("--ft-typography-overline-text-transform","",mn.textTransform,"uppercase"),ys={fontFamily:Ie.extend("--ft-typography-button-font-family","",vn),fontSize:Ie.extend("--ft-typography-button-font-size","",mn.fontSize,"14px"),fontWeight:Ie.extend("--ft-typography-button-font-weight","",mn.fontWeight,"600"),letterSpacing:Ie.extend("--ft-typography-button-letter-spacing","",mn.letterSpacing,"1.246px"),lineHeight:Ie.extend("--ft-typography-button-line-height","",mn.lineHeight,"1.15"),textTransform:Ie.extend("--ft-typography-button-text-transform","",mn.textTransform,"uppercase")},gs=It`
279
284
  .ft-typography--title {
280
- font-family: ${mn};
281
- font-size: ${xn};
282
- font-weight: ${On};
283
- letter-spacing: ${wn};
284
- line-height: ${Sn};
285
- text-transform: ${Nn};
286
- }
287
- `,gs=Rt`
285
+ font-family: ${xn};
286
+ font-size: ${On};
287
+ font-weight: ${wn};
288
+ letter-spacing: ${Sn};
289
+ line-height: ${Nn};
290
+ text-transform: ${$n};
291
+ }
292
+ `,bs=It`
288
293
  .ft-typography--title-dense {
289
- font-family: ${$n};
290
- font-size: ${Cn};
291
- font-weight: ${En};
292
- letter-spacing: ${kn};
293
- line-height: ${Rn};
294
- text-transform: ${In};
295
- }
296
- `,bs=Rt`
294
+ font-family: ${Cn};
295
+ font-size: ${En};
296
+ font-weight: ${kn};
297
+ letter-spacing: ${Rn};
298
+ line-height: ${In};
299
+ text-transform: ${Un};
300
+ }
301
+ `,vs=It`
297
302
  .ft-typography--subtitle1 {
298
- font-family: ${Un};
299
- font-size: ${Ln};
300
- font-weight: ${An};
301
- letter-spacing: ${Wn};
302
- line-height: ${jn};
303
- text-transform: ${Fn};
304
- }
305
- `,vs=Rt`
303
+ font-family: ${Ln};
304
+ font-size: ${An};
305
+ font-weight: ${Wn};
306
+ letter-spacing: ${jn};
307
+ line-height: ${Fn};
308
+ text-transform: ${zn};
309
+ }
310
+ `,ms=It`
306
311
  .ft-typography--subtitle2 {
307
- font-family: ${zn};
308
- font-size: ${Dn};
309
- font-weight: ${Bn};
310
- letter-spacing: ${Pn};
312
+ font-family: ${Dn};
313
+ font-size: ${Bn};
314
+ font-weight: ${Pn};
315
+ letter-spacing: ${Tn};
311
316
  line-height: ${Mn};
312
- text-transform: ${Tn};
317
+ text-transform: ${Kn};
313
318
  }
314
319
 
315
- `,ms=Rt`
320
+ `,xs=It`
316
321
  .ft-typography--body1 {
317
- font-family: ${Kn};
318
- font-size: ${Zn};
319
- font-weight: ${_n};
320
- letter-spacing: ${Hn};
321
- line-height: ${Gn};
322
- text-transform: ${Vn};
323
- }
324
- `,xs=Rt`
322
+ font-family: ${Zn};
323
+ font-size: ${_n};
324
+ font-weight: ${Hn};
325
+ letter-spacing: ${Gn};
326
+ line-height: ${Vn};
327
+ text-transform: ${qn};
328
+ }
329
+ `,Os=It`
325
330
  .ft-typography--body2 {
326
- font-family: ${qn.fontFamily};
327
- font-size: ${qn.fontSize};
328
- font-weight: ${qn.fontWeight};
329
- letter-spacing: ${qn.letterSpacing};
330
- line-height: ${qn.lineHeight};
331
- text-transform: ${qn.textTransform};
332
- }
333
- `,Os=Rt`
331
+ font-family: ${Yn.fontFamily};
332
+ font-size: ${Yn.fontSize};
333
+ font-weight: ${Yn.fontWeight};
334
+ letter-spacing: ${Yn.letterSpacing};
335
+ line-height: ${Yn.lineHeight};
336
+ text-transform: ${Yn.textTransform};
337
+ }
338
+ `,ws=It`
334
339
  .ft-typography--caption {
335
- font-family: ${Yn};
336
- font-size: ${Xn};
337
- font-weight: ${Jn};
338
- letter-spacing: ${Qn};
339
- line-height: ${ts};
340
- text-transform: ${es};
341
- }
342
- `,ws=Rt`
340
+ font-family: ${Xn};
341
+ font-size: ${Jn};
342
+ font-weight: ${Qn};
343
+ letter-spacing: ${ts};
344
+ line-height: ${es};
345
+ text-transform: ${os};
346
+ }
347
+ `,Ss=It`
343
348
  .ft-typography--breadcrumb {
344
- font-family: ${os};
345
- font-size: ${is};
346
- font-weight: ${rs};
347
- letter-spacing: ${ns};
348
- line-height: ${ss};
349
- text-transform: ${as};
350
- }
351
- `,Ss=Rt`
349
+ font-family: ${is};
350
+ font-size: ${rs};
351
+ font-weight: ${ns};
352
+ letter-spacing: ${ss};
353
+ line-height: ${as};
354
+ text-transform: ${ls};
355
+ }
356
+ `,Ns=It`
352
357
  .ft-typography--overline {
353
- font-family: ${ls};
354
- font-size: ${cs};
355
- font-weight: ${hs};
356
- letter-spacing: ${fs};
357
- line-height: ${ps};
358
- text-transform: ${us};
359
- }
360
- `,Ns=Rt`
358
+ font-family: ${cs};
359
+ font-size: ${hs};
360
+ font-weight: ${fs};
361
+ letter-spacing: ${ps};
362
+ line-height: ${us};
363
+ text-transform: ${ds};
364
+ }
365
+ `,$s=It`
361
366
  .ft-typography--button {
362
- font-family: ${ds.fontFamily};
363
- font-size: ${ds.fontSize};
364
- font-weight: ${ds.fontWeight};
365
- letter-spacing: ${ds.letterSpacing};
366
- line-height: ${ds.lineHeight};
367
- text-transform: ${ds.textTransform};
368
- }
369
- `,$s=Rt`
367
+ font-family: ${ys.fontFamily};
368
+ font-size: ${ys.fontSize};
369
+ font-weight: ${ys.fontWeight};
370
+ letter-spacing: ${ys.letterSpacing};
371
+ line-height: ${ys.lineHeight};
372
+ text-transform: ${ys.textTransform};
373
+ }
374
+ `,Cs=It`
370
375
  .ft-typography {
371
376
  vertical-align: inherit;
372
377
  }
373
- `,Cs=[Object.keys(Le).map((t=>function(t){const e=Le[t];return Rt`
374
- .ft-typography--${kt(t)} {
378
+ `,Es=[Object.keys(Ae).map((t=>function(t){const e=Ae[t];return It`
379
+ .ft-typography--${Rt(t)} {
375
380
  font-family: ${e.fontFamily};
376
381
  font-size: ${e.fontSize};
377
382
  font-weight: ${e.fontWeight};
@@ -379,20 +384,20 @@ const hn=Symbol.for(""),fn=t=>{if(t?.r===hn)return t?._$litStatic$},pn=t=>({_$li
379
384
  line-height: ${e.lineHeight};
380
385
  text-transform: ${e.textCase};
381
386
  }
382
- `}(t)))];var Es=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ks extends Ze{constructor(){super(...arguments),this.variant=yn.body1}render(){return this.element?dn`
383
- <${pn(this.element)}
387
+ `}(t)))];var ks=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Rs extends _e{constructor(){super(...arguments),this.variant=gn.body1}render(){return this.element?yn`
388
+ <${un(this.element)}
384
389
  class="ft-typography ft-typography--${this.variant}">
385
390
  <slot></slot>
386
- </${pn(this.element)}>
387
- `:dn`
391
+ </${un(this.element)}>
392
+ `:yn`
388
393
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
389
- `}}ks.styles=[ys,gs,bs,vs,ms,xs,Os,ws,Ss,Ns,$s,...Cs],Es([k()],ks.prototype,"element",void 0),Es([k()],ks.prototype,"variant",void 0),z("ft-typography")(ks);
394
+ `}}Rs.styles=[gs,bs,vs,ms,xs,Os,ws,Ss,Ns,$s,Cs,...Es],ks([k()],Rs.prototype,"element",void 0),ks([k()],Rs.prototype,"variant",void 0),D("ft-typography")(Rs);
390
395
  /**
391
396
  * @license
392
397
  * Copyright 2017 Google LLC
393
398
  * SPDX-License-Identifier: BSD-3-Clause
394
399
  */
395
- class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===at||null==t)return this.vt=void 0,this.et=t;if(t===st)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:[]}}}Rs.directiveName="unsafeHTML",Rs.resultType=1;const Is=er(Rs);var Us,Ls;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Us||(Us={})),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;"}(Ls||(Ls={})),new Map([...["abw"].map((t=>[t,Ls.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,Ls.AUDIO])),...["avi"].map((t=>[t,Ls.AVI])),...["chm","xhs"].map((t=>[t,Ls.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,Ls.CODE])),...["csv"].map((t=>[t,Ls.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ls.DITA])),...["epub"].map((t=>[t,Ls.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ls.EXCEL])),...["flac"].map((t=>[t,Ls.FLAC])),...["gif"].map((t=>[t,Ls.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ls.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ls.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ls.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ls.JPEG])),...["json"].map((t=>[t,Ls.JSON])),...["m4a","m4p"].map((t=>[t,Ls.M4A])),...["mov","qt"].map((t=>[t,Ls.MOV])),...["mp3"].map((t=>[t,Ls.MP3])),...["mp4","m4v"].map((t=>[t,Ls.MP4])),...["ogg","oga"].map((t=>[t,Ls.OGG])),...["pdf","ps"].map((t=>[t,Ls.PDF])),...["png"].map((t=>[t,Ls.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ls.POWERPOINT])),...["rar"].map((t=>[t,Ls.RAR])),...["stp"].map((t=>[t,Ls.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ls.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,Ls.VIDEO])),...["wav"].map((t=>[t,Ls.WAV])),...["wma"].map((t=>[t,Ls.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ls.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ls.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ls.YAML])),...["zip"].map((t=>[t,Ls.ZIP]))]);const As={size:Re.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.extend("--ft-icon-fluid-topics-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.extend("--ft-icon-file-format-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.extend("--ft-icon-material-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ws=Rt`
400
+ class Is extends ir{constructor(t){if(super(t),this.et=lt,t.type!==er)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===lt||null==t)return this.vt=void 0,this.et=t;if(t===at)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:[]}}}Is.directiveName="unsafeHTML",Is.resultType=1;const Us=or(Is);var Ls,As;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Ls||(Ls={})),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;"}(As||(As={})),new Map([...["abw"].map((t=>[t,As.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,As.AUDIO])),...["avi"].map((t=>[t,As.AVI])),...["chm","xhs"].map((t=>[t,As.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,As.CODE])),...["csv"].map((t=>[t,As.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,As.DITA])),...["epub"].map((t=>[t,As.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,As.EXCEL])),...["flac"].map((t=>[t,As.FLAC])),...["gif"].map((t=>[t,As.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,As.GZIP])),...["html","htm","xhtml"].map((t=>[t,As.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,As.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,As.JPEG])),...["json"].map((t=>[t,As.JSON])),...["m4a","m4p"].map((t=>[t,As.M4A])),...["mov","qt"].map((t=>[t,As.MOV])),...["mp3"].map((t=>[t,As.MP3])),...["mp4","m4v"].map((t=>[t,As.MP4])),...["ogg","oga"].map((t=>[t,As.OGG])),...["pdf","ps"].map((t=>[t,As.PDF])),...["png"].map((t=>[t,As.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,As.POWERPOINT])),...["rar"].map((t=>[t,As.RAR])),...["stp"].map((t=>[t,As.STP])),...["txt","rtf","md","mdown"].map((t=>[t,As.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,As.VIDEO])),...["wav"].map((t=>[t,As.WAV])),...["wma"].map((t=>[t,As.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,As.WORD])),...["xml","xsl","rdf"].map((t=>[t,As.XML])),...["yaml","yml","x-yaml"].map((t=>[t,As.YAML])),...["zip"].map((t=>[t,As.ZIP]))]);const Ws={size:Ie.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.extend("--ft-icon-fluid-topics-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.extend("--ft-icon-file-format-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.extend("--ft-icon-material-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.create("--ft-icon-vertical-align","","UNKNOWN","unset")},js=It`
396
401
  :host, i.ft-icon {
397
402
  display: inline-flex;
398
403
  align-items: center;
@@ -401,14 +406,14 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
401
406
  }
402
407
 
403
408
  :host {
404
- width: ${As.size};
405
- height: ${As.size};
409
+ width: ${Ws.size};
410
+ height: ${Ws.size};
406
411
  }
407
412
 
408
413
  i.ft-icon {
409
414
  width: 100%;
410
415
  height: 100%;
411
- font-size: ${As.size};
416
+ font-size: ${Ws.size};
412
417
  line-height: 1;
413
418
  font-weight: normal;
414
419
  text-transform: none;
@@ -419,33 +424,33 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
419
424
  text-rendering: auto;
420
425
  -webkit-font-smoothing: antialiased;
421
426
  -moz-osx-font-smoothing: grayscale;
422
- vertical-align: ${As.verticalAlign};
427
+ vertical-align: ${Ws.verticalAlign};
423
428
  }
424
429
 
425
430
  i.ft-icon.ft-icon--fluid-topics {
426
- font-family: ${As.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
431
+ font-family: ${Ws.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
427
432
 
428
433
  /* Ugly fix because font is broken */
429
- font-size: calc(0.75 * ${As.size});
430
- line-height: ${As.size};
434
+ font-size: calc(0.75 * ${Ws.size});
435
+ line-height: ${Ws.size};
431
436
  position: relative;
432
437
  top: -4%;
433
438
  justify-content: center;
434
439
  }
435
440
 
436
441
  .ft-icon--file-format {
437
- font-family: ${As.fileFormatFontFamily}, ft-mime, sans-serif;
442
+ font-family: ${Ws.fileFormatFontFamily}, ft-mime, sans-serif;
438
443
  }
439
444
 
440
445
  .ft-icon--material {
441
- font-family: ${As.materialFontFamily}, "Material Icons", sans-serif;
446
+ font-family: ${Ws.materialFontFamily}, "Material Icons", sans-serif;
442
447
  }
443
- `;var js;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(js||(js={}));var Fs=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class zs extends Ze{constructor(){super(...arguments),this.resolvedIcon=ue}render(){const t=this.variant&&Object.values(js).includes(this.variant)?this.variant:js.fluid_topics,e=t!==js.material||!!this.value;return fe`
448
+ `;var Fs;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fs||(Fs={}));var zs=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Ds extends _e{constructor(){super(...arguments),this.resolvedIcon=de}render(){const t=this.variant&&Object.values(Fs).includes(this.variant)?this.variant:Fs.fluid_topics,e=t!==Fs.material||!!this.value;return pe`
444
449
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
445
- ${Is(this.resolvedIcon)}
450
+ ${Us(this.resolvedIcon)}
446
451
  <slot ?hidden=${e}></slot>
447
452
  </i>
448
- `}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 js.file_format:this.resolvedIcon=null!==(t=Ls[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case js.material:this.resolvedIcon=this.value||ue;break;default:this.resolvedIcon=null!==(e=Us[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zs.elementDefinitions={},zs.styles=Ws,Fs([k()],zs.prototype,"variant",void 0),Fs([k()],zs.prototype,"value",void 0),Fs([R()],zs.prototype,"resolvedIcon",void 0),Fs([U("slot")],zs.prototype,"slottedContent",void 0),z("ft-icon")(zs);const Ds={color:Re.extend("--ft-loader-color","",je.colorPrimary),size:Re.create("--ft-loader-size","","SIZE","80px")},Bs=Rt`
453
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Fs.file_format:this.resolvedIcon=null!==(t=As[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Fs.material:this.resolvedIcon=this.value||de;break;default:this.resolvedIcon=null!==(e=Ls[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ds.elementDefinitions={},Ds.styles=js,zs([k()],Ds.prototype,"variant",void 0),zs([k()],Ds.prototype,"value",void 0),zs([R()],Ds.prototype,"resolvedIcon",void 0),zs([L("slot")],Ds.prototype,"slottedContent",void 0),D("ft-icon")(Ds);const Bs={color:Ie.extend("--ft-loader-color","",Fe.colorPrimary),size:Ie.create("--ft-loader-size","","SIZE","80px")},Ps=It`
449
454
  :host {
450
455
  line-height: 0;
451
456
  }
@@ -454,8 +459,8 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
454
459
  display: inline-block;
455
460
  position: relative;
456
461
 
457
- width: ${Ds.size};
458
- height: ${Ds.size};
462
+ width: ${Bs.size};
463
+ height: ${Bs.size};
459
464
  }
460
465
 
461
466
  .ft-loader div {
@@ -464,7 +469,7 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
464
469
  width: 25%;
465
470
  height: 25%;
466
471
  border-radius: 50%;
467
- background: ${Ds.color};
472
+ background: ${Bs.color};
468
473
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
469
474
  }
470
475
 
@@ -511,10 +516,10 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
511
516
  transform: translate(0, 0);
512
517
  }
513
518
  100% {
514
- transform: translate(calc(0.35 * ${Ds.size}), 0);
519
+ transform: translate(calc(0.35 * ${Bs.size}), 0);
515
520
  }
516
521
  }
517
- `,Ps=Re.extend("--ft-button-color","",je.colorPrimary),Ms={backgroundColor:Re.extend("--ft-button-background-color","",je.colorSurface),borderRadius:Re.extend("--ft-button-border-radius","",je.borderRadiusL),color:Ps,fontSize:Re.extend("--ft-button-font-size","",ds.fontSize),iconSize:Re.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Re.extend("--ft-button-ripple-color","",Ps),verticalPadding:Re.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Re.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Re.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Re.external(je.colorOpacityDisabled,"Design system")},Ts=Re.extend("--ft-button-primary-color","",Re.extend("--ft-button-color","",je.colorOnPrimary)),Ks={backgroundColor:Re.extend("--ft-button-primary-background-color","",Re.extend("--ft-button-background-color","",je.colorPrimary)),color:Ts,rippleColor:Re.extend("--ft-button-primary-ripple-color","",Ts)},Zs=Re.extend("--ft-button-dense-border-radius","",Re.extend("--ft-button-border-radius","",je.borderRadiusM)),_s=Re.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Hs=Re.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Gs=Re.create("--ft-button-dense-icon-padding","","SIZE","4px"),Vs=[Rt`
522
+ `,Ts=Ie.extend("--ft-button-color","",Fe.colorPrimary),Ms={backgroundColor:Ie.extend("--ft-button-background-color","",Fe.colorSurface),borderRadius:Ie.extend("--ft-button-border-radius","",Fe.borderRadiusL),color:Ts,fontSize:Ie.extend("--ft-button-font-size","",ys.fontSize),iconSize:Ie.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ie.extend("--ft-button-ripple-color","",Ts),verticalPadding:Ie.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ie.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ie.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ie.external(Fe.colorOpacityDisabled,"Design system")},Ks=Ie.extend("--ft-button-primary-color","",Ie.extend("--ft-button-color","",Fe.colorOnPrimary)),Zs={backgroundColor:Ie.extend("--ft-button-primary-background-color","",Ie.extend("--ft-button-background-color","",Fe.colorPrimary)),color:Ks,rippleColor:Ie.extend("--ft-button-primary-ripple-color","",Ks)},_s=Ie.extend("--ft-button-dense-border-radius","",Ie.extend("--ft-button-border-radius","",Fe.borderRadiusM)),Hs=Ie.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Gs=Ie.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vs=Ie.create("--ft-button-dense-icon-padding","","SIZE","4px"),qs=[It`
518
523
  :host {
519
524
  display: inline-block;
520
525
  max-width: 100%;
@@ -556,8 +561,8 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
556
561
 
557
562
  --ft-button-internal-line-height: max(calc(${Ms.fontSize} + 2px), ${Ms.iconSize});
558
563
  --ft-button-internal-color: ${Ms.color};
559
- ${Ie(As.size,Ms.iconSize)};
560
- ${Ie(Qr.color,Ms.rippleColor)};
564
+ ${Ue(Ws.size,Ms.iconSize)};
565
+ ${Ue(tn.color,Ms.rippleColor)};
561
566
 
562
567
  border-radius: ${Ms.borderRadius};
563
568
  padding: ${Ms.verticalPadding} ${Ms.horizontalPadding};
@@ -572,13 +577,13 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
572
577
  }
573
578
 
574
579
  .ft-button.ft-button--dense {
575
- padding: ${_s} ${Hs};
576
- border-radius: ${Zs};
577
- gap: ${Gs};
580
+ padding: ${Hs} ${Gs};
581
+ border-radius: ${_s};
582
+ gap: ${Vs};
578
583
  }
579
584
 
580
585
  .ft-button.ft-button--dense.ft-button--outlined {
581
- padding: calc(${_s} - 1px) calc(${Hs} - 1px);
586
+ padding: calc(${Hs} - 1px) calc(${Gs} - 1px);
582
587
  }
583
588
 
584
589
  .ft-button:not([disabled]):hover {
@@ -590,7 +595,7 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
590
595
  }
591
596
 
592
597
  .ft-button--round.ft-button--dense {
593
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_s});
598
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Hs});
594
599
  }
595
600
 
596
601
  .ft-button[disabled] {
@@ -599,9 +604,9 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
599
604
  }
600
605
 
601
606
  .ft-button.ft-button--primary {
602
- background-color: ${Ks.backgroundColor};
603
- --ft-button-internal-color: ${Ks.color};
604
- ${Ie(Qr.color,Ks.rippleColor)};
607
+ background-color: ${Zs.backgroundColor};
608
+ --ft-button-internal-color: ${Zs.color};
609
+ ${Ue(tn.color,Zs.rippleColor)};
605
610
  }
606
611
 
607
612
  .ft-button:focus {
@@ -615,12 +620,12 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
615
620
  text-overflow: ellipsis;
616
621
  display: block;
617
622
  margin: 0 ${Ms.iconPadding};
618
- ${Ie(ds.fontSize,"1em")};
619
- ${Ie(ds.lineHeight,"var(--ft-button-internal-line-height)")};
623
+ ${Ue(ys.fontSize,"1em")};
624
+ ${Ue(ys.lineHeight,"var(--ft-button-internal-line-height)")};
620
625
  }
621
626
 
622
627
  .ft-button--dense .ft-button--label {
623
- margin: 0 ${Gs};
628
+ margin: 0 ${Vs};
624
629
  }
625
630
 
626
631
  .ft-button--label[hidden] {
@@ -638,8 +643,8 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
638
643
  }
639
644
 
640
645
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
641
- margin: 0 calc(${Hs} * -1);
642
- padding: 0 ${_s};
646
+ margin: 0 calc(${Gs} * -1);
647
+ padding: 0 ${Hs};
643
648
  }
644
649
 
645
650
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -648,10 +653,10 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
648
653
  }
649
654
 
650
655
  ft-loader {
651
- ${Ie(Ds.size,Ms.iconSize)};
652
- ${Ie(Ds.color,"var(--ft-button-internal-color)")};
656
+ ${Ue(Bs.size,Ms.iconSize)};
657
+ ${Ue(Bs.color,"var(--ft-button-internal-color)")};
653
658
  }
654
- `,He],qs=Re.create("--ft-tooltip-distance","","SIZE","4px"),Ys=Re.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Xs=Re.create("--ft-tooltip-background-color","","COLOR","#666666"),Js=Re.create("--ft-tooltip-z-index","","NUMBER","100"),Qs=Re.external(je.borderRadiusS,"Design system"),ta=Re.create("--ft-tooltip-max-width","","SIZE","150px"),ea=Rt`
659
+ `,Ge],Ys=Ie.create("--ft-tooltip-distance","","SIZE","4px"),Xs=Ie.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Js=Ie.create("--ft-tooltip-background-color","","COLOR","#666666"),Qs=Ie.create("--ft-tooltip-z-index","","NUMBER","100"),ta=Ie.external(Fe.borderRadiusS,"Design system"),ea=Ie.create("--ft-tooltip-max-width","","SIZE","150px"),oa=It`
655
660
  .ft-tooltip--container {
656
661
  display: block;
657
662
  }
@@ -666,21 +671,21 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
666
671
  box-sizing: border-box;
667
672
  overflow: hidden;
668
673
  width: max-content;
669
- max-width: ${ta};
674
+ max-width: ${ea};
670
675
  text-align: center;
671
- padding: ${qs};
672
- z-index: ${Js};
676
+ padding: ${Ys};
677
+ z-index: ${Qs};
673
678
  }
674
679
 
675
680
  .ft-tooltip--content {
676
681
  padding: 4px 8px;
677
- border-radius: ${Qs};
678
- background-color: ${Xs};
679
- color: ${Ys};
682
+ border-radius: ${ta};
683
+ background-color: ${Js};
684
+ color: ${Xs};
680
685
  position: relative;
681
686
  word-break: break-word;
682
687
  }
683
- `,oa=["start","end"],ia=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+oa[0],e+"-"+oa[1])),[]),ra=Math.min,na=Math.max,sa=Math.round,aa=t=>({x:t,y:t}),la={left:"right",right:"left",bottom:"top",top:"bottom"},ca={start:"end",end:"start"};function ha(t,e,o){return na(t,ra(e,o))}function fa(t,e){return"function"==typeof t?t(e):t}function pa(t){return t.split("-")[0]}function ua(t){return t.split("-")[1]}function da(t){return"x"===t?"y":"x"}function ya(t){return"y"===t?"height":"width"}function ga(t){return["top","bottom"].includes(pa(t))?"y":"x"}function ba(t){return da(ga(t))}function va(t){return t.replace(/left|right|bottom|top/g,(t=>la[t]))}function ma(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xa(t,e,o){let{reference:i,floating:r}=t;const n=ga(e),s=ba(e),a=ya(s),l=pa(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[a]/2-r[a]/2;let u;switch(l){case"top":u={x:h,y:i.y-r.height};break;case"bottom":u={x:h,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:f};break;case"left":u={x:i.x-r.width,y:f};break;default:u={x:i.x,y:i.y}}switch(ua(e)){case"start":u[s]-=p*(o&&c?-1:1);break;case"end":u[s]+=p*(o&&c?-1:1)}return u}async function Oa(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:u=0}=fa(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=a[p?"floating"===f?"reference":"floating":f],g=ma(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...s.floating,x:i,y:r}:s.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=ma(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 wa(t,e,o){return(t?[...o.filter((e=>ua(e)===t)),...o.filter((e=>ua(e)!==t))]:o.filter((t=>pa(t)===t))).filter((o=>!t||(ua(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ca[t]))}(o)!==o)))}const Sa=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=ia,autoAlignment:u=!0,...d}=fa(t,e),y=void 0!==f||p===ia?wa(f||null,u,p):p,g=await Oa(e,d),b=(null==(o=s.autoPlacement)?void 0:o.index)||0,v=y[b];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=ua(t),r=ba(t),n=ya(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=va(s)),[s,va(s)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:y[0]}};const x=[g[pa(v)],g[m[0]],g[m[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=ua(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,ua(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==a?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Na(t){return Ea(t)?(t.nodeName||"").toLowerCase():"#document"}function $a(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ca(t){var e;return null==(e=(Ea(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ea(t){return t instanceof Node||t instanceof $a(t).Node}function ka(t){return t instanceof Element||t instanceof $a(t).Element}function Ra(t){return t instanceof HTMLElement||t instanceof $a(t).HTMLElement}function Ia(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof $a(t).ShadowRoot)}function Ua(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Fa(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function La(t){return["table","td","th"].includes(Na(t))}function Aa(t){const e=Wa(),o=Fa(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 Wa(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ja(t){return["html","body","#document"].includes(Na(t))}function Fa(t){return $a(t).getComputedStyle(t)}function za(t){return ka(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Da(t){if("html"===Na(t))return t;const e=t.assignedSlot||t.parentNode||Ia(t)&&t.host||Ca(t);return Ia(e)?e.host:e}function Ba(t){const e=Da(t);return ja(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ra(e)&&Ua(e)?e:Ba(e)}function Pa(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ba(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=$a(r);return n?e.concat(s,s.visualViewport||[],Ua(r)?r:[],s.frameElement&&o?Pa(s.frameElement):[]):e.concat(r,Pa(r,[],o))}function Ma(t){const e=Fa(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ra(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=sa(o)!==n||sa(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function Ta(t){return ka(t)?t:t.contextElement}function Ka(t){const e=Ta(t);if(!Ra(e))return aa(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ma(e);let s=(n?sa(o.width):o.width)/i,a=(n?sa(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const Za=aa(0);function _a(t){const e=$a(t);return Wa()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Za}function Ha(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Ta(t);let s=aa(1);e&&(i?ka(i)&&(s=Ka(i)):s=Ka(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==$a(t))&&e}(n,o,i)?_a(n):aa(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,h=r.width/s.x,f=r.height/s.y;if(n){const t=$a(n),e=i&&ka(i)?$a(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ka(o),e=o.getBoundingClientRect(),i=Fa(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=$a(o).frameElement}}return ma({width:h,height:f,x:l,y:c})}function Ga(t){return Ha(Ca(t)).left+za(t).scrollLeft}function Va(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=$a(t),i=Ca(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=Wa();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}(t,o);else if("document"===e)i=function(t){const e=Ca(t),o=za(t),i=t.ownerDocument.body,r=na(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=na(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Ga(t);const a=-o.scrollTop;return"rtl"===Fa(i).direction&&(s+=na(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}(Ca(t));else if(ka(e))i=function(t,e){const o=Ha(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ra(t)?Ka(t):aa(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=_a(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ma(i)}function qa(t,e){const o=Da(t);return!(o===e||!ka(o)||ja(o))&&("fixed"===Fa(o).position||qa(o,e))}function Ya(t,e,o){const i=Ra(e),r=Ca(e),n="fixed"===o,s=Ha(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=aa(0);if(i||!i&&!n)if(("body"!==Na(e)||Ua(r))&&(a=za(e)),i){const t=Ha(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ga(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Xa(t,e){return Ra(t)&&"fixed"!==Fa(t).position?e?e(t):t.offsetParent:null}function Ja(t,e){const o=$a(t);if(!Ra(t))return o;let i=Xa(t,e);for(;i&&La(i)&&"static"===Fa(i).position;)i=Xa(i,e);return i&&("html"===Na(i)||"body"===Na(i)&&"static"===Fa(i).position&&!Aa(i))?o:i||function(t){let e=Da(t);for(;Ra(e)&&!ja(e);){if(Aa(e))return e;e=Da(e)}return null}(t)||o}const Qa={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ra(o),n=Ca(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=aa(1);const l=aa(0);if((r||!r&&"fixed"!==i)&&(("body"!==Na(o)||Ua(n))&&(s=za(o)),Ra(o))){const t=Ha(o);a=Ka(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:Ca,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=Pa(t,[],!1).filter((t=>ka(t)&&"body"!==Na(t))),r=null;const n="fixed"===Fa(t).position;let s=n?Da(t):t;for(;ka(s)&&!ja(s);){const e=Fa(s),o=Aa(s);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Ua(s)&&!o&&qa(t,s))?i=i.filter((t=>t!==s)):r=e,s=Da(s)}return e.set(t,i),i}(e,this._c):[].concat(o),s=[...n,i],a=s[0],l=s.reduce(((t,o)=>{const i=Va(e,o,r);return t.top=na(i.top,t.top),t.right=ra(i.right,t.right),t.bottom=ra(i.bottom,t.bottom),t.left=na(i.left,t.left),t}),Va(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ja,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ja,n=this.getDimensions;return{reference:Ya(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 Ma(t)},getScale:Ka,isElement:ka,isRTL:function(t){return"rtl"===Fa(t).direction}},tl=(t,e,o)=>{const i=new Map,r={platform:Qa,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=xa(c,i,l),p=i,u={},d=0;for(let o=0;o<a.length;o++){const{name:n,fn:y}=a[o],{x:g,y:b,data:v,reset:m}=await y({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,f=null!=b?b:f,u={...u,[n]:{...u[n],...v}},m&&d<=50&&(d++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:h,y:f}=xa(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};var el=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ol extends Ze{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 A,this.revealDebouncer=new A}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return fe`
688
+ `,ia=["start","end"],ra=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ia[0],e+"-"+ia[1])),[]),na=Math.min,sa=Math.max,aa=Math.round,la=t=>({x:t,y:t}),ca={left:"right",right:"left",bottom:"top",top:"bottom"},ha={start:"end",end:"start"};function fa(t,e,o){return sa(t,na(e,o))}function pa(t,e){return"function"==typeof t?t(e):t}function ua(t){return t.split("-")[0]}function da(t){return t.split("-")[1]}function ya(t){return"x"===t?"y":"x"}function ga(t){return"y"===t?"height":"width"}function ba(t){return["top","bottom"].includes(ua(t))?"y":"x"}function va(t){return ya(ba(t))}function ma(t){return t.replace(/left|right|bottom|top/g,(t=>ca[t]))}function xa(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Oa(t,e,o){let{reference:i,floating:r}=t;const n=ba(e),s=va(e),a=ga(s),l=ua(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[a]/2-r[a]/2;let u;switch(l){case"top":u={x:h,y:i.y-r.height};break;case"bottom":u={x:h,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:f};break;case"left":u={x:i.x-r.width,y:f};break;default:u={x:i.x,y:i.y}}switch(da(e)){case"start":u[s]-=p*(o&&c?-1:1);break;case"end":u[s]+=p*(o&&c?-1:1)}return u}async function wa(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:u=0}=pa(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=a[p?"floating"===f?"reference":"floating":f],g=xa(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(a.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...s.floating,x:i,y:r}:s.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(a.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=xa(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 Sa(t,e,o){return(t?[...o.filter((e=>da(e)===t)),...o.filter((e=>da(e)!==t))]:o.filter((t=>ua(t)===t))).filter((o=>!t||(da(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ha[t]))}(o)!==o)))}const Na=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=ra,autoAlignment:u=!0,...d}=pa(t,e),y=void 0!==f||p===ra?Sa(f||null,u,p):p,g=await wa(e,d),b=(null==(o=s.autoPlacement)?void 0:o.index)||0,v=y[b];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=da(t),r=va(t),n=ga(r);let s="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(s=ma(s)),[s,ma(s)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(a!==v)return{reset:{placement:y[0]}};const x=[g[ua(v)],g[m[0]],g[m[1]]],O=[...(null==(i=s.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=da(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,da(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==a?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function $a(t){return ka(t)?(t.nodeName||"").toLowerCase():"#document"}function Ca(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ea(t){var e;return null==(e=(ka(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ka(t){return t instanceof Node||t instanceof Ca(t).Node}function Ra(t){return t instanceof Element||t instanceof Ca(t).Element}function Ia(t){return t instanceof HTMLElement||t instanceof Ca(t).HTMLElement}function Ua(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ca(t).ShadowRoot)}function La(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=za(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Aa(t){return["table","td","th"].includes($a(t))}function Wa(t){const e=ja(),o=za(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 ja(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Fa(t){return["html","body","#document"].includes($a(t))}function za(t){return Ca(t).getComputedStyle(t)}function Da(t){return Ra(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ba(t){if("html"===$a(t))return t;const e=t.assignedSlot||t.parentNode||Ua(t)&&t.host||Ea(t);return Ua(e)?e.host:e}function Pa(t){const e=Ba(t);return Fa(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ia(e)&&La(e)?e:Pa(e)}function Ta(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Pa(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),s=Ca(r);return n?e.concat(s,s.visualViewport||[],La(r)?r:[],s.frameElement&&o?Ta(s.frameElement):[]):e.concat(r,Ta(r,[],o))}function Ma(t){const e=za(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ia(t),n=r?t.offsetWidth:o,s=r?t.offsetHeight:i,a=aa(o)!==n||aa(i)!==s;return a&&(o=n,i=s),{width:o,height:i,$:a}}function Ka(t){return Ra(t)?t:t.contextElement}function Za(t){const e=Ka(t);if(!Ia(e))return la(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ma(e);let s=(n?aa(o.width):o.width)/i,a=(n?aa(o.height):o.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const _a=la(0);function Ha(t){const e=Ca(t);return ja()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:_a}function Ga(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Ka(t);let s=la(1);e&&(i?Ra(i)&&(s=Za(i)):s=Za(t));const a=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Ca(t))&&e}(n,o,i)?Ha(n):la(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,h=r.width/s.x,f=r.height/s.y;if(n){const t=Ca(n),e=i&&Ra(i)?Ca(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Za(o),e=o.getBoundingClientRect(),i=za(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=Ca(o).frameElement}}return xa({width:h,height:f,x:l,y:c})}function Va(t){return Ga(Ea(t)).left+Da(t).scrollLeft}function qa(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Ca(t),i=Ea(t),r=o.visualViewport;let n=i.clientWidth,s=i.clientHeight,a=0,l=0;if(r){n=r.width,s=r.height;const t=ja();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:n,height:s,x:a,y:l}}(t,o);else if("document"===e)i=function(t){const e=Ea(t),o=Da(t),i=t.ownerDocument.body,r=sa(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=sa(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-o.scrollLeft+Va(t);const a=-o.scrollTop;return"rtl"===za(i).direction&&(s+=sa(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:s,y:a}}(Ea(t));else if(Ra(e))i=function(t,e){const o=Ga(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ia(t)?Za(t):la(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=Ha(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return xa(i)}function Ya(t,e){const o=Ba(t);return!(o===e||!Ra(o)||Fa(o))&&("fixed"===za(o).position||Ya(o,e))}function Xa(t,e,o){const i=Ia(e),r=Ea(e),n="fixed"===o,s=Ga(t,!0,n,e);let a={scrollLeft:0,scrollTop:0};const l=la(0);if(i||!i&&!n)if(("body"!==$a(e)||La(r))&&(a=Da(e)),i){const t=Ga(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Va(r));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Ja(t,e){return Ia(t)&&"fixed"!==za(t).position?e?e(t):t.offsetParent:null}function Qa(t,e){const o=Ca(t);if(!Ia(t))return o;let i=Ja(t,e);for(;i&&Aa(i)&&"static"===za(i).position;)i=Ja(i,e);return i&&("html"===$a(i)||"body"===$a(i)&&"static"===za(i).position&&!Wa(i))?o:i||function(t){let e=Ba(t);for(;Ia(e)&&!Fa(e);){if(Wa(e))return e;e=Ba(e)}return null}(t)||o}const tl={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ia(o),n=Ea(o);if(o===n)return e;let s={scrollLeft:0,scrollTop:0},a=la(1);const l=la(0);if((r||!r&&"fixed"!==i)&&(("body"!==$a(o)||La(n))&&(s=Da(o)),Ia(o))){const t=Ga(o);a=Za(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},getDocumentElement:Ea,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=Ta(t,[],!1).filter((t=>Ra(t)&&"body"!==$a(t))),r=null;const n="fixed"===za(t).position;let s=n?Ba(t):t;for(;Ra(s)&&!Fa(s);){const e=za(s),o=Wa(s);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||La(s)&&!o&&Ya(t,s))?i=i.filter((t=>t!==s)):r=e,s=Ba(s)}return e.set(t,i),i}(e,this._c):[].concat(o),s=[...n,i],a=s[0],l=s.reduce(((t,o)=>{const i=qa(e,o,r);return t.top=sa(i.top,t.top),t.right=na(i.right,t.right),t.bottom=na(i.bottom,t.bottom),t.left=sa(i.left,t.left),t}),qa(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Qa,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Qa,n=this.getDimensions;return{reference:Xa(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 Ma(t)},getScale:Za,isElement:Ra,isRTL:function(t){return"rtl"===za(t).direction}},el=(t,e,o)=>{const i=new Map,r={platform:tl,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:s}=o,a=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=Oa(c,i,l),p=i,u={},d=0;for(let o=0;o<a.length;o++){const{name:n,fn:y}=a[o],{x:g,y:b,data:v,reset:m}=await y({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:s,elements:{reference:t,floating:e}});h=null!=g?g:h,f=null!=b?b:f,u={...u,[n]:{...u[n],...v}},m&&d<=50&&(d++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await s.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:h,y:f}=Oa(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};var ol=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class il extends _e{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 W,this.revealDebouncer=new W}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return pe`
684
689
  <div part="container"
685
690
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
686
691
  @mouseenter=${this.onHover}
@@ -698,43 +703,43 @@ class Rs extends or{constructor(t){if(super(t),this.et=at,t.type!==tr)throw Erro
698
703
  </div>
699
704
  </div>
700
705
  </div>
701
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",tl(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=fa(t,e),c={x:o,y:i},h=await Oa(e,l),f=ga(pa(r)),p=da(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=ha(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=ha(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Sa({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ol.elementDefinitions={"ft-typography":ks},ol.styles=ea,el([k()],ol.prototype,"text",void 0),el([k({type:Boolean})],ol.prototype,"manual",void 0),el([k({type:Boolean})],ol.prototype,"inline",void 0),el([k({type:Number})],ol.prototype,"delay",void 0),el([k()],ol.prototype,"position",void 0),el([
706
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",el(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=pa(t,e),c={x:o,y:i},h=await wa(e,l),f=ba(ua(r)),p=ya(f);let u=c[p],d=c[f];if(n){const t="y"===p?"bottom":"right";u=fa(u+h["y"===p?"top":"left"],u,u-h[t])}if(s){const t="y"===f?"bottom":"right";d=fa(d+h["y"===f?"top":"left"],d,d-h[t])}const y=a.fn({...e,[p]:u,[f]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}),Na({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}il.elementDefinitions={"ft-typography":Rs},il.styles=oa,ol([k()],il.prototype,"text",void 0),ol([k({type:Boolean})],il.prototype,"manual",void 0),ol([k({type:Boolean})],il.prototype,"inline",void 0),ol([k({type:Number})],il.prototype,"delay",void 0),ol([k()],il.prototype,"position",void 0),ol([
702
707
  /**
703
708
  * @license
704
709
  * Copyright 2017 Google LLC
705
710
  * SPDX-License-Identifier: BSD-3-Clause
706
711
  */
707
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],ol.prototype,"slotNodes",void 0),el([U(".ft-tooltip--container")],ol.prototype,"container",void 0),el([U(".ft-tooltip")],ol.prototype,"tooltip",void 0),el([U(".ft-tooltip--content")],ol.prototype,"tooltipContent",void 0),el([R()],ol.prototype,"visible",void 0),z("ft-tooltip")(ol);class il extends Ze{render(){return fe`
712
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return U(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],il.prototype,"slotNodes",void 0),ol([L(".ft-tooltip--container")],il.prototype,"container",void 0),ol([L(".ft-tooltip")],il.prototype,"tooltip",void 0),ol([L(".ft-tooltip--content")],il.prototype,"tooltipContent",void 0),ol([R()],il.prototype,"visible",void 0),ol([I({passive:!0})],il.prototype,"onTouch",null),ol([I({passive:!0})],il.prototype,"onHover",null),ol([I({passive:!0})],il.prototype,"onOut",null),D("ft-tooltip")(il);class rl extends _e{render(){return pe`
708
713
  <div class="ft-loader">
709
714
  <div></div>
710
715
  <div></div>
711
716
  <div></div>
712
717
  <div></div>
713
718
  </div>
714
- `}}il.styles=Bs,z("ft-loader")(il);var rl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class nl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Vi].form}constructor(...t){super(t),this[Vi]=this.attachInternals(),this[Vi].role=e}setFormValue(t){this[Vi].setFormValue(t)}}}(Ze,"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(fe`
719
+ `}}rl.styles=Ps,D("ft-loader")(rl);var nl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class sl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[qi].form}constructor(...t){super(t),this[qi]=this.attachInternals(),this[qi].role=e}setFormValue(t){this[qi].setFormValue(t)}}}(_e,"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(pe`
715
720
  <button part="button"
716
- class="${Xr(this.buttonClasses)}"
721
+ class="${Jr(this.buttonClasses)}"
717
722
  aria-label="${this.getLabel()}"
718
723
  ?disabled=${this.isDisabled()}>
719
724
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
720
725
  <ft-typography part="label"
721
726
  variant=${this.typographyVariant}
722
727
  element="span"
723
- class="ft-button--label ${Ji?"ft-safari-ellipsis-fix":""}"
728
+ class="ft-button--label ${Qi?"ft-safari-ellipsis-fix":""}"
724
729
  ?hidden=${!this.hasTextContent()}>
725
730
  <slot @slotchange=${this.onSlotchange}></slot>
726
731
  </ft-typography>
727
732
  ${this.resolveIcon()}
728
733
  </button>
729
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?fe`
734
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?pe`
730
735
  <ft-tooltip part="tooltip"
731
736
  text="${this.getLabel()}"
732
737
  position="${this.tooltipPosition}">
733
738
  ${t}
734
739
  </ft-tooltip>
735
- `:t}resolveIcon(){return this.loading?fe`
736
- <ft-loader part="loader icon"></ft-loader> `:this.icon?fe`
737
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ue}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}}nl.elementDefinitions={"ft-ripple":cn,"ft-tooltip":ol,"ft-typography":ks,"ft-icon":zs,"ft-loader":il},rl([k({type:String,reflect:!0})],nl.prototype,"role",void 0),rl([k()],nl.prototype,"type",void 0),rl([k({type:Boolean})],nl.prototype,"disabled",void 0),rl([k()],nl.prototype,"label",void 0),rl([k()],nl.prototype,"icon",void 0),rl([k()],nl.prototype,"iconVariant",void 0),rl([k({type:Boolean})],nl.prototype,"trailingIcon",void 0),rl([k({type:Boolean})],nl.prototype,"loading",void 0),rl([k()],nl.prototype,"tooltipPosition",void 0),rl([k({type:Boolean})],nl.prototype,"hideTooltip",void 0),rl([k({type:Boolean})],nl.prototype,"forceTooltip",void 0),rl([U(".ft-button")],nl.prototype,"button",void 0),rl([U(".ft-button--label slot")],nl.prototype,"slottedContent",void 0);var sl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class al extends nl{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"}}al.styles=[Ge,Vs],sl([k({type:Boolean})],al.prototype,"primary",void 0),sl([k({type:Boolean})],al.prototype,"outlined",void 0),sl([k({type:Boolean})],al.prototype,"dense",void 0),sl([k({type:Boolean})],al.prototype,"round",void 0);const ll=[Rt`
740
+ `:t}resolveIcon(){return this.loading?pe`
741
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?pe`
742
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:de}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}}sl.elementDefinitions={"ft-ripple":hn,"ft-tooltip":il,"ft-typography":Rs,"ft-icon":Ds,"ft-loader":rl},nl([k({type:String,reflect:!0})],sl.prototype,"role",void 0),nl([k()],sl.prototype,"type",void 0),nl([k({type:Boolean})],sl.prototype,"disabled",void 0),nl([k()],sl.prototype,"label",void 0),nl([k()],sl.prototype,"icon",void 0),nl([k()],sl.prototype,"iconVariant",void 0),nl([k({type:Boolean})],sl.prototype,"trailingIcon",void 0),nl([k({type:Boolean})],sl.prototype,"loading",void 0),nl([k()],sl.prototype,"tooltipPosition",void 0),nl([k({type:Boolean})],sl.prototype,"hideTooltip",void 0),nl([k({type:Boolean})],sl.prototype,"forceTooltip",void 0),nl([L(".ft-button")],sl.prototype,"button",void 0),nl([L(".ft-button--label slot")],sl.prototype,"slottedContent",void 0);var al=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ll extends sl{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"}}ll.styles=[Ve,qs],al([k({type:Boolean})],ll.prototype,"primary",void 0),al([k({type:Boolean})],ll.prototype,"outlined",void 0),al([k({type:Boolean})],ll.prototype,"dense",void 0),al([k({type:Boolean})],ll.prototype,"round",void 0);const cl=[It`
738
743
  :host {
739
744
  display: inline-block;
740
745
  max-width: 100%;
@@ -784,7 +789,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
784
789
  }
785
790
 
786
791
  .ft-button:focus-visible {
787
- outline-color: ${We.focusFocusRingColor};
792
+ outline-color: ${je.focusFocusRingColor};
788
793
  outline-style: solid;
789
794
  }
790
795
 
@@ -813,146 +818,146 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
813
818
  /** Primary styles **/
814
819
 
815
820
  .ft-button--primary {
816
- ${Ie(Ds.color,We.primaryIconColor)};
821
+ ${Ue(Bs.color,je.primaryIconColor)};
817
822
 
818
- ${Ie(Qr.color,We.primaryStateLayerColor)};
819
- ${Ie(Qr.opacityContentOnSurfaceHover,We.primaryStateLayerOpacityHover)};
820
- ${Ie(Qr.opacityContentOnSurfaceFocused,We.primaryStateLayerOpacityFocus)};
821
- ${Ie(Qr.opacityContentOnSurfaceSelected,We.primaryStateLayerOpacityActive)};
822
- ${Ie(Qr.opacityContentOnSurfacePressed,We.primaryStateLayerOpacityActive)};
823
+ ${Ue(tn.color,je.primaryStateLayerColor)};
824
+ ${Ue(tn.opacityContentOnSurfaceHover,je.primaryStateLayerOpacityHover)};
825
+ ${Ue(tn.opacityContentOnSurfaceFocused,je.primaryStateLayerOpacityFocus)};
826
+ ${Ue(tn.opacityContentOnSurfaceSelected,je.primaryStateLayerOpacityActive)};
827
+ ${Ue(tn.opacityContentOnSurfacePressed,je.primaryStateLayerOpacityActive)};
823
828
 
824
- background-color: ${We.primaryBackgroundColor};
825
- color: ${We.primaryColor};
829
+ background-color: ${je.primaryBackgroundColor};
830
+ color: ${je.primaryColor};
826
831
  border-style: none;
827
832
  }
828
833
 
829
834
  .ft-button--primary[disabled] {
830
- opacity: ${We.primaryComponentOpacityDisabled};
835
+ opacity: ${je.primaryComponentOpacityDisabled};
831
836
  }
832
837
 
833
838
  .ft-button--primary ft-icon {
834
- color: ${We.primaryIconColor};
839
+ color: ${je.primaryIconColor};
835
840
  }
836
841
 
837
842
  /** Secondary styles **/
838
843
 
839
844
  .ft-button--secondary {
840
- ${Ie(Ds.color,We.secondaryIconColor)};
845
+ ${Ue(Bs.color,je.secondaryIconColor)};
841
846
 
842
- ${Ie(Qr.color,We.secondaryStateLayerColor)};
843
- ${Ie(Qr.opacityContentOnSurfaceHover,We.secondaryStateLayerOpacityHover)};
844
- ${Ie(Qr.opacityContentOnSurfaceFocused,We.secondaryStateLayerOpacityFocus)};
845
- ${Ie(Qr.opacityContentOnSurfaceSelected,We.secondaryStateLayerOpacityActive)};
846
- ${Ie(Qr.opacityContentOnSurfacePressed,We.secondaryStateLayerOpacityActive)};
847
+ ${Ue(tn.color,je.secondaryStateLayerColor)};
848
+ ${Ue(tn.opacityContentOnSurfaceHover,je.secondaryStateLayerOpacityHover)};
849
+ ${Ue(tn.opacityContentOnSurfaceFocused,je.secondaryStateLayerOpacityFocus)};
850
+ ${Ue(tn.opacityContentOnSurfaceSelected,je.secondaryStateLayerOpacityActive)};
851
+ ${Ue(tn.opacityContentOnSurfacePressed,je.secondaryStateLayerOpacityActive)};
847
852
 
848
- background-color: ${We.secondaryBackgroundColor};
849
- color: ${We.secondaryColor};
850
- border-color: ${We.secondaryBorderColor};
853
+ background-color: ${je.secondaryBackgroundColor};
854
+ color: ${je.secondaryColor};
855
+ border-color: ${je.secondaryBorderColor};
851
856
  border-style: solid;
852
857
  }
853
858
 
854
859
  .ft-button--secondary[disabled] {
855
- opacity: ${We.secondaryComponentOpacityDisabled};
860
+ opacity: ${je.secondaryComponentOpacityDisabled};
856
861
  }
857
862
 
858
863
  .ft-button--secondary ft-icon {
859
- color: ${We.secondaryIconColor};
864
+ color: ${je.secondaryIconColor};
860
865
  }
861
866
 
862
867
  /** Tertiary styles **/
863
868
 
864
869
  .ft-button--tertiary {
865
- ${Ie(Ds.color,We.tertiaryIconColor)};
870
+ ${Ue(Bs.color,je.tertiaryIconColor)};
866
871
 
867
- ${Ie(Qr.color,We.tertiaryStateLayerColor)};
868
- ${Ie(Qr.opacityContentOnSurfaceHover,We.tertiaryStateLayerOpacityHover)};
869
- ${Ie(Qr.opacityContentOnSurfaceFocused,We.tertiaryStateLayerOpacityFocus)};
870
- ${Ie(Qr.opacityContentOnSurfaceSelected,We.tertiaryStateLayerOpacityActive)};
871
- ${Ie(Qr.opacityContentOnSurfacePressed,We.tertiaryStateLayerOpacityActive)};
872
+ ${Ue(tn.color,je.tertiaryStateLayerColor)};
873
+ ${Ue(tn.opacityContentOnSurfaceHover,je.tertiaryStateLayerOpacityHover)};
874
+ ${Ue(tn.opacityContentOnSurfaceFocused,je.tertiaryStateLayerOpacityFocus)};
875
+ ${Ue(tn.opacityContentOnSurfaceSelected,je.tertiaryStateLayerOpacityActive)};
876
+ ${Ue(tn.opacityContentOnSurfacePressed,je.tertiaryStateLayerOpacityActive)};
872
877
 
873
- background-color: ${We.tertiaryBackgroundColor};
874
- color: ${We.tertiaryColor};
878
+ background-color: ${je.tertiaryBackgroundColor};
879
+ color: ${je.tertiaryColor};
875
880
  border-style: none;
876
881
  }
877
882
 
878
883
  .ft-button--tertiary[disabled] {
879
- opacity: ${We.tertiaryComponentOpacityDisabled};
884
+ opacity: ${je.tertiaryComponentOpacityDisabled};
880
885
  }
881
886
 
882
887
  .ft-button--tertiary ft-icon {
883
- color: ${We.tertiaryIconColor};
888
+ color: ${je.tertiaryIconColor};
884
889
  }
885
890
 
886
891
  /** Neutral styles **/
887
892
 
888
893
  .ft-button--neutral {
889
- ${Ie(Ds.color,We.neutralIconColor)};
894
+ ${Ue(Bs.color,je.neutralIconColor)};
890
895
 
891
- ${Ie(Qr.backgroundColor,We.neutralStateLayerColor)};
892
- ${Ie(Qr.opacityContentOnSurfaceHover,We.neutralStateLayerOpacityHover)};
893
- ${Ie(Qr.opacityContentOnSurfaceFocused,We.neutralStateLayerOpacityFocus)};
894
- ${Ie(Qr.opacityContentOnSurfaceSelected,We.neutralStateLayerOpacityActive)};
895
- ${Ie(Qr.opacityContentOnSurfacePressed,We.neutralStateLayerOpacityActive)};
896
+ ${Ue(tn.backgroundColor,je.neutralStateLayerColor)};
897
+ ${Ue(tn.opacityContentOnSurfaceHover,je.neutralStateLayerOpacityHover)};
898
+ ${Ue(tn.opacityContentOnSurfaceFocused,je.neutralStateLayerOpacityFocus)};
899
+ ${Ue(tn.opacityContentOnSurfaceSelected,je.neutralStateLayerOpacityActive)};
900
+ ${Ue(tn.opacityContentOnSurfacePressed,je.neutralStateLayerOpacityActive)};
896
901
 
897
- background-color: ${We.neutralBackgroundColor};
898
- color: ${We.neutralColor};
902
+ background-color: ${je.neutralBackgroundColor};
903
+ color: ${je.neutralColor};
899
904
  border-style: none;
900
905
  }
901
906
 
902
907
  .ft-button--neutral[disabled] {
903
- opacity: ${We.neutralComponentOpacityDisabled};
908
+ opacity: ${je.neutralComponentOpacityDisabled};
904
909
  }
905
910
 
906
911
  .ft-button--neutral ft-icon {
907
- color: ${We.neutralIconColor};
912
+ color: ${je.neutralIconColor};
908
913
  }
909
914
 
910
915
  /** Large styles **/
911
916
 
912
917
  .ft-button--large {
913
- ${Ie(As.size,We.largeIconSize)};
914
- ${Ie(Ds.size,We.largeIconSize)};
918
+ ${Ue(Ws.size,je.largeIconSize)};
919
+ ${Ue(Bs.size,je.largeIconSize)};
915
920
 
916
- height: ${We.largeHeight};
917
- padding: 0 ${We.largeHorizontalPadding};
918
- gap: ${We.largeGap};
919
- border-radius: ${We.largeBorderRadius};
920
- border-width: ${We.largeBorderWidth};
921
+ height: ${je.largeHeight};
922
+ padding: 0 ${je.largeHorizontalPadding};
923
+ gap: ${je.largeGap};
924
+ border-radius: ${je.largeBorderRadius};
925
+ border-width: ${je.largeBorderWidth};
921
926
  }
922
927
 
923
928
  .ft-button--large:focus-visible {
924
- outline-width: ${We.largeFocusOutlineWidth};
925
- outline-offset: ${We.largeFocusOutlineOffset};
929
+ outline-width: ${je.largeFocusOutlineWidth};
930
+ outline-offset: ${je.largeFocusOutlineOffset};
926
931
  }
927
932
 
928
933
  .ft-button--large.ft-button--icon-only {
929
- width: ${We.largeIconOnlyWidth};
934
+ width: ${je.largeIconOnlyWidth};
930
935
  padding: unset;
931
936
  }
932
937
 
933
938
  /** Small styles **/
934
939
 
935
940
  .ft-button--small {
936
- ${Ie(As.size,We.smallIconSize)};
937
- ${Ie(Ds.size,We.smallIconSize)};
941
+ ${Ue(Ws.size,je.smallIconSize)};
942
+ ${Ue(Bs.size,je.smallIconSize)};
938
943
 
939
- height: ${We.smallHeight};
940
- padding: 0 ${We.smallHorizontalPadding};
941
- gap: ${We.smallGap};
942
- border-radius: ${We.smallBorderRadius};
943
- border-width: ${We.smallBorderWidth};
944
+ height: ${je.smallHeight};
945
+ padding: 0 ${je.smallHorizontalPadding};
946
+ gap: ${je.smallGap};
947
+ border-radius: ${je.smallBorderRadius};
948
+ border-width: ${je.smallBorderWidth};
944
949
  }
945
950
 
946
951
  .ft-button--small:focus-visible {
947
- outline-width: ${We.smallFocusOutlineWidth};
948
- outline-offset: ${We.smallFocusOutlineOffset};
952
+ outline-width: ${je.smallFocusOutlineWidth};
953
+ outline-offset: ${je.smallFocusOutlineOffset};
949
954
  }
950
955
 
951
956
  .ft-button--small.ft-button--icon-only {
952
- width: ${We.smallIconOnlyWidth};
957
+ width: ${je.smallIconOnlyWidth};
953
958
  padding: unset;
954
959
  }
955
- `,He];var cl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class hl extends nl{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?yn.caption1medium:yn.body2medium}}hl.styles=[Ge,ll],cl([k({type:Boolean})],hl.prototype,"primary",void 0),cl([k({type:Boolean})],hl.prototype,"secondary",void 0),cl([k({type:Boolean})],hl.prototype,"tertiary",void 0),cl([k({type:Boolean})],hl.prototype,"neutral",void 0),cl([k({type:Boolean})],hl.prototype,"small",void 0),z("ft-button")(al),z("ftds-button")(hl);const fl=Re.extend("--ft-chip-color","",je.colorOnSurface),pl={backgroundColor:Re.extend("--ft-chip-background-color","",je.colorSurface),color:fl,fontSize:Re.extend("--ft-chip-font-size","",qn.fontSize),iconSize:Re.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Re.extend("--ft-chip-ripple-color","",fl),horizontalPadding:Re.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Re.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Re.external(je.colorOutline,"Design system"),opacityDisabled:Re.external(je.colorOpacityDisabled,"Design system")},ul=Re.extend("--ft-chip-highlighted-color","",Re.extend("--ft-chip-color","",je.colorOnPrimary)),dl={backgroundColor:Re.extend("--ft-chip-highlighted-background-color","",Re.extend("--ft-chip-background-color","",je.colorPrimary)),color:ul,rippleColor:Re.extend("--ft-chip-highlighted-ripple-color","",ul)},yl=Re.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),gl=Re.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),bl=[He,Rt`
960
+ `,Ge];var hl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fl extends sl{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?gn.caption1medium:gn.body2medium}}fl.styles=[Ve,cl],hl([k({type:Boolean})],fl.prototype,"primary",void 0),hl([k({type:Boolean})],fl.prototype,"secondary",void 0),hl([k({type:Boolean})],fl.prototype,"tertiary",void 0),hl([k({type:Boolean})],fl.prototype,"neutral",void 0),hl([k({type:Boolean})],fl.prototype,"small",void 0),D("ft-button")(ll),D("ftds-button")(fl);const pl=Ie.extend("--ft-chip-color","",Fe.colorOnSurface),ul={backgroundColor:Ie.extend("--ft-chip-background-color","",Fe.colorSurface),color:pl,fontSize:Ie.extend("--ft-chip-font-size","",Yn.fontSize),iconSize:Ie.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ie.extend("--ft-chip-ripple-color","",pl),horizontalPadding:Ie.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ie.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ie.external(Fe.colorOutline,"Design system"),opacityDisabled:Ie.external(Fe.colorOpacityDisabled,"Design system")},dl=Ie.extend("--ft-chip-highlighted-color","",Ie.extend("--ft-chip-color","",Fe.colorOnPrimary)),yl={backgroundColor:Ie.extend("--ft-chip-highlighted-background-color","",Ie.extend("--ft-chip-background-color","",Fe.colorPrimary)),color:dl,rippleColor:Ie.extend("--ft-chip-highlighted-ripple-color","",dl)},gl=Ie.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),bl=Ie.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),vl=[Ge,It`
956
961
  :host {
957
962
  display: inline-block;
958
963
  max-width: 100%;
@@ -968,20 +973,20 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
968
973
  box-sizing: border-box;
969
974
  pointer-events: auto;
970
975
 
971
- --ft-chip-internal-font-size: ${pl.fontSize};
976
+ --ft-chip-internal-font-size: ${ul.fontSize};
972
977
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
973
- ${Ie(As.size,pl.iconSize)};
974
- --ft-chip-internal-vertical-padding: ${pl.verticalPadding};
975
- --ft-chip-internal-horizontal-padding: ${pl.horizontalPadding};
978
+ ${Ue(Ws.size,ul.iconSize)};
979
+ --ft-chip-internal-vertical-padding: ${ul.verticalPadding};
980
+ --ft-chip-internal-horizontal-padding: ${ul.horizontalPadding};
976
981
  --ft-chip-internal-icon-padding: 3px;
977
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${pl.iconSize});
982
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ul.iconSize});
978
983
 
979
- border: 1px solid ${pl.colorOutline};
980
- color: ${pl.color};
981
- ${Ie(Qr.color,pl.rippleColor)};
984
+ border: 1px solid ${ul.colorOutline};
985
+ color: ${ul.color};
986
+ ${Ue(tn.color,ul.rippleColor)};
982
987
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
983
988
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
984
- background-color: ${pl.backgroundColor};
989
+ background-color: ${ul.backgroundColor};
985
990
  line-height: var(--ft-chip-internal-content-height);
986
991
  }
987
992
 
@@ -991,8 +996,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
991
996
 
992
997
  .ft-chip--dense {
993
998
  --ft-chip-internal-icon-padding: 3px;
994
- --ft-chip-internal-vertical-padding: ${gl};
995
- --ft-chip-internal-horizontal-padding: ${yl};
999
+ --ft-chip-internal-vertical-padding: ${bl};
1000
+ --ft-chip-internal-horizontal-padding: ${gl};
996
1001
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
997
1002
  }
998
1003
 
@@ -1004,15 +1009,15 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1004
1009
  cursor: default;
1005
1010
  pointer-events: none;
1006
1011
  filter: grayscale(1);
1007
- opacity: ${pl.opacityDisabled};
1012
+ opacity: ${ul.opacityDisabled};
1008
1013
  }
1009
1014
 
1010
1015
  .ft-chip--highlighted {
1011
1016
  border: none;
1012
1017
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1013
- background-color: ${dl.backgroundColor};
1014
- ${Ie(Qr.color,dl.rippleColor)};
1015
- color: ${dl.color};
1018
+ background-color: ${yl.backgroundColor};
1019
+ ${Ue(tn.color,yl.rippleColor)};
1020
+ color: ${yl.color};
1016
1021
  }
1017
1022
 
1018
1023
  .ft-chip--clickable {
@@ -1042,9 +1047,9 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1042
1047
  }
1043
1048
 
1044
1049
  .ft-chip--icon-button {
1045
- ${Ie(Ms.iconSize,pl.iconSize)};
1046
- ${Ie(Ms.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1047
- ${Ie(Ms.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1050
+ ${Ue(Ms.iconSize,ul.iconSize)};
1051
+ ${Ue(Ms.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1052
+ ${Ue(Ms.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1048
1053
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1049
1054
  }
1050
1055
 
@@ -1052,8 +1057,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1052
1057
  vertical-align: bottom;
1053
1058
  display: block;
1054
1059
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1055
- ${Ie(qn.fontSize,"var(--ft-chip-internal-font-size)")};
1056
- ${Ie(qn.lineHeight,"var(--ft-chip-internal-content-height)")};
1060
+ ${Ue(Yn.fontSize,"var(--ft-chip-internal-font-size)")};
1061
+ ${Ue(Yn.lineHeight,"var(--ft-chip-internal-content-height)")};
1057
1062
  }
1058
1063
 
1059
1064
  .ft-chip--safari-fix .ft-chip--label {
@@ -1089,8 +1094,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1089
1094
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1090
1095
  order: -1;
1091
1096
  }
1092
- `];var vl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ml extends CustomEvent{constructor(){super("icon-click")}}class xl extends Ze{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":Ji};return fe`
1093
- <div class="${Xr(t)}"
1097
+ `];var ml=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class xl extends CustomEvent{constructor(){super("icon-click")}}class Ol extends _e{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":Qi};return pe`
1098
+ <div class="${Jr(t)}"
1094
1099
  aria-label="${this.getLabel()}"
1095
1100
  tabindex="${this.interactionsOnChip?0:-1}"
1096
1101
  @keyup=${this.onKeyUp}>
@@ -1100,7 +1105,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1100
1105
  </ft-typography>
1101
1106
  ${this.internalIcon?this.renderIcon():null}
1102
1107
  </div>
1103
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?fe`
1108
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?pe`
1104
1109
  <ft-button round
1105
1110
  class="ft-chip--icon-button"
1106
1111
  @click=${this.onIconClick}
@@ -1108,27 +1113,27 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1108
1113
  icon="${this.internalIcon}"
1109
1114
  label="${this.iconLabel}"
1110
1115
  ></ft-button>
1111
- `:fe`
1116
+ `:pe`
1112
1117
  <div class="ft-chip--icon-container ft-no-text-select">
1113
1118
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1114
1119
  </div>
1115
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ml))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ml))}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)}}xl.elementDefinitions={"ft-ripple":cn,"ft-typography":ks,"ft-icon":zs,"ft-button":al},xl.styles=bl,vl([k({type:Boolean})],xl.prototype,"highlighted",void 0),vl([k({type:Boolean})],xl.prototype,"removable",void 0),vl([k({type:Boolean})],xl.prototype,"disabled",void 0),vl([k({type:Boolean})],xl.prototype,"clickable",void 0),vl([k({type:Boolean})],xl.prototype,"iconClickable",void 0),vl([k({type:Boolean})],xl.prototype,"dense",void 0),vl([k({type:Boolean})],xl.prototype,"multiLine",void 0),vl([k()],xl.prototype,"label",void 0),vl([k()],xl.prototype,"iconLabel",void 0),vl([k()],xl.prototype,"icon",void 0),vl([k()],xl.prototype,"iconVariant",void 0),vl([k({type:Boolean})],xl.prototype,"trailingIcon",void 0),vl([U("ft-typography slot")],xl.prototype,"slottedContent",void 0),z("ft-chip")(xl);const Ol=Rt`
1116
- `;var wl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Sl=Symbol("i18nProperties"),Nl=Symbol("i18nUnsubs");function $l(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?jr:Wr}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[Sl])||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[Sl])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Sl]&&new Set([...this[Sl].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Nl].has(t)||this[Nl].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[Nl].forEach((t=>t())),this[Nl].clear()}}return e=Nl,wl([k({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Cl extends($l(Ze)){}class El extends($l(ro)){}var kl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Rl extends El{constructor(){super(),this.editorMode=!1,this.addStore(Rr)}render(){return this.key&&this.context?fe`
1120
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xl))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xl))}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)}}Ol.elementDefinitions={"ft-ripple":hn,"ft-typography":Rs,"ft-icon":Ds,"ft-button":ll},Ol.styles=vl,ml([k({type:Boolean})],Ol.prototype,"highlighted",void 0),ml([k({type:Boolean})],Ol.prototype,"removable",void 0),ml([k({type:Boolean})],Ol.prototype,"disabled",void 0),ml([k({type:Boolean})],Ol.prototype,"clickable",void 0),ml([k({type:Boolean})],Ol.prototype,"iconClickable",void 0),ml([k({type:Boolean})],Ol.prototype,"dense",void 0),ml([k({type:Boolean})],Ol.prototype,"multiLine",void 0),ml([k()],Ol.prototype,"label",void 0),ml([k()],Ol.prototype,"iconLabel",void 0),ml([k()],Ol.prototype,"icon",void 0),ml([k()],Ol.prototype,"iconVariant",void 0),ml([k({type:Boolean})],Ol.prototype,"trailingIcon",void 0),ml([L("ft-typography slot")],Ol.prototype,"slottedContent",void 0),D("ft-chip")(Ol);const wl=It`
1121
+ `;var Sl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};const Nl=Symbol("i18nProperties"),$l=Symbol("i18nUnsubs");function Cl(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Fr:jr}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[Nl])||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[Nl])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Nl]&&new Set([...this[Nl].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[$l].has(t)||this[$l].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[$l].forEach((t=>t())),this[$l].clear()}}return e=$l,Sl([k({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class El extends(Cl(_e)){}class kl extends(Cl(no)){}var Rl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Il extends kl{constructor(){super(),this.editorMode=!1,this.addStore(Ir)}render(){return this.key&&this.context?pe`
1117
1122
  <span class="ft-i18n">
1118
1123
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1119
1124
  </span>
1120
- `:this.editorMode?"Select a context and a label key.":ue}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:""})}}Rl.elementDefinitions={},Rl.styles=Ol,kl([qe()],Rl.prototype,"editorMode",void 0),kl([k()],Rl.prototype,"context",void 0),kl([k()],Rl.prototype,"key",void 0),kl([D([])],Rl.prototype,"args",void 0),kl([k()],Rl.prototype,"defaultMessage",void 0);class Il{static build(t){return new Il(t)}static fromGwt(t){return new Il(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)=>Wr.resolveMessage(this.name,e,...t)})}}z("ft-i18n")(Rl);const Ul=Rt`
1121
- `;var Ll=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Al extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Wl extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class jl extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Fl extends ro{get stateManager(){return null==this._stateManager&&(this._stateManager=Hr.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(Rr)}render(){return fe`
1125
+ `:this.editorMode?"Select a context and a label key.":de}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:""})}}Il.elementDefinitions={},Il.styles=wl,Rl([Ye()],Il.prototype,"editorMode",void 0),Rl([k()],Il.prototype,"context",void 0),Rl([k()],Il.prototype,"key",void 0),Rl([B([])],Il.prototype,"args",void 0),Rl([k()],Il.prototype,"defaultMessage",void 0);class Ul{static build(t){return new Ul(t)}static fromGwt(t){return new Ul(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)=>jr.resolveMessage(this.name,e,...t)})}}D("ft-i18n")(Il);const Ll=It`
1126
+ `;var Al=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Wl extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class jl extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Fl extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class zl extends no{get stateManager(){return null==this._stateManager&&(this._stateManager=Gr.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(Ir)}render(){return pe`
1122
1127
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1123
- `}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 Wl(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new jl(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 Al(t))}reloadSavedSearches(){Tr.clearMySearches()}clear(){this.stateManager.clear()}}Fl.elementDefinitions={},Fl.styles=Ul,Ll([k()],Fl.prototype,"query",void 0),Ll([k()],Fl.prototype,"contentLocale",void 0),Ll([k({type:Number})],Fl.prototype,"pageSize",void 0),Ll([k({type:Boolean})],Fl.prototype,"searchInDocumentTitlesOnly",void 0),Ll([k()],Fl.prototype,"scope",void 0),Ll([k({type:Boolean})],Fl.prototype,"ignoreEmptyQuery",void 0),Ll([D([])],Fl.prototype,"filters",void 0),Ll([D([])],Fl.prototype,"sort",void 0),Ll([qe({store:"search"})],Fl.prototype,"request",void 0),Ll([qe({store:"search"})],Fl.prototype,"paging",void 0),Ll([qe({store:"search",selector:t=>t.spellcheck})],Fl.prototype,"autocorrect",void 0),Ll([qe({store:Rr.name})],Fl.prototype,"session",void 0),z("ft-search-context")(Fl);const zl=Rt`
1124
- `,Dl=Re.extend("--ft-checkbox-text-color","",je.colorOnSurfaceHigh),Bl=Re.external(je.colorPrimary,"Design system"),Pl=Re.external(je.colorOnPrimary,"Design system"),Ml=Re.extend("--ft-checkbox-border-color","",je.colorOnSurfaceMedium),Tl=Re.external(je.colorOnSurfaceDisabled,"Design system"),Kl=Rt`
1128
+ `}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 jl(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Fl(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 Wl(t))}reloadSavedSearches(){Kr.clearMySearches()}clear(){this.stateManager.clear()}}zl.elementDefinitions={},zl.styles=Ll,Al([k()],zl.prototype,"query",void 0),Al([k()],zl.prototype,"contentLocale",void 0),Al([k({type:Number})],zl.prototype,"pageSize",void 0),Al([k({type:Boolean})],zl.prototype,"searchInDocumentTitlesOnly",void 0),Al([k()],zl.prototype,"scope",void 0),Al([k({type:Boolean})],zl.prototype,"ignoreEmptyQuery",void 0),Al([B([])],zl.prototype,"filters",void 0),Al([B([])],zl.prototype,"sort",void 0),Al([Ye({store:"search"})],zl.prototype,"request",void 0),Al([Ye({store:"search"})],zl.prototype,"paging",void 0),Al([Ye({store:"search",selector:t=>t.spellcheck})],zl.prototype,"autocorrect",void 0),Al([Ye({store:Ir.name})],zl.prototype,"session",void 0),D("ft-search-context")(zl);const Dl=It`
1129
+ `,Bl=Ie.extend("--ft-checkbox-text-color","",Fe.colorOnSurfaceHigh),Pl=Ie.external(Fe.colorPrimary,"Design system"),Tl=Ie.external(Fe.colorOnPrimary,"Design system"),Ml=Ie.extend("--ft-checkbox-border-color","",Fe.colorOnSurfaceMedium),Kl=Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),Zl=It`
1125
1130
  * {
1126
1131
  box-sizing: border-box;
1127
1132
  }
1128
1133
 
1129
1134
  .ft-checkbox {
1130
1135
  box-sizing: border-box;
1131
- color: ${Dl};
1136
+ color: ${Bl};
1132
1137
 
1133
1138
  display: inline-flex;
1134
1139
  align-items: center;
@@ -1136,7 +1141,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1136
1141
  }
1137
1142
 
1138
1143
  .ft-checkbox--disabled {
1139
- color: ${Tl};
1144
+ color: ${Kl};
1140
1145
  }
1141
1146
 
1142
1147
  input {
@@ -1166,20 +1171,20 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1166
1171
  width: 18px;
1167
1172
  height: 18px;
1168
1173
 
1169
- color: ${Pl};
1174
+ color: ${Tl};
1170
1175
  }
1171
1176
 
1172
1177
 
1173
1178
  .ft-checkbox--checked .ft-checkbox--box,
1174
1179
  .ft-checkbox--indeterminate .ft-checkbox--box {
1175
- border-color: ${Bl};
1176
- background-color: ${Bl};
1180
+ border-color: ${Pl};
1181
+ background-color: ${Pl};
1177
1182
  }
1178
1183
 
1179
1184
  .ft-checkbox--disabled .ft-checkbox--box {
1180
- border-color: ${Tl};
1185
+ border-color: ${Kl};
1181
1186
  background-color: transparent;
1182
- color: ${Tl};
1187
+ color: ${Kl};
1183
1188
  }
1184
1189
 
1185
1190
  .ft-checkbox--checkmark {
@@ -1198,8 +1203,8 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1198
1203
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1199
1204
  opacity: 1;
1200
1205
  }
1201
- `;var Zl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class _l extends Ze{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 fe`
1202
- <label class="${Xr(t)}" for="checkbox-input">
1206
+ `;var _l=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Hl extends _e{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 pe`
1207
+ <label class="${Jr(t)}" for="checkbox-input">
1203
1208
  <div class="ft-checkbox--box-container">
1204
1209
  <ft-ripple
1205
1210
  ?disabled=${this.disabled}
@@ -1224,14 +1229,14 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1224
1229
  <slot></slot>
1225
1230
  </ft-typography>
1226
1231
  </label>
1227
- `}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)}}_l.elementDefinitions={"ft-ripple":cn,"ft-typography":ks},_l.styles=Kl,Zl([k()],_l.prototype,"name",void 0),Zl([k({type:Boolean,reflect:!0})],_l.prototype,"checked",void 0),Zl([k({type:Boolean})],_l.prototype,"indeterminate",void 0),Zl([k({type:Boolean})],_l.prototype,"disabled",void 0),Zl([U(".ft-checkbox")],_l.prototype,"container",void 0),Zl([U("ft-ripple")],_l.prototype,"ripple",void 0),z("ft-checkbox")(_l);const Hl=Re.extend("--ft-radio-text-color","",je.colorOnSurfaceHigh),Gl=Re.external(je.colorPrimary,"Design system"),Vl=(Re.external(je.colorOnPrimary,"Design system"),Re.extend("--ft-radio-border-color","",je.colorOnSurfaceMedium)),ql=Re.external(je.colorOnSurfaceDisabled,"Design system"),Yl=Rt`
1232
+ `}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)}}Hl.elementDefinitions={"ft-ripple":hn,"ft-typography":Rs},Hl.styles=Zl,_l([k()],Hl.prototype,"name",void 0),_l([k({type:Boolean,reflect:!0})],Hl.prototype,"checked",void 0),_l([k({type:Boolean})],Hl.prototype,"indeterminate",void 0),_l([k({type:Boolean})],Hl.prototype,"disabled",void 0),_l([L(".ft-checkbox")],Hl.prototype,"container",void 0),_l([L("ft-ripple")],Hl.prototype,"ripple",void 0),D("ft-checkbox")(Hl);const Gl=Ie.extend("--ft-radio-text-color","",Fe.colorOnSurfaceHigh),Vl=Ie.external(Fe.colorPrimary,"Design system"),ql=(Ie.external(Fe.colorOnPrimary,"Design system"),Ie.extend("--ft-radio-border-color","",Fe.colorOnSurfaceMedium)),Yl=Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),Xl=It`
1228
1233
  * {
1229
1234
  box-sizing: border-box;
1230
1235
  }
1231
1236
 
1232
1237
  .ft-radio {
1233
1238
  box-sizing: border-box;
1234
- color: ${Hl};
1239
+ color: ${Gl};
1235
1240
 
1236
1241
  display: inline-flex;
1237
1242
  align-items: center;
@@ -1239,7 +1244,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1239
1244
  }
1240
1245
 
1241
1246
  .ft-radio--disabled {
1242
- color: ${ql};
1247
+ color: ${Yl};
1243
1248
  }
1244
1249
 
1245
1250
  input {
@@ -1262,7 +1267,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1262
1267
  }
1263
1268
 
1264
1269
  .ft-radio--box {
1265
- border: 2px solid ${Vl};
1270
+ border: 2px solid ${ql};
1266
1271
  border-radius: 50%;
1267
1272
 
1268
1273
  display: flex;
@@ -1275,7 +1280,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1275
1280
 
1276
1281
  .ft-radio--box:after {
1277
1282
  content: " ";
1278
- background-color: ${Gl};
1283
+ background-color: ${Vl};
1279
1284
 
1280
1285
  border-radius: 50%;
1281
1286
 
@@ -1287,7 +1292,7 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1287
1292
  }
1288
1293
 
1289
1294
  .ft-radio--checked .ft-radio--box {
1290
- border-color: ${Gl};
1295
+ border-color: ${Vl};
1291
1296
  }
1292
1297
 
1293
1298
 
@@ -1296,15 +1301,15 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1296
1301
  }
1297
1302
 
1298
1303
  .ft-radio--disabled .ft-radio--box {
1299
- border-color: ${ql};
1304
+ border-color: ${Yl};
1300
1305
  background-color: transparent;
1301
1306
  }
1302
1307
 
1303
1308
  .ft-radio--disabled .ft-radio--box:after {
1304
- background-color: ${ql};
1309
+ background-color: ${Yl};
1305
1310
  }
1306
- `;var Xl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Jl extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ql extends Ze{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 fe`
1307
- <div class="${Xr(t)}">
1311
+ `;var Jl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Ql extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class tc extends _e{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 pe`
1312
+ <div class="${Jr(t)}">
1308
1313
  <div class="ft-radio--box-container">
1309
1314
  <ft-ripple
1310
1315
  ?disabled=${this.disabled}
@@ -1328,22 +1333,22 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
1328
1333
  </ft-typography>
1329
1334
  </label>
1330
1335
  </div>
1331
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Jl(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 Jl(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ql.elementDefinitions={"ft-ripple":cn,"ft-typography":ks},Ql.styles=Yl,Xl([k()],Ql.prototype,"value",void 0),Xl([k()],Ql.prototype,"name",void 0),Xl([k({type:Boolean,reflect:!0})],Ql.prototype,"checked",void 0),Xl([k({type:Boolean})],Ql.prototype,"disabled",void 0),Xl([U(".ft-radio")],Ql.prototype,"container",void 0),Xl([U("ft-ripple")],Ql.prototype,"ripple",void 0),Xl([U("input")],Ql.prototype,"input",void 0);const tc=Rt`
1336
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ql(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 Ql(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}tc.elementDefinitions={"ft-ripple":hn,"ft-typography":Rs},tc.styles=Xl,Jl([k()],tc.prototype,"value",void 0),Jl([k()],tc.prototype,"name",void 0),Jl([k({type:Boolean,reflect:!0})],tc.prototype,"checked",void 0),Jl([k({type:Boolean})],tc.prototype,"disabled",void 0),Jl([L(".ft-radio")],tc.prototype,"container",void 0),Jl([L("ft-ripple")],tc.prototype,"ripple",void 0),Jl([L("input")],tc.prototype,"input",void 0);const ec=It`
1332
1337
  :host {
1333
1338
  display: contents;
1334
1339
  }
1335
- `;var ec=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class oc extends Ze{constructor(){super(...arguments),this.name=""}render(){return fe`
1340
+ `;var oc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ic extends _e{constructor(){super(...arguments),this.name=""}render(){return pe`
1336
1341
  <slot @slotchange=${this.onSlotChange}
1337
1342
  @change=${this.onChange}
1338
1343
  @keydown=${this.onKeyDown}
1339
1344
  ></slot>
1340
- `}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)}}oc.elementDefinitions={},oc.styles=tc,ec([k()],oc.prototype,"name",void 0),ec([
1345
+ `}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)}}ic.elementDefinitions={},ic.styles=ec,oc([k()],ic.prototype,"name",void 0),oc([
1341
1346
  /**
1342
1347
  * @license
1343
1348
  * Copyright 2021 Google LLC
1344
1349
  * SPDX-License-Identifier: BSD-3-Clause
1345
1350
  */
1346
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],oc.prototype,"radioButtons",void 0),z("ft-radio")(Ql),z("ft-radio-group")(oc);const ic={borderRadiusM:Re.external(je.borderRadiusM,"Design system"),colorOutline:Re.external(je.colorOutline,"Design system"),colorOnSurface:Re.external(je.colorOnSurface,"Design system"),colorOnSurfaceMedium:Re.external(je.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Re.external(je.colorOnSurfaceDisabled,"Design system"),colorPrimary:Re.external(je.colorPrimary,"Design system"),colorOnPrimary:Re.external(je.colorOnPrimary,"Design system"),fontFamily:Re.external(qn.fontFamily,"Body2 typography"),fontSize:Re.external(qn.fontSize,"Body2 typography"),fontWeight:Re.external(qn.fontWeight,"Body2 typography"),letterSpacing:Re.external(qn.letterSpacing,"Body2 typography"),lineHeight:Re.external(qn.lineHeight,"Body2 typography"),textTransform:Re.external(qn.textTransform,"Body2 typography")},rc=Rt`
1351
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return U(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],ic.prototype,"radioButtons",void 0),D("ft-radio")(tc),D("ft-radio-group")(ic);const rc={borderRadiusM:Ie.external(Fe.borderRadiusM,"Design system"),colorOutline:Ie.external(Fe.colorOutline,"Design system"),colorOnSurface:Ie.external(Fe.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ie.external(Fe.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ie.external(Fe.colorPrimary,"Design system"),colorOnPrimary:Ie.external(Fe.colorOnPrimary,"Design system"),fontFamily:Ie.external(Yn.fontFamily,"Body2 typography"),fontSize:Ie.external(Yn.fontSize,"Body2 typography"),fontWeight:Ie.external(Yn.fontWeight,"Body2 typography"),letterSpacing:Ie.external(Yn.letterSpacing,"Body2 typography"),lineHeight:Ie.external(Yn.lineHeight,"Body2 typography"),textTransform:Ie.external(Yn.textTransform,"Body2 typography")},nc=It`
1347
1352
  .ft-filter-level--container {
1348
1353
  display: flex;
1349
1354
  flex-direction: column;
@@ -1357,14 +1362,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1357
1362
  flex-shrink: 0;
1358
1363
  text-decoration: none;
1359
1364
  position: relative;
1360
- border-radius: ${ic.borderRadiusM};
1365
+ border-radius: ${rc.borderRadiusM};
1361
1366
  overflow: hidden;
1362
1367
  display: flex;
1363
1368
  align-items: center;
1364
1369
  padding: 4px 4px;
1365
1370
  gap: 4px;
1366
1371
  cursor: pointer;
1367
- color: ${ic.colorOnSurface};
1372
+ color: ${rc.colorOnSurface};
1368
1373
  }
1369
1374
 
1370
1375
  .ft-filter-level--go-back:focus {
@@ -1393,7 +1398,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1393
1398
  }
1394
1399
 
1395
1400
  ft-button {
1396
- ${Ie(Ms.color,ic.colorOnSurface)};
1401
+ ${Ue(Ms.color,rc.colorOnSurface)};
1397
1402
  }
1398
1403
 
1399
1404
  ft-radio, ft-checkbox {
@@ -1407,11 +1412,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1407
1412
 
1408
1413
  .ft-filter-level--no-values {
1409
1414
  margin: 10px 0;
1410
- color: ${ic.colorOnSurfaceMedium};
1415
+ color: ${rc.colorOnSurfaceMedium};
1411
1416
  }
1412
- `;var nc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class sc extends Ze{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 fe`
1417
+ `;var sc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class ac extends _e{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 pe`
1413
1418
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1414
- ${null==this.parent?null:fe`
1419
+ ${null==this.parent?null:pe`
1415
1420
  <div tabindex="0"
1416
1421
  part="controls go-back"
1417
1422
  class="ft-filter-level--go-back"
@@ -1423,15 +1428,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1423
1428
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1424
1429
  </div>
1425
1430
  `}
1426
- ${0===this.options.length&&this.noValuesLabel?fe`
1431
+ ${0===this.options.length&&this.noValuesLabel?pe`
1427
1432
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1428
1433
  ${this.noValuesLabel}
1429
1434
  </ft-typography>
1430
- `:ue}
1431
- ${hr(e,(t=>t.value),(t=>{var e;return fe`
1435
+ `:de}
1436
+ ${fr(e,(t=>t.value),(t=>{var e;return pe`
1432
1437
  <div class="ft-filter-level--option" part="options">
1433
1438
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1434
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ue:fe`
1439
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?de:pe`
1435
1440
  <ft-button icon="thin_arrow_right"
1436
1441
  part="controls navigate-hierarchy"
1437
1442
  label="${t.label}"
@@ -1441,7 +1446,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1441
1446
  `}
1442
1447
  </div>
1443
1448
  `}))}
1444
- ${e.length<t.length?fe`
1449
+ ${e.length<t.length?pe`
1445
1450
  <ft-button
1446
1451
  class="ft-filter-level--display-more"
1447
1452
  icon="thin_arrow"
@@ -1450,19 +1455,19 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1450
1455
  @click=${this.displayMore}>
1451
1456
  ${this.moreValuesButtonLabel}
1452
1457
  </ft-button>
1453
- `:ue}
1458
+ `:de}
1454
1459
  </div>
1455
- `}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 fe`
1460
+ `}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 pe`
1456
1461
  <ft-checkbox name="${this.filterId}"
1457
1462
  part="multivalued-option"
1458
1463
  data-value="${t.value}"
1459
1464
  .checked=${t.selected}
1460
1465
  .disabled=${this.disabled}
1461
- .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))}
1466
+ .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))}
1462
1467
  @change=${e=>this.optionsChanged(e,t)}>
1463
1468
  ${t.renderOption?t.renderOption:t.label}
1464
1469
  </ft-checkbox>
1465
- `}buildMonoValuedOption(t){return fe`
1470
+ `}buildMonoValuedOption(t){return pe`
1466
1471
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1467
1472
  part="monovalued-option"
1468
1473
  data-value="${t.value}"
@@ -1473,7 +1478,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1473
1478
  @change=${t=>t.stopPropagation()}>
1474
1479
  ${t.renderOption?t.renderOption:t.label}
1475
1480
  </ft-radio>
1476
- `}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}))}}sc.elementDefinitions={"ft-button":al,"ft-ripple":cn,"ft-typography":ks,"ft-checkbox":_l,"ft-icon":zs,"ft-radio":Ql},sc.styles=rc,nc([k({type:String})],sc.prototype,"filterId",void 0),nc([k({type:Object})],sc.prototype,"parent",void 0),nc([k({type:Array})],sc.prototype,"options",void 0),nc([k({type:Boolean})],sc.prototype,"multivalued",void 0),nc([k({type:Boolean})],sc.prototype,"disabled",void 0),nc([k({type:Boolean})],sc.prototype,"hideSelectedOptions",void 0),nc([k({type:Boolean})],sc.prototype,"preventNavigation",void 0),nc([k({type:String})],sc.prototype,"filter",void 0),nc([k({type:String})],sc.prototype,"moreValuesButtonLabel",void 0),nc([k({type:String})],sc.prototype,"noValuesLabel",void 0),nc([k({type:Number})],sc.prototype,"displayedValuesLimit",void 0),nc([U(".ft-filter-level--container")],sc.prototype,"container",void 0),nc([R()],sc.prototype,"displayedPages",void 0);const ac={buttonsColor:Re.extend("--ft-snap-scroll-buttons-color","",je.colorPrimary),buttonsZIndex:Re.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Re.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Re.external(je.colorSurface,"Design system")},lc=Rt`
1481
+ `}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}))}}ac.elementDefinitions={"ft-button":ll,"ft-ripple":hn,"ft-typography":Rs,"ft-checkbox":Hl,"ft-icon":Ds,"ft-radio":tc},ac.styles=nc,sc([k({type:String})],ac.prototype,"filterId",void 0),sc([k({type:Object})],ac.prototype,"parent",void 0),sc([k({type:Array})],ac.prototype,"options",void 0),sc([k({type:Boolean})],ac.prototype,"multivalued",void 0),sc([k({type:Boolean})],ac.prototype,"disabled",void 0),sc([k({type:Boolean})],ac.prototype,"hideSelectedOptions",void 0),sc([k({type:Boolean})],ac.prototype,"preventNavigation",void 0),sc([k({type:String})],ac.prototype,"filter",void 0),sc([k({type:String})],ac.prototype,"moreValuesButtonLabel",void 0),sc([k({type:String})],ac.prototype,"noValuesLabel",void 0),sc([k({type:Number})],ac.prototype,"displayedValuesLimit",void 0),sc([L(".ft-filter-level--container")],ac.prototype,"container",void 0),sc([R()],ac.prototype,"displayedPages",void 0);const lc={buttonsColor:Ie.extend("--ft-snap-scroll-buttons-color","",Fe.colorPrimary),buttonsZIndex:Ie.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ie.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ie.external(Fe.colorSurface,"Design system")},cc=It`
1477
1482
  .ft-snap-scroll {
1478
1483
  box-sizing: border-box;
1479
1484
  position: relative;
@@ -1508,7 +1513,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1508
1513
  flex-wrap: nowrap;
1509
1514
  align-items: flex-start;
1510
1515
  justify-content: flex-start;
1511
- gap: ${ac.gap};
1516
+ gap: ${lc.gap};
1512
1517
  }
1513
1518
 
1514
1519
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1551,11 +1556,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1551
1556
  .ft-snap-scroll--next {
1552
1557
  position: absolute;
1553
1558
  display: flex;
1554
- z-index: ${ac.buttonsZIndex};
1559
+ z-index: ${lc.buttonsZIndex};
1555
1560
  opacity: 1;
1556
1561
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1557
- ${Ie(Ms.backgroundColor,"transparent")};
1558
- ${Ie(Ms.color,ac.buttonsColor)};
1562
+ ${Ue(Ms.backgroundColor,"transparent")};
1563
+ ${Ue(Ms.color,lc.buttonsColor)};
1559
1564
  }
1560
1565
 
1561
1566
  .ft-snap-scroll--previous[hidden],
@@ -1568,37 +1573,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1568
1573
  top: 0;
1569
1574
  left: -1px;
1570
1575
  bottom: 0;
1571
- background: linear-gradient(to right, ${ac.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1576
+ background: linear-gradient(to right, ${lc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1572
1577
  }
1573
1578
 
1574
1579
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1575
1580
  top: -1px;
1576
1581
  left: 0;
1577
1582
  right: 0;
1578
- background: linear-gradient(to bottom, ${ac.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1583
+ background: linear-gradient(to bottom, ${lc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1579
1584
  }
1580
1585
 
1581
1586
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1582
1587
  top: 0;
1583
1588
  right: -1px;
1584
1589
  bottom: 0;
1585
- background: linear-gradient(to left, ${ac.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1590
+ background: linear-gradient(to left, ${lc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1586
1591
  }
1587
1592
 
1588
1593
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1589
1594
  left: 0;
1590
1595
  right: 0;
1591
1596
  bottom: -1px;
1592
- background: linear-gradient(to top, ${ac.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1597
+ background: linear-gradient(to top, ${lc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1593
1598
  }
1594
1599
 
1595
1600
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1596
1601
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1597
1602
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1598
1603
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1599
- background-color: ${ac.colorSurface};
1604
+ background-color: ${lc.colorSurface};
1600
1605
  }
1601
- `;var cc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class hc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class fc extends Ze{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 A(200),this.updateScrollDebouncer=new A(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=Xr({"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":Ji}),e=this.controls&&this.withScroll;return fe`
1606
+ `;var hc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class fc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class pc extends _e{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 W(200),this.updateScrollDebouncer=new W(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=Jr({"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":Qi}),e=this.controls&&this.withScroll;return pe`
1602
1607
  <div part="container" class="${t}">
1603
1608
  <ft-button
1604
1609
  class="ft-snap-scroll--previous"
@@ -1622,7 +1627,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1622
1627
  @click=${this.next}
1623
1628
  ></ft-button>
1624
1629
  </div>
1625
- `}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 hc(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)}}fc.elementDefinitions={"ft-button":al},fc.styles=lc,cc([k({type:Boolean})],fc.prototype,"horizontal",void 0),cc([k({type:Boolean})],fc.prototype,"hideScrollbar",void 0),cc([k({type:Boolean})],fc.prototype,"controls",void 0),cc([k({type:Boolean})],fc.prototype,"limitSize",void 0),cc([R()],fc.prototype,"elements",void 0),cc([R()],fc.prototype,"currentElement",void 0),cc([R()],fc.prototype,"withScroll",void 0),cc([R()],fc.prototype,"startReached",void 0),cc([R()],fc.prototype,"endReached",void 0),cc([U(".ft-snap-scroll--content")],fc.prototype,"contentSlot",void 0),z("ft-snap-scroll")(fc);const pc=Re.external(je.colorOutline,"Design system"),uc=Re.external(je.colorOnSurface,"Design system"),dc=Re.external(je.colorOnSurfaceMedium,"Design system"),yc=Re.external(je.colorPrimary,"Design system"),gc=Re.external(je.colorSurface,"Design system"),bc=Re.external(je.transitionDuration,"Design system"),vc=Re.external(je.transitionTimingFunction,"Design system"),mc=[Os,Rt`
1630
+ `}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 fc(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)}}pc.elementDefinitions={"ft-button":ll},pc.styles=cc,hc([k({type:Boolean})],pc.prototype,"horizontal",void 0),hc([k({type:Boolean})],pc.prototype,"hideScrollbar",void 0),hc([k({type:Boolean})],pc.prototype,"controls",void 0),hc([k({type:Boolean})],pc.prototype,"limitSize",void 0),hc([R()],pc.prototype,"elements",void 0),hc([R()],pc.prototype,"currentElement",void 0),hc([R()],pc.prototype,"withScroll",void 0),hc([R()],pc.prototype,"startReached",void 0),hc([R()],pc.prototype,"endReached",void 0),hc([L(".ft-snap-scroll--content")],pc.prototype,"contentSlot",void 0),D("ft-snap-scroll")(pc);const uc=Ie.external(Fe.colorOutline,"Design system"),dc=Ie.external(Fe.colorOnSurface,"Design system"),yc=Ie.external(Fe.colorOnSurfaceMedium,"Design system"),gc=Ie.external(Fe.colorPrimary,"Design system"),bc=Ie.external(Fe.colorSurface,"Design system"),vc=Ie.external(Fe.transitionDuration,"Design system"),mc=Ie.external(Fe.transitionTimingFunction,"Design system"),xc=[ws,It`
1626
1631
  :host {
1627
1632
  display: flex;
1628
1633
  max-height: 100%;
@@ -1635,7 +1640,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1635
1640
  flex-direction: column;
1636
1641
  max-height: 100%;
1637
1642
  max-width: 100%;
1638
- color: ${uc};
1643
+ color: ${dc};
1639
1644
  }
1640
1645
 
1641
1646
  .ft-filter--header {
@@ -1645,13 +1650,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1645
1650
  flex-shrink: 0;
1646
1651
  padding: 0 10px;
1647
1652
  margin-bottom: 8px;
1648
- ${Ie(vn.fontSize,"14px")};
1653
+ ${Ue(mn.fontSize,"14px")};
1649
1654
  }
1650
1655
 
1651
1656
  .ft-filter--header ft-button {
1652
1657
  flex-shrink: 0;
1653
1658
  margin-left: auto;
1654
- ${Ie(Ms.iconSize,"18px")};
1659
+ ${Ue(Ms.iconSize,"18px")};
1655
1660
  }
1656
1661
 
1657
1662
  .ft-filter--label {
@@ -1659,8 +1664,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1659
1664
  flex-shrink: 1;
1660
1665
  flex-grow: 1;
1661
1666
  word-break: break-word;
1662
- ${Ie(vn.lineHeight,"22px")};
1663
- ${Ie(vn.fontWeight,"bold")};
1667
+ ${Ue(mn.lineHeight,"22px")};
1668
+ ${Ue(mn.fontWeight,"bold")};
1664
1669
  }
1665
1670
 
1666
1671
  .ft-filter--filter {
@@ -1671,8 +1676,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1671
1676
  padding: 0 10px;
1672
1677
  overflow: hidden;
1673
1678
  height: 32px;
1674
- transition: height ${bc} ${vc},
1675
- margin ${bc} ${vc};
1679
+ transition: height ${vc} ${mc},
1680
+ margin ${vc} ${mc};
1676
1681
  transition-delay: 500ms;
1677
1682
  }
1678
1683
 
@@ -1685,15 +1690,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1685
1690
  display: block;
1686
1691
  width: 100%;
1687
1692
  border-radius: 4px;
1688
- border: 1px solid ${pc};
1693
+ border: 1px solid ${uc};
1689
1694
  padding: 4px;
1690
- background-color: ${gc};
1691
- color: ${uc};
1692
- outline-color: ${yc};
1695
+ background-color: ${bc};
1696
+ color: ${dc};
1697
+ outline-color: ${gc};
1693
1698
  }
1694
1699
 
1695
1700
  input::placeholder {
1696
- color: ${dc};
1701
+ color: ${yc};
1697
1702
  }
1698
1703
 
1699
1704
  input:placeholder-shown {
@@ -1709,7 +1714,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1709
1714
  }
1710
1715
 
1711
1716
  .ft-filter--separator {
1712
- border-top: 1px solid ${pc};
1717
+ border-top: 1px solid ${uc};
1713
1718
  margin: 4px 10px;
1714
1719
  }
1715
1720
 
@@ -1734,16 +1739,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1734
1739
  slot:not([name]) {
1735
1740
  display: none;
1736
1741
  }
1737
- `];var xc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Oc extends CustomEvent{constructor(t){super("change",{detail:t})}}class wc extends Ze{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 A(300),this.changeDebouncer=new A(10),this.lastDispatchedValues=[]}get flatOptions(){return j(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.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 fe`
1742
+ `];var Oc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class wc extends CustomEvent{constructor(t){super("change",{detail:t})}}class Sc extends _e{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 W(300),this.changeDebouncer=new W(10),this.lastDispatchedValues=[]}get flatOptions(){return F(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.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 pe`
1738
1743
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1739
1744
  part="container">
1740
- ${this.label||t?fe`
1745
+ ${this.label||t?pe`
1741
1746
  <div class="ft-filter--header" part="header">
1742
1747
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1743
1748
  ${this.label}
1744
1749
  </ft-typography>
1745
1750
  <slot name="label"></slot>
1746
- ${t&&!this.hideClearButton?fe`
1751
+ ${t&&!this.hideClearButton?pe`
1747
1752
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1748
1753
  ${this.clearButtonLabel}
1749
1754
  </ft-button>
@@ -1767,8 +1772,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1767
1772
  @slotchange=${this.updateOptionsFromSlot}
1768
1773
  @option-change=${this.optionsChanged}></slot>
1769
1774
  </div>
1770
- `}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 fe`
1771
- ${this.raiseSelectedOptions&&e.length>0?fe`
1775
+ `}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 pe`
1776
+ ${this.raiseSelectedOptions&&e.length>0?pe`
1772
1777
  <ft-filter-level
1773
1778
  filterId="${this.id}"
1774
1779
  ?multivalued=${this.multivalued}
@@ -1787,7 +1792,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1787
1792
  ${this.renderLevel(i,this.options)}
1788
1793
  ${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)}))}
1789
1794
  </ft-snap-scroll>
1790
- `}renderLevel(t,e,o){return fe`
1795
+ `}renderLevel(t,e,o){return pe`
1791
1796
  <ft-filter-level
1792
1797
  class="${t}"
1793
1798
  filterId="${this.id}"
@@ -1806,28 +1811,28 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1806
1811
  .exportpartsPrefixes=${["values","available-values"]}
1807
1812
  noValuesLabel="${this.noValuesLabel}"
1808
1813
  ></ft-filter-level>
1809
- `}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 Oc(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":al,"ft-filter-level":sc,"ft-snap-scroll":fc,"ft-typography":ks},wc.styles=mc,xc([k({type:String})],wc.prototype,"id",void 0),xc([k({type:String})],wc.prototype,"label",void 0),xc([k({type:String})],wc.prototype,"filterPlaceHolder",void 0),xc([k({type:String})],wc.prototype,"clearButtonLabel",void 0),xc([k({type:String})],wc.prototype,"moreValuesButtonLabel",void 0),xc([k({type:String})],wc.prototype,"noValuesLabel",void 0),xc([D([])],wc.prototype,"options",void 0),xc([k({type:Boolean})],wc.prototype,"multivalued",void 0),xc([k({type:Boolean})],wc.prototype,"disabled",void 0),xc([k({type:Boolean})],wc.prototype,"raiseSelectedOptions",void 0),xc([k({type:Number})],wc.prototype,"displayedValuesLimit",void 0),xc([k({type:Boolean})],wc.prototype,"hideClearButton",void 0),xc([U(".ft-filter--slot")],wc.prototype,"slotElement",void 0),xc([U(".ft-filter--container")],wc.prototype,"container",void 0),xc([U(".ft-filter--values")],wc.prototype,"valuesContainer",void 0),xc([U(".ft-filter--levels")],wc.prototype,"levelsContainer",void 0),xc([R()],wc.prototype,"lastLevelHasHiddenvalues",void 0),xc([U(".ft-filter--filter input")],wc.prototype,"filterInput",void 0),xc([function(t){return(e,o)=>I(0,0,{get(){return(this.renderRoot??(L??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],wc.prototype,"levels",void 0),xc([R()],wc.prototype,"withScroll",void 0),xc([R()],wc.prototype,"filter",void 0),xc([R()],wc.prototype,"slideIn",void 0),xc([R()],wc.prototype,"slideOut",void 0);var Sc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Nc extends Ze{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return fe`
1814
+ `}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;z(this.lastDispatchedValues,t)||(this.dispatchEvent(new wc(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)}}Sc.elementDefinitions={"ft-button":ll,"ft-filter-level":ac,"ft-snap-scroll":pc,"ft-typography":Rs},Sc.styles=xc,Oc([k({type:String})],Sc.prototype,"id",void 0),Oc([k({type:String})],Sc.prototype,"label",void 0),Oc([k({type:String})],Sc.prototype,"filterPlaceHolder",void 0),Oc([k({type:String})],Sc.prototype,"clearButtonLabel",void 0),Oc([k({type:String})],Sc.prototype,"moreValuesButtonLabel",void 0),Oc([k({type:String})],Sc.prototype,"noValuesLabel",void 0),Oc([B([])],Sc.prototype,"options",void 0),Oc([k({type:Boolean})],Sc.prototype,"multivalued",void 0),Oc([k({type:Boolean})],Sc.prototype,"disabled",void 0),Oc([k({type:Boolean})],Sc.prototype,"raiseSelectedOptions",void 0),Oc([k({type:Number})],Sc.prototype,"displayedValuesLimit",void 0),Oc([k({type:Boolean})],Sc.prototype,"hideClearButton",void 0),Oc([L(".ft-filter--slot")],Sc.prototype,"slotElement",void 0),Oc([L(".ft-filter--container")],Sc.prototype,"container",void 0),Oc([L(".ft-filter--values")],Sc.prototype,"valuesContainer",void 0),Oc([L(".ft-filter--levels")],Sc.prototype,"levelsContainer",void 0),Oc([R()],Sc.prototype,"lastLevelHasHiddenvalues",void 0),Oc([L(".ft-filter--filter input")],Sc.prototype,"filterInput",void 0),Oc([function(t){return(e,o)=>U(0,0,{get(){return(this.renderRoot??(A??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Sc.prototype,"levels",void 0),Oc([R()],Sc.prototype,"withScroll",void 0),Oc([R()],Sc.prototype,"filter",void 0),Oc([R()],Sc.prototype,"slideIn",void 0),Oc([R()],Sc.prototype,"slideOut",void 0);var Nc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class $c extends _e{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return pe`
1810
1815
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1811
- `}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}))}}Nc.elementDefinitions={},Sc([k({type:String})],Nc.prototype,"label",void 0),Sc([k({type:Object,converter:t=>t})],Nc.prototype,"value",void 0),Sc([k({type:Boolean,reflect:!0})],Nc.prototype,"selected",void 0),Sc([k({type:Object})],Nc.prototype,"subOptions",void 0),Sc([D({})],Nc.prototype,"renderOption",void 0),Sc([U(".ft-filter-option--slot")],Nc.prototype,"slotElement",void 0),z("ft-filter")(wc),z("ft-filter-option")(Nc);const $c=Il.build("designedSearchType"),Cc={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Ec=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class kc extends($l(Yr)){constructor(){super(),this.addI18nContext($c,Cc)}render(){return fe`
1816
+ `}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}))}}$c.elementDefinitions={},Nc([k({type:String})],$c.prototype,"label",void 0),Nc([k({type:Object,converter:t=>t})],$c.prototype,"value",void 0),Nc([k({type:Boolean,reflect:!0})],$c.prototype,"selected",void 0),Nc([k({type:Object})],$c.prototype,"subOptions",void 0),Nc([B({})],$c.prototype,"renderOption",void 0),Nc([L(".ft-filter-option--slot")],$c.prototype,"slotElement",void 0),D("ft-filter")(Sc),D("ft-filter-option")($c);const Cc=Ul.build("designedSearchType"),Ec={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var kc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Rc extends(Cl(Xr)){constructor(){super(),this.addI18nContext(Cc,Ec)}render(){return pe`
1812
1817
  <ft-filter
1813
- label=${$c.messages.label()}
1814
- .options=${[{label:$c.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1818
+ label=${Cc.messages.label()}
1819
+ .options=${[{label:Cc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1815
1820
  part="filter"
1816
1821
  .exportpartsPrefixes=${["filter"]}
1817
1822
  multivalued
1818
1823
  @change=${this.onSelected}
1819
1824
  ></ft-filter>
1820
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}kc.elementDefinitions={"ft-filter":wc},kc.styles=zl,Ec([qe({selector:Zr})],kc.prototype,"searchInDocumentTitlesOnly",void 0),Ec([U("ft-filter")],kc.prototype,"filter",void 0),z("ft-search-type")(kc);var Rc=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Ic extends($l(Yr)){constructor(){super(),this.editorMode=!1,this.addStore(Rr),this.addI18nContext($c,Cc)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?fe`
1825
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Rc.elementDefinitions={"ft-filter":Sc},Rc.styles=Dl,kc([Ye({selector:_r})],Rc.prototype,"searchInDocumentTitlesOnly",void 0),kc([L("ft-filter")],Rc.prototype,"filter",void 0),D("ft-search-type")(Rc);var Ic=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Uc extends(Cl(Xr)){constructor(){super(),this.editorMode=!1,this.addStore(Ir),this.addI18nContext(Cc,Ec)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?pe`
1821
1826
 
1822
1827
  <div class="ft-search-selected-facets--container">
1823
- ${hr(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return hr(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1828
+ ${fr(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return fr(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1824
1829
  ${this.renderSearchInDocumentTitlesOnly()}
1825
1830
  </div>
1826
- `:ue}renderDummyFacet(){return fe`
1831
+ `:de}renderDummyFacet(){return pe`
1827
1832
 
1828
1833
  <div class="ft-search-selected-facets--container">
1829
1834
  ${[this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value1"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value2"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value3")]}
1830
- </div>`}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return fe`
1835
+ </div>`}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return pe`
1831
1836
  <ft-tooltip inline text="${r}"
1832
1837
  part="tooltips tooltip-${n}">
1833
1838
  <ft-chip
@@ -1840,14 +1845,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1840
1845
  ${this.getLabelFromValue(i)}
1841
1846
  </ft-chip>
1842
1847
  </ft-tooltip>
1843
- `}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(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?fe`
1844
- <ft-tooltip inline text="${$c.messages.documentTitlesOnly()}"
1848
+ `}getSelectedValues(t){return F(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?pe`
1849
+ <ft-tooltip inline text="${Cc.messages.documentTitlesOnly()}"
1845
1850
  part="tooltips tooltip-search-in-document-titles-only">
1846
1851
  <ft-chip
1847
1852
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1848
1853
  removable
1849
1854
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1850
- ${$c.messages.documentTitlesOnly()}
1855
+ ${Cc.messages.documentTitlesOnly()}
1851
1856
  </ft-chip>
1852
1857
  </ft-tooltip>
1853
- `:ue}}Ic.elementDefinitions={"ft-chip":xl,"ft-tooltip":ol},Ic.styles=pr,Rc([qe({store:"search"})],Ic.prototype,"facets",void 0),Rc([qe({store:"search",selector:Zr})],Ic.prototype,"searchInDocumentTitlesOnly",void 0),Rc([qe({store:Rr.name})],Ic.prototype,"editorMode",void 0),z("ft-search-selected-facets")(Ic),t.FtSearchSelectedFacets=Ic,t.FtSearchSelectedFacetsCssVariables=fr,t.styles=pr}({});
1858
+ `:de}}Uc.elementDefinitions={"ft-chip":Ol,"ft-tooltip":il},Uc.styles=ur,Ic([Ye({store:"search"})],Uc.prototype,"facets",void 0),Ic([Ye({store:"search",selector:_r})],Uc.prototype,"searchInDocumentTitlesOnly",void 0),Ic([Ye({store:Ir.name})],Uc.prototype,"editorMode",void 0),D("ft-search-selected-facets")(Uc),t.FtSearchSelectedFacets=Uc,t.FtSearchSelectedFacetsCssVariables=pr,t.styles=ur}({});