@fluid-topics/ft-search-selected-facets 1.0.62 → 1.1.0

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.
@@ -1,78 +1,87 @@
1
1
  !function(t){
2
2
  /**
3
- * @license
4
- * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt
7
- * The complete set of authors may be found at
8
- * http://polymer.github.io/AUTHORS.txt
9
- * The complete set of contributors may be found at
10
- * http://polymer.github.io/CONTRIBUTORS.txt
11
- * Code distributed by Google as part of the polymer project is also
12
- * subject to an additional IP rights grant found at
13
- * http://polymer.github.io/PATENTS.txt
14
- *
15
- * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
- */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),i.upgrade.apply(i,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.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 b=[document];const g=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){b.push(this),o.set.call(this,t),b.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)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Sn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=i(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
3
+ * @license
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
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 d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=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?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&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(Es){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=i(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
16
  /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const a=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(o){o.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(o){o.createProperty(e.key,t)}};function s(t){return(e,o)=>void 0!==o?((t,e,o)=>{e.constructor.createProperty(o,t)})(t,e,o):a(t,e)
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const s=globalThis,a=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap;const h=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,l),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return h(e)})(t):t
23
21
  /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}function l(t){return s({...t,state:!0})}
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:p,defineProperty:d,getOwnPropertyDescriptor:u,getOwnPropertyNames:y,getOwnPropertySymbols:g,getPrototypeOf:b}=Object,v=globalThis,m=v.trustedTypes,x=m?m.emptyScript:"",O=v.reactiveElementPolyfillSupport,w=(t,e)=>t,S={toAttribute(t,e){switch(e){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},N=(t,e)=>!p(t,e),$={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&d(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,e=[...y(t),...g(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(a)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=s.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:S).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:S;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??N)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[w("elementProperties")]=new Map,C[w("finalized")]=new Map,O?.({ReactiveElement:C}),(v.reactiveElementVersions??=[]).push("2.0.2");
28
26
  /**
29
- * @license
30
- * Copyright 2017 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const c=({finisher:t,descriptor:e})=>(o,i)=>{var r;if(void 0===i){const i=null!==(r=o.originalKey)&&void 0!==r?r:o.key,n=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(o.key)}:{...o,key:i};return null!=t&&(n.finisher=function(e){t(e,i)}),n}{const r=o.constructor;void 0!==e&&Object.defineProperty(o,i,e(i)),null==t||t(r,i)}}
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const E={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N},k=(t=E,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function R(t){return(e,o)=>"object"==typeof o?k(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
33
32
  /**
34
- * @license
35
- * Copyright 2017 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */;function f(t,e){return c({descriptor:o=>{const i={get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof o?Symbol():"__"+o;i.get=function(){var o,i;return void 0===this[e]&&(this[e]=null!==(i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function I(t){return R({...t,state:!0,attribute:!1})}
38
37
  /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */
38
+ * @license
39
+ * Copyright 2017 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ */const U=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
43
42
  /**
44
- * @license
45
- * Copyright 2021 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- var h;const p=null!=(null===(h=window.HTMLSlotElement)||void 0===h?void 0:h.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function d(t){const{slot:e,selector:o}=null!=t?t:{};return c({descriptor:i=>({get(){var i;const r="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?p(n,t):[];return o?a.filter((t=>t.matches(o))):a},enumerable:!0,configurable:!0})})}
43
+ * @license
44
+ * Copyright 2017 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */;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)}})}}
49
47
  /**
50
- * @license
51
- * Copyright 2017 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */const u=t=>new Promise((e=>setTimeout(e,t)));function y(t,e){return t.flatMap((t=>[t,...y(e(t),e)]))}function b(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(!b(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(!b(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(!b(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const g=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function v(t,e){const o=()=>JSON.parse(JSON.stringify(t));return s({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)=>!b(t,e),...null!=e?e:{}})}
48
+ * @license
49
+ * Copyright 2017 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */let A;const W=t=>new Promise((e=>setTimeout(e,t)));function j(t,e){return t.flatMap((t=>[t,...j(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 F=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function D(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!z(t,e),...null!=e?e:{}})}
54
52
  /**
55
- * @license
56
- * Copyright 2019 Google LLC
57
- * SPDX-License-Identifier: BSD-3-Clause
58
- */const m=window,x=m.ShadowRoot&&(void 0===m.ShadyCSS||m.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,O=Symbol(),w=new WeakMap;let S=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==O)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(x&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=w.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&w.set(e,t))}return t}toString(){return this.cssText}};const N=t=>new S("string"==typeof t?t:t+"",void 0,O),$=(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 S(o,t,O)},C=(t,e)=>{x?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=m.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},E=x?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return N(e)})(t):t
53
+ * @license
54
+ * Copyright 2017 Google LLC
55
+ * SPDX-License-Identifier: BSD-3-Clause
56
+ */const B=globalThis,P=B.trustedTypes,K=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+T,_=`<${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!==K?K.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)+M+o.slice(c)+T+f):o+T+(-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(M)){const e=h[s++],o=r.getAttribute(t).split(T),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(T)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(rt.test(r.tagName)){const t=r.textContent.split(T),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(T,t+1));)l.push({type:7,index:n}),t+=T.length-1}n++}}static createElement(t,e){const o=H.createElement("template");return o.innerHTML=t,o}};function dt(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=dt(t,r._$AS(t,e.values),r,i)),e}let ut=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=dt(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 ut(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=dt(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=dt(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=dt(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){dt(this,t)}};const Ot={j:M,P:T,A:Z,C:1,M:ft,L:ut,R:Y,V:dt,D:yt,I:gt,H:vt,N:mt,U:bt,B:xt},wt=B.litHtmlPolyfillSupport;wt?.(pt,yt),(B.litHtmlVersions??=[]).push("3.1.0");
59
57
  /**
60
- * @license
61
- * Copyright 2017 Google LLC
62
- * SPDX-License-Identifier: BSD-3-Clause
63
- */;var k;const R=window,I=R.trustedTypes,U=I?I.emptyScript:"",L=R.reactiveElementPolyfillSupport,W={toAttribute(t,e){switch(e){case Boolean:t=t?U: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}},A=(t,e)=>e!==t&&(e==e||t==t),j={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:A};let F=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,o)=>{const i=this._$Ep(o,e);void 0!==i&&(this._$Ev.set(i,o),t.push(i))})),t}static createProperty(t,e=j){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||j}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(E(t))}else void 0!==t&&e.push(E(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return C(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=j){var i;const r=this.constructor._$Ep(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==(null===(i=o.converter)||void 0===i?void 0:i.toAttribute)?o.converter:W).toAttribute(e,o.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:W;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||A)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
58
+ * @license
59
+ * Copyright 2019 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */
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
64
63
  /**
65
- * @license
66
- * Copyright 2017 Google LLC
67
- * SPDX-License-Identifier: BSD-3-Clause
68
- */
69
- var z;F.finalized=!0,F.elementProperties=new Map,F.elementStyles=[],F.shadowRootOptions={mode:"open"},null==L||L({ReactiveElement:F}),(null!==(k=R.reactiveElementVersions)&&void 0!==k?k:R.reactiveElementVersions=[]).push("1.6.1");const B=window,D=B.trustedTypes,K=D?D.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,T="?"+M,Z=`<${T}>`,_=document,H=()=>_.createComment(""),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,q=t=>V(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Y="[ \t\n\f\r]",X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J=/-->/g,Q=/>/g,tt=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,ot=/"/g,it=/^(?:script|style|textarea|title)$/i,rt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),nt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),st=new WeakMap,lt=_.createTreeWalker(_,129,null,!1),ct=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=X;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===X?"!--"===l[1]?a=J:void 0!==l[1]?a=Q:void 0!==l[2]?(it.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=tt):void 0!==l[3]&&(a=tt):a===tt?">"===l[0]?(a=null!=r?r:X,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?tt:'"'===l[3]?ot:et):a===ot||a===et?a=tt:a===J||a===Q?a=X:(a=tt,r=void 0);const h=a===tt&&t[e+1].startsWith("/>")?" ":"";n+=a===X?o+Z:c>=0?(i.push(s),o.slice(0,c)+P+o.slice(c)+M+h):o+M+(-2===c?(i.push(void 0),e):h)}const s=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(s):s,i]};class ft{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ct(t,e);if(this.el=ft.createElement(l,o),lt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=lt.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(P)||e.startsWith(M)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+P).split(M),e=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?yt:"?"===e[1]?gt:"@"===e[1]?vt:ut})}else s.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(it.test(i.tagName)){const t=i.textContent.split(M),e=t.length-1;if(e>0){i.textContent=D?D.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],H()),lt.nextNode(),s.push({type:2,index:++r});i.append(t[e],H())}}}else if(8===i.nodeType)if(i.data===T)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(M,t+1));)s.push({type:7,index:r}),t+=M.length-1}r++}}static createElement(t,e){const o=_.createElement("template");return o.innerHTML=t,o}}function ht(t,e,o=t,i){var r,n,a,s;if(e===nt)return e;let l=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=G(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,o,i)),void 0!==i?(null!==(a=(s=o)._$Co)&&void 0!==a?a:s._$Co=[])[i]=l:o._$Cl=l),void 0!==l&&(e=ht(t,l._$AS(t,e.values),l,i)),e}let pt=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){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(o,!0);lt.currentNode=r;let n=lt.nextNode(),a=0,s=0,l=i[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new dt(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new mt(n,this,t)),this._$AV.push(e),l=i[++s]}a!==(null==l?void 0:l.index)&&(n=lt.nextNode(),a++)}return r}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},dt=class t{constructor(t,e,o,i){var r;this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ht(this,t,e),G(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==nt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):q(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&&G(this._$AH)?this._$AA.nextSibling.data=t:this.$(_.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new pt(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=st.get(t.strings);return void 0===e&&st.set(t.strings,e=new ft(t)),e}T(e){V(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(H()),this.k(H()),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){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{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}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ht(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==nt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ht(this,i[o+a],e,a),s===nt&&(s=this._$AH[a]),n||(n=!G(s)||s!==this._$AH[a]),s===at?t=at:t!==at&&(t+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},yt=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}};const bt=D?D.emptyScript:"";let gt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==at?this.element.setAttribute(this.name,bt):this.element.removeAttribute(this.name)}},vt=class extends ut{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=ht(this,t,e,0))&&void 0!==o?o:at)===nt)return;const i=this._$AH,r=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}},mt=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){ht(this,t)}};const xt={O:P,P:M,A:T,C:1,M:ct,L:pt,D:q,R:ht,I:dt,V:ut,H:gt,N:vt,U:yt,F:mt},Ot=B.litHtmlPolyfillSupport;null==Ot||Ot(ft,dt),(null!==(z=B.litHtmlVersions)&&void 0!==z?z:B.litHtmlVersions=[]).push("2.7.3");
64
+ * @license
65
+ * Copyright 2017 Google LLC
66
+ * SPDX-License-Identifier: BSD-3-Clause
67
+ */,{is:Ut,defineProperty:Lt,getOwnPropertyDescriptor:At,getOwnPropertyNames:Wt,getOwnPropertySymbols:jt,getPrototypeOf:zt}=Object,Ft=globalThis,Dt=Ft.trustedTypes,Bt=Dt?Dt.emptyScript:"",Pt=Ft.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Mt={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}},Tt=(t,e)=>!Ut(t,e),Zt={attribute:!0,type:String,converter:Mt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),Ft.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(Kt("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(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("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:Mt).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:Mt;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??Tt)(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[Kt("elementProperties")]=new Map,_t[Kt("finalized")]=new Map,Pt?.({ReactiveElement:_t}),(Ft.reactiveElementVersions??=[]).push("2.0.2");
70
68
  /**
71
- * @license
72
- * Copyright 2017 Google LLC
73
- * SPDX-License-Identifier: BSD-3-Clause
74
- */
75
- var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new dt(e.insertBefore(H(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return nt}};Nt.finalized=!0,Nt._$litElement$=!0,null===(wt=globalThis.litElementHydrateSupport)||void 0===wt||wt.call(globalThis,{LitElement:Nt});const $t=globalThis.litElementPolyfillSupport;null==$t||$t({LitElement:Nt}),(null!==(St=globalThis.litElementVersions)&&void 0!==St?St:globalThis.litElementVersions=[]).push("3.3.2");const Ct=t=>"string"==typeof t?N(t):t;class Et{static create(t,e,o,i){const r=t=>Ct(null!=t?t:i),n=$`var(${Ct(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$`var(${Ct(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=$`var(${Ct(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=>$`var(${Ct(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):Ct(null!=e?e:t.lastResortDefaultValue()),i=$`var(${Ct(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=>$`var(${Ct(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function kt(t,e){return Ct(`${t.name}: ${e}`)}const Rt={colorWhite:Et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Et.create("--ft-opacity-0","","NUMBER","0"),opacity8:Et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Et.create("--ft-opacity-80","","NUMBER","0.8")},It={display:{fontFamily:Et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ut={backgroundActionPrimary:Et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Rt.colorBrand0),backgroundErrorPrimary:Et.extend("--ft-background-error-primary","Used as background of error components.",Rt.colorRed0),backgroundErrorSubtle:Et.extend("--ft-background-error-subtle","Used as background of subtle error components.",Rt.colorRed10),backgroundInfoPrimary:Et.extend("--ft-background-info-primary","Used as background of information components.",Rt.colorCyan200),backgroundInfoSubtle:Et.extend("--ft-background-info-subtle","Used as background of subtle information components.",Rt.colorCyan10),backgroundWarningPrimary:Et.extend("--ft-background-warning-primary","Used as background of warning components.",Rt.colorOrange300),backgroundWarningSubtle:Et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Rt.colorOrange10),backgroundSuccessPrimary:Et.extend("--ft-background-success-primary","Used as background of success components.",Rt.colorGreen200),backgroundSuccessSubtle:Et.extend("--ft-background-success-subtle","Used as background of subtle success components.",Rt.colorGreen10),backgroundGlobalSurface:Et.extend("--ft-background-global-surface","Used as app background.",Rt.colorWhite),backgroundGlobalOnSurface:Et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Rt.colorGray10),backgroundGlobalOnSurfaceDark:Et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Rt.colorGray30),contentActionPrimary:Et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Rt.colorBrand0),contentWarningPrimary:Et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Rt.colorOrange300),contentWarningIconOnly:Et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Rt.colorOrange0),contentErrorPrimary:Et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Rt.colorRed0),contentErrorIconOnly:Et.extend("--ft-content-error-icon-only","Used on error status icons alone",Rt.colorRed0),contentInfoPrimary:Et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Rt.colorCyan200),contentInfoIconOnly:Et.extend("--ft-content-info-icon-only","Used on info status icons alone",Rt.colorCyan0),contentSuccessIconOnly:Et.extend("--ft-content-success-icon-only","Used on success status icons alone",Rt.colorGreen0),contentSuccessPrimary:Et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Rt.colorGreen200),contentGlobalPrimary:Et.extend("--ft-content-global-primary","Used for main content on the page.",Rt.colorGray500),contentGlobalSecondary:Et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Rt.colorGray200),contentGlobalSubtle:Et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Rt.colorGray0),contentGlobalOnColor:Et.extend("--ft-content-global-on-color","Used for content on a dominant color.",Rt.colorWhite),borderActionPrimary:Et.extend("--ft-border-action-primary","Used as border for primary action components.",Rt.colorBrand0),borderActionFocusRing:Et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Rt.colorCyan0),borderWarningPrimary:Et.extend("--ft-border-warning-primary","Used as border for warning components.",Rt.colorOrange30),borderSuccessPrimary:Et.extend("--ft-border-success-primary","Used as border for success components.",Rt.colorGreen30),borderErrorPrimary:Et.extend("--ft-border-error-primary","Used as border for error components.",Rt.colorRed30),borderInfoPrimary:Et.extend("--ft-border-info-primary","Used as border for information components.",Rt.colorCyan30),borderGlobalSubtle:Et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Rt.colorGray30),borderGlobalPrimary:Et.extend("--ft-border-global-primary","Used as border for element like input.",Rt.colorGray50),borderInputPrimary:Et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Rt.colorGray80)},Lt={largeHeight:Et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Et.extend("--ft-button-large-horizontal-padding","",Rt.spacing4),largeGap:Et.extend("--ft-button-large-gap","",Rt.spacing2),largeBorderRadius:Et.extend("--ft-button-large-border-radius","",Rt.borderRadiusS),largeIconSize:Et.extend("--ft-button-large-icon-size","",Rt.iconSize3),largeBorderWidth:Et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Et.extend("--ft-button-small-horizontal-padding","",Rt.spacing3),smallGap:Et.extend("--ft-button-small-gap","",Rt.spacing2),smallBorderRadius:Et.extend("--ft-button-small-border-radius","",Rt.borderRadiusS),smallIconSize:Et.extend("--ft-button-small-icon-size","",Rt.iconSize2),smallBorderWidth:Et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Et.extend("--ft-button-primary-background-color","",Ut.backgroundActionPrimary),primaryColor:Et.extend("--ft-button-primary-color","",Ut.contentGlobalOnColor),primaryIconColor:Et.extend("--ft-button-primary-icon-color","",Ut.contentGlobalOnColor),primaryStateLayerColor:Et.extend("--ft-button-primary-state-layer-color","",Ut.contentGlobalOnColor),primaryStateLayerOpacityHover:Et.extend("--ft-button-primary-state-layer-opacity-hover","",Rt.opacity16),primaryStateLayerOpacityFocus:Et.extend("--ft-button-primary-state-layer-opacity-focus","",Rt.opacity16),primaryStateLayerOpacityActive:Et.extend("--ft-button-primary-state-layer-opacity-active","",Rt.opacity24),primaryComponentOpacityDisabled:Et.extend("--ft-button-primary-component-opacity-disabled","",Rt.opacity40),focusFocusRingColor:Et.extend("--ft-button-focus-focus-ring-color","",Ut.borderActionFocusRing),tertiaryBackgroundColor:Et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Et.extend("--ft-button-tertiary-color","",Ut.contentActionPrimary),tertiaryIconColor:Et.extend("--ft-button-tertiary-icon-color","",Ut.contentActionPrimary),tertiaryStateLayerColor:Et.extend("--ft-button-tertiary-state-layer-color","",Ut.contentActionPrimary),tertiaryStateLayerOpacityHover:Et.extend("--ft-button-tertiary-state-layer-opacity-hover","",Rt.opacity8),tertiaryStateLayerOpacityFocus:Et.extend("--ft-button-tertiary-state-layer-opacity-focus","",Rt.opacity8),tertiaryStateLayerOpacityActive:Et.extend("--ft-button-tertiary-state-layer-opacity-active","",Rt.opacity16),tertiaryComponentOpacityDisabled:Et.extend("--ft-button-tertiary-component-opacity-disabled","",Rt.opacity40),secondaryBackgroundColor:Et.extend("--ft-button-secondary-background-color","",Rt.colorWhite),secondaryColor:Et.extend("--ft-button-secondary-color","",Ut.contentActionPrimary),secondaryIconColor:Et.extend("--ft-button-secondary-icon-color","",Ut.contentActionPrimary),secondaryStateLayerColor:Et.extend("--ft-button-secondary-state-layer-color","",Ut.contentActionPrimary),secondaryStateLayerOpacityHover:Et.extend("--ft-button-secondary-state-layer-opacity-hover","",Rt.opacity8),secondaryStateLayerOpacityFocus:Et.extend("--ft-button-secondary-state-layer-opacity-focus","",Rt.opacity8),secondaryStateLayerOpacityActive:Et.extend("--ft-button-secondary-state-layer-opacity-active","",Rt.opacity16),secondaryComponentOpacityDisabled:Et.extend("--ft-button-secondary-component-opacity-disabled","",Rt.opacity40),secondaryBorderColor:Et.extend("--ft-button-secondary-border-color","",Ut.borderActionPrimary),neutralBackgroundColor:Et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Et.extend("--ft-button-neutral-icon-color","",Ut.contentGlobalSecondary),neutralColor:Et.extend("--ft-button-neutral-color","",Ut.contentGlobalSecondary),neutralStateLayerColor:Et.extend("--ft-button-neutral-state-layer-color","",Ut.contentGlobalSecondary),neutralStateLayerOpacityHover:Et.extend("--ft-button-neutral-state-layer-opacity-hover","",Rt.opacity8),neutralStateLayerOpacityFocus:Et.extend("--ft-button-neutral-state-layer-opacity-focus","",Rt.opacity8),neutralStateLayerOpacityActive:Et.extend("--ft-button-neutral-state-layer-opacity-active","",Rt.opacity16),neutralComponentOpacityDisabled:Et.extend("--ft-button-neutral-component-opacity-disabled","",Rt.opacity40)};Et.extend("--ft-tabs-top-left-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-top-right-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-label-horizontal-padding","",Rt.spacing4),Et.extend("--ft-tabs-label-vertical-padding","",Rt.spacing3),Et.extend("--ft-tabs-label-gap","",Rt.spacing1),Et.extend("--ft-switch-group-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-group-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-group-gap","",Rt.spacing1),Et.extend("--ft-switch-group-background-color","",Ut.backgroundGlobalSurface),Et.extend("--ft-switch-group-border-color","",Ut.borderGlobalSubtle),Et.create("--ft-switch-group-border-radius","","SIZE","6px"),Et.extend("--ft-switch-label-horizontal-padding","",Rt.spacing2),Et.extend("--ft-switch-label-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-vertical-padding","",Rt.spacing1),Et.create("--ft-switch-focus-outline-width","","SIZE","2px"),Et.extend("--ft-switch-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-switch-option-border-radius","",Rt.borderRadiusS),Et.extend("--ft-switch-off-state-layer-opacity-hover","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-focus","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-active","",Rt.opacity16),Et.extend("--ft-switch-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-switch-off-color","",Ut.contentGlobalSubtle),Et.extend("--ft-switch-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-chart-1-light","for area color charts",Rt.colorBrand40),Et.extend("--ft-chart-1-base","for line charts",Rt.colorBrand0),Et.extend("--ft-chart-2-light","for area color charts",Rt.colorYellow60),Et.extend("--ft-chart-2-base","for line charts",Rt.colorYellow100),Et.extend("--ft-chart-3-light","",Rt.colorUltramarine40),Et.extend("--ft-chart-3-base","",Rt.colorUltramarine70),Et.extend("--ft-chart-4-light","",Rt.colorCyan50),Et.extend("--ft-chart-4-base","",Rt.colorCyan100),Et.extend("--ft-chart-5-light","",Rt.colorRed40),Et.extend("--ft-chart-5-base","",Rt.colorRed60),Et.extend("--ft-chart-6-light","",Rt.colorGreen40),Et.extend("--ft-chart-6-base","",Rt.colorGreen70),Et.extend("--ft-chart-7-light","",Rt.colorOrange70),Et.extend("--ft-chart-7-base","",Rt.colorOrange100),Et.extend("--ft-chart-8-light","",Rt.colorAvocado70),Et.extend("--ft-chart-8-base","",Rt.colorAvocado200),Et.extend("--ft-chart-9-light","",Rt.colorBrown50),Et.extend("--ft-chart-9-base","",Rt.colorBrown200),Et.extend("--ft-chart-10-light","",Rt.colorGray50),Et.extend("--ft-chart-10-base","",Rt.colorGray80),Et.extend("--ft-chart-monochrome-10","",Rt.colorBrand10),Et.extend("--ft-chart-monochrome-20","",Rt.colorBrand20),Et.extend("--ft-chart-monochrome-30","",Rt.colorBrand40),Et.extend("--ft-chart-monochrome-40","",Rt.colorBrand60),Et.extend("--ft-chart-monochrome-50","",Rt.colorBrand0),Et.extend("--ft-chart-monochrome-60","",Rt.colorBrand200),Et.extend("--ft-chip-large-horizontal-padding","",Rt.spacing4),Et.extend("--ft-chip-large-vertical-padding","",Rt.spacing2),Et.extend("--ft-chip-large-gap","",Rt.spacing1),Et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-large-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-large-border-width","","SIZE","1px"),Et.extend("--ft-chip-large-icon-size","",Rt.iconSize3),Et.extend("--ft-chip-medium-horizontal-padding","",Rt.spacing3),Et.extend("--ft-chip-medium-vertical-padding","",Rt.spacing1),Et.extend("--ft-chip-medium-gap","",Rt.spacing1),Et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-medium-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-medium-border-width","","SIZE","1px"),Et.extend("--ft-chip-medium-icon-size","",Rt.iconSize2),Et.extend("--ft-chip-small-horizontal-padding","",Rt.spacing2),Et.extend("--ft-chip-small-vertical-padding","",Rt.spacing05),Et.extend("--ft-chip-small-gap","",Rt.spacing1),Et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-small-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-small-border-width","","SIZE","1px"),Et.extend("--ft-chip-small-icon-size","",Rt.iconSize1),Et.extend("--ft-chip-neutral-background-color","",Ut.backgroundGlobalOnSurface),Et.extend("--ft-chip-neutral-color","",Ut.contentGlobalPrimary),Et.extend("--ft-chip-neutral-border-color","",Ut.borderGlobalSubtle),Et.extend("--ft-chip-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-chip-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-chip-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-chip-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-chip-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-chip-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-chip-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-chip-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-chip-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-chip-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-chip-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-chip-error-border-color","",Ut.borderErrorPrimary),Et.create("--ft-notice-border-width","","SIZE","1px"),Et.extend("--ft-notice-horizontal-padding","",Rt.spacing2),Et.extend("--ft-notice-vertical-padding","",Rt.spacing1),Et.extend("--ft-notice-border-radius","",Rt.borderRadiusS),Et.extend("--ft-notice-gap","",Rt.spacing2),Et.extend("--ft-notice-icon-size","",Rt.iconSize3),Et.extend("--ft-notice-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notice-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notice-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notice-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notice-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notice-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-checkbox-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-checkbox-checked-background-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-color","",Ut.contentGlobalOnColor),Et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-checked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-unchecked-border-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Et.extend("--ft-checkbox-gap","",Rt.spacing3),Et.extend("--ft-toggle-off-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-off-background-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-icon-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-on-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-on-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-on-background-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-icon-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-toggle-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-toggle-gap","",Rt.spacing3),Et.extend("--ft-radio-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-radio-selected-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-selected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-unselected-state-layer-color","",Rt.colorGray80),Et.extend("--ft-radio-unselected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-unselected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Et.create("--ft-radio-focus-outline-width","","SIZE","2px"),Et.extend("--ft-radio-gap","",Rt.spacing3),Et.extend("--ft-notification-icon-size","",Rt.iconSize4),Et.extend("--ft-notification-horizontal-padding","",Rt.spacing4),Et.extend("--ft-notification-vertical-padding","",Rt.spacing4),Et.extend("--ft-notification-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notification-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notification-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notification-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-notification-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-notification-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-notification-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notification-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-notification-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notification-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-notification-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-notification-error-border-color","",Ut.borderErrorPrimary),Et.extend("--ft-notification-border-radius","",Rt.borderRadiusPill),Et.create("--ft-notification-border-width","","SIZE","1px"),Et.extend("--ft-notification-gap-leading","",Rt.spacing2),Et.extend("--ft-notification-gap-trailing","",Rt.spacing8);const Wt={colorPrimary:Et.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Et.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Et.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Et.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Et.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Et.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Et.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Et.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Et.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Et.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Et.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Et.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Et.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Et.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Et.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Et.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Et.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Et.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Et.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Et.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Et.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Et.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Et.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Et.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Et.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Et.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Et.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Et.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Et.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Et.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Et.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Et.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Et.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Et.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Et.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Et.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Et.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Et.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Et.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Et.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Et.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Et.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Et.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Et.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Et.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Et.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Et.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Et.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Et.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class At extends Nt{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 C(o,t.elementStyles),o}}var jt,Ft=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const zt=Symbol("constructorPrototype"),Bt=Symbol("constructorName"),Dt=Symbol("exportpartsDebouncer");class Kt extends At{constructor(){super(),this[jt]=new n(5),this[Bt]=this.constructor.name,this[zt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bt]&&Object.setPrototypeOf(this,this[zt])}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[Dt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}jt=Dt,Ft([s()],Kt.prototype,"exportpartsPrefix",void 0),Ft([v([])],Kt.prototype,"exportpartsPrefixes",void 0),Ft([s()],Kt.prototype,"customStylesheet",void 0);const Pt=$`
69
+ * @license
70
+ * Copyright 2017 Google LLC
71
+ * SPDX-License-Identifier: BSD-3-Clause
72
+ */
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"),de=Symbol.for("lit-nothing"),ue=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=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=ve(this,t,e),ee(t)?t===de||null==t||""===t?(this._$AH!==de&&this._$AR(),this._$AH=de):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!==de&&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=ue.get(t.strings);return void 0===e&&ue.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=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=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===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??"")}},Oe=class extends xe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===de?void 0:t}},we=class extends xe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==de)}},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)??de)===pe)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)}},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");
74
+ /**
75
+ * @license
76
+ * Copyright 2017 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */
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")},ze=window,Fe=ze.ShadowRoot&&(void 0===ze.ShadyCSS||ze.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
+ /**
81
+ * @license
82
+ * Copyright 2019 Google LLC
83
+ * 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)=>{Fe?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 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 Ke=Symbol("constructorPrototype"),Me=Symbol("constructorName"),Te=Symbol("exportpartsDebouncer");class Ze extends De{constructor(){super(),this[Be]=new n(5),this[Me]=this.constructor.name,this[Ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Me]&&Object.setPrototypeOf(this,this[Ke])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Te].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=Te,Pe([R()],Ze.prototype,"exportpartsPrefix",void 0),Pe([D([])],Ze.prototype,"exportpartsPrefixes",void 0),Pe([R()],Ze.prototype,"customStylesheet",void 0);const _e=Rt`
76
85
  .ft-no-text-select {
77
86
  -webkit-touch-callout: none;
78
87
  -webkit-user-select: none;
@@ -81,7 +90,7 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
81
90
  -ms-user-select: none;
82
91
  user-select: none;
83
92
  }
84
- `;$`
93
+ `;Rt`
85
94
  .ft-word-wrap {
86
95
  white-space: normal;
87
96
  word-wrap: break-word;
@@ -93,7 +102,7 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
93
102
  -webkit-hyphens: auto;
94
103
  hyphens: auto
95
104
  }
96
- `;const Mt=$`
105
+ `;const He=Rt`
97
106
  .ft-safari-ellipsis-fix {
98
107
  margin-right: 0;
99
108
 
@@ -104,36 +113,36 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
104
113
  display: inline-block;
105
114
  width: 0;
106
115
  }
107
- `;class Tt{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()}}}function Zt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _t,Ht,Gt;const Vt=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),Yt=Symbol("internalStores");class Xt extends Kt{constructor(){super(...arguments),this[_t]=new Map,this[Ht]=new Map,this[Gt]=[]}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[Yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yt].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zt(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[Yt].delete(e)}setupStore(t,e){this[Yt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yt].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[qt].has(t.store):this[qt].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qt].set(t,e.subscribe((()=>this.updateFromStores()))),Zt(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[Vt].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Vt].forEach((t=>t())),this[Vt]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Jt(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 Qt(t){return!!t&&!!t[De]}function te(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)===Ke}(t)||Array.isArray(t)||!!t[Be]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Be])||ae(t)||se(t))}function ee(t,e,o){void 0===o&&(o=!1),0===oe(t)?(o?Object.keys:Pe)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function oe(t){var e=t[De];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ae(t)?2:se(t)?3:0}function ie(t,e){return 2===oe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,o){var i=oe(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function ne(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ae(t){return Ae&&t instanceof Map}function se(t){return je&&t instanceof Set}function le(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Me(t);delete e[De];for(var o=Pe(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 fe(t,e){return void 0===e&&(e=!1),pe(t)||Qt(t)||!te(t)||(oe(t)>1&&(t.set=t.add=t.clear=t.delete=he),Object.freeze(t),e&&ee(t,(function(t,e){return fe(e,!0)}),!0)),t}function he(){Jt(2)}function pe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function de(t){var e=Te[t];return e||Jt(18,t),e}function ue(){return Le}function ye(t,e){e&&(de("Patches"),t.u=[],t.s=[],t.v=e)}function be(t){ge(t),t.p.forEach(me),t.p=null}function ge(t){t===Le&&(Le=t.l)}function ve(t){return Le={p:[],l:Le,h:t,m:!0,_:0}}function me(t){var e=t[De];0===e.i||1===e.i?e.j():e.g=!0}function xe(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||de("ES5").S(e,t,i),i?(o[De].P&&(be(e),Jt(4)),te(t)&&(t=Oe(e,t),e.l||Se(e,t)),e.u&&de("Patches").M(o[De].t,t,e.u,e.s)):t=Oe(e,o,[]),be(e),e.u&&e.v(e.u,e.s),t!==ze?t:void 0}function Oe(t,e,o){if(pe(e))return e;var i=e[De];if(!i)return ee(e,(function(r,n){return we(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Se(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=ce(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),ee(n,(function(e,n){return we(t,i,r,e,n,o,a)})),Se(t,r,!1),o&&t.u&&de("Patches").N(i,o,t.u,t.s)}return i.o}function we(t,e,o,i,r,n,a){if(Qt(r)){var s=Oe(t,r,n&&e&&3!==e.i&&!ie(e.R,i)?n.concat(i):void 0);if(re(o,i,s),!Qt(s))return;t.m=!1}else a&&o.add(r);if(te(r)&&!pe(r)){if(!t.h.D&&t._<1)return;Oe(t,r),e&&e.A.l||Se(t,r)}}function Se(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fe(e,o)}function Ne(t,e){var o=t[De];return(o?le(o):t)[e]}function $e(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 Ce(t){t.P||(t.P=!0,t.l&&Ce(t.l))}function Ee(t){t.o||(t.o=ce(t.t))}function ke(t,e,o){var i=ae(e)?de("MapSet").F(e,o):se(e)?de("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:ue(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Ze;o&&(r=[i],n=_e);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):de("ES5").J(e,o);return(o?o.A:ue()).p.push(i),i}function Re(t){return Qt(t)||Jt(22,t),function t(e){if(!te(e))return e;var o,i=e[De],r=oe(e);if(i){if(!i.P&&(i.i<4||!de("ES5").K(i)))return i.t;i.I=!0,o=Ie(e,r),i.I=!1}else o=Ie(e,r);return ee(o,(function(e,r){i&&function(t,e){return 2===oe(t)?t.get(e):t[e]}(i.t,e)===r||re(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}_t=qt,Ht=Yt,Gt=Vt;var Ue,Le,We="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ae="undefined"!=typeof Map,je="undefined"!=typeof Set,Fe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ze=We?Symbol.for("immer-nothing"):((Ue={})["immer-nothing"]=!0,Ue),Be=We?Symbol.for("immer-draftable"):"__$immer_draftable",De=We?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,Pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Me=Object.getOwnPropertyDescriptors||function(t){var e={};return Pe(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Te={},Ze={get:function(t,e){if(e===De)return t;var o=le(t);if(!ie(o,e))return function(t,e,o){var i,r=$e(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||!te(i)?i:i===Ne(t.t,e)?(Ee(t),t.o[e]=ke(t.A.h,i,t)):i},has:function(t,e){return e in le(t)},ownKeys:function(t){return Reflect.ownKeys(le(t))},set:function(t,e,o){var i=$e(le(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ne(le(t),e),n=null==r?void 0:r[De];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ne(o,r)&&(void 0!==o||ie(t.t,e)))return!0;Ee(t),Ce(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!==Ne(t.t,e)||e in t.t?(t.R[e]=!1,Ee(t),Ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=le(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(){Jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Jt(12)}},_e={};ee(Ze,(function(t,e){_e[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_e.deleteProperty=function(t,e){return _e.set.call(this,t,e,void 0)},_e.set=function(t,e,o){return Ze.set.call(this,t[0],e,o,t[0])};var He=function(){function t(t){var e=this;this.O=Fe,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Jt(6),void 0!==i&&"function"!=typeof i&&Jt(7),te(t)){var s=ve(e),l=ke(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?be(s):ge(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ye(s,i),xe(t,s)}),(function(t){throw be(s),t})):(ye(s,i),xe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ze&&(a=void 0),e.D&&fe(a,!0),i){var f=[],h=[];de("Patches").M(t,a,f,h),i(f,h)}return a}Jt(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){te(t)||Jt(8),Qt(t)&&(t=Re(t));var e=ve(this),o=ke(this,t,void 0);return o[De].C=!0,ge(e),o},e.finishDraft=function(t,e){var o=(t&&t[De]).A;return ye(o,e),xe(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fe&&Jt(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=de("Patches").$;return Qt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ge=new He,Ve=Ge.produce;function qe(t){return qe="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},qe(t)}function Ye(t){var e=function(t,e){if("object"!==qe(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==qe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qe(e)?e:String(e)}function Xe(t,e,o){return(e=Ye(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Je(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 Qe(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(o),!0).forEach((function(e){Xe(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function to(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. "}Ge.produceWithPatches.bind(Ge),Ge.setAutoFreeze.bind(Ge),Ge.setUseProxies.bind(Ge),Ge.applyPatches.bind(Ge),Ge.createDraft.bind(Ge),Ge.finishDraft.bind(Ge);var eo="function"==typeof Symbol&&Symbol.observable||"@@observable",oo=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+oo(),REPLACE:"@@redux/REPLACE"+oo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+oo()}};function ro(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(to(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(to(1));return o(ro)(t,e)}if("function"!=typeof t)throw new Error(to(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(to(3));return n}function h(t){if("function"!=typeof t)throw new Error(to(4));if(l)throw new Error(to(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(to(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(to(7));if(void 0===t.type)throw new Error(to(8));if(l)throw new Error(to(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:io.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(to(10));r=t,p({type:io.REPLACE})}})[eo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(to(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[eo]=function(){return this},t},i}function no(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:io.INIT}))throw new Error(to(12));if(void 0===o(void 0,{type:io.PROBE_UNKNOWN_ACTION()}))throw new Error(to(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(to(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function ao(){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 so(){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(to(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=ao.apply(void 0,n)(o.dispatch),Qe(Qe({},o),{},{dispatch:i})}}}function lo(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 co=lo();co.withExtraArgument=lo;var fo,ho=co,po=(fo=function(t,e){return fo=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])},fo(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}fo(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),uo=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yo=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},bo=Object.defineProperty,go=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,wo=function(t,e,o){return e in t?bo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},So=function(t,e){for(var o in e||(e={}))xo.call(e,o)&&wo(t,o,e[o]);if(mo)for(var i=0,r=mo(e);i<r.length;i++){o=r[i];Oo.call(e,o)&&wo(t,o,e[o])}return t},No=function(t,e){return go(t,vo(e))},$o="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ao:ao.apply(null,arguments)};var Co=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 po(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,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array),Eo=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 po(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,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array);function ko(t){return te(t)?Ve(t,(function(){})):t}function Ro(){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 Co;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(ho.withExtraArgument(o.extraArgument)):i.push(ho));return i}(t)}}function Io(t){var e,o=Ro(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,d=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=no(n)}var u=s;"function"==typeof u&&(u=u(o));var y=so.apply(void 0,u),b=ao;c&&(b=$o(So({trace:!1},"object"==typeof c&&c)));var g=new Eo(y),v=g;return Array.isArray(d)?v=yo([y],d):"function"==typeof d&&(v=d(g)),ro(e,h,b.apply(void 0,v))}function Uo(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 So(So({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 Lo(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 Wo(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:ko(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Lo(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=So(So({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Lo(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ko(t())};else{var c=ko(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=yo([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(Qt(t))return void 0===(i=o(t,e))?t:i;if(te(t))return Ve(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Uo(c,i):Uo(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ao=["name","message","stack","code"],jo=function(t,e){this.payload=t,this.meta=e},Fo=function(t,e){this.payload=t,this.meta=e},zo=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ao;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Bo(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=Uo(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:No(So({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Uo(t+"/pending",(function(t,e,o){return{payload:void 0,meta:No(So({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Uo(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||zo)(t||"Rejected"),meta:No(So({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function d(t){f=t,p.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,b,g,v;return uo(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:d,rejectWithValue:function(t,e){return new jo(t,e)},fulfillWithValue:function(t,e){return new Fo(t,e)}})).then((function(e){if(e instanceof jo)throw e;return e instanceof Fo?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof jo?n(null,h,t,v.payload,v.meta):n(v,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:h,arg:t,unwrap:function(){return u.then(Bo)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Do="listenerMiddleware";Uo(Do+"/add"),Uo(Do+"/removeAll"),Uo(Do+"/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[De];return Ze.get(e,t)},set:function(e){var o=this[De];Ze.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][De];if(!r.P)switch(r.i){case 5:i(r)&&Ce(r);break;case 4:o(r)&&Ce(r)}}}function o(t){for(var e=t.t,o=t.k,i=Pe(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==De){var a=e[n];if(void 0===a&&!ie(e,n))return!0;var s=o[n],l=s&&s[De];if(l?l.t!==a:!ne(s,a))return!0}}var c=!!e[De];return i.length!==Pe(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){Te[t]||(Te[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=Me(o);delete n[De];for(var a=Pe(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:ue(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,De,{value:n,writable:!0}),r},S:function(t,o,r){r?Qt(o)&&o[De].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[De];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)ee(n,(function(e){e!==De&&(void 0!==r[e]||ie(r,e)?a[e]||t(n[e]):(a[e]=!0,Ce(o)))})),ee(r,(function(t){void 0!==n[t]||ie(n,t)||(a[t]=!1,Ce(o))}));else if(5===s){if(i(o)&&(Ce(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ko{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(Zt(r))return r;if(null==i)return;const n=Wo({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Io({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 Ko(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),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 Po=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!b(t,e),attribute:!1,...e};s(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})}},Mo=Symbol("elementInternals");var To,Zo,_o;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_o=null===(Zo=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===Zo?void 0:Zo.toString())&&void 0!==_o?_o:""),Go=1,Vo=2,qo=t=>(...e)=>({_$litDirective$:t,values:e});
116
+ `;class Ge{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()}}}function Ve(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var qe,Ye,Xe;const Je=Symbol("internalReduxEventsUnsubscribers"),Qe=Symbol("internalStoresUnsubscribers"),to=Symbol("internalStores");class eo extends Ze{constructor(){super(...arguments),this[qe]=new Map,this[Ye]=new Map,this[Xe]=[]}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[to].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[to].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[to].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ve(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[to].delete(e)}setupStore(t,e){this[to].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[to].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[Qe].has(t.store):this[Qe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Qe].set(t,e.subscribe((()=>this.updateFromStores()))),Ve(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[Je].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Je].forEach((t=>t())),this[Je]=[]}unsubscribeFromStore(t){this[Qe].has(t)&&this[Qe].get(t)(),this[Qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oo(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 io(t){return!!t&&!!t[Zo]}function ro(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)===_o}(t)||Array.isArray(t)||!!t[To]||!!(null===(e=t.constructor)||void 0===e?void 0:e[To])||ho(t)||fo(t))}function no(t,e,o){void 0===o&&(o=!1),0===so(t)?(o?Object.keys:Ho)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function so(t){var e=t[Zo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ho(t)?2:fo(t)?3:0}function ao(t,e){return 2===so(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function lo(t,e,o){var i=so(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function co(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ho(t){return Bo&&t instanceof Map}function fo(t){return Po&&t instanceof Set}function po(t){return t.o||t.t}function uo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Go(t);delete e[Zo];for(var o=Ho(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 yo(t,e){return void 0===e&&(e=!1),bo(t)||io(t)||!ro(t)||(so(t)>1&&(t.set=t.add=t.clear=t.delete=go),Object.freeze(t),e&&no(t,(function(t,e){return yo(e,!0)}),!0)),t}function go(){oo(2)}function bo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function vo(t){var e=Vo[t];return e||oo(18,t),e}function mo(){return Fo}function xo(t,e){e&&(vo("Patches"),t.u=[],t.s=[],t.v=e)}function Oo(t){wo(t),t.p.forEach(No),t.p=null}function wo(t){t===Fo&&(Fo=t.l)}function So(t){return Fo={p:[],l:Fo,h:t,m:!0,_:0}}function No(t){var e=t[Zo];0===e.i||1===e.i?e.j():e.g=!0}function $o(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||vo("ES5").S(e,t,i),i?(o[Zo].P&&(Oo(e),oo(4)),ro(t)&&(t=Co(e,t),e.l||ko(e,t)),e.u&&vo("Patches").M(o[Zo].t,t,e.u,e.s)):t=Co(e,o,[]),Oo(e),e.u&&e.v(e.u,e.s),t!==Mo?t:void 0}function Co(t,e,o){if(bo(e))return e;var i=e[Zo];if(!i)return no(e,(function(r,n){return Eo(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return ko(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=uo(i.k):i.o,n=r,s=!1;3===i.i&&(n=new Set(r),r.clear(),s=!0),no(n,(function(e,n){return Eo(t,i,r,e,n,o,s)})),ko(t,r,!1),o&&t.u&&vo("Patches").N(i,o,t.u,t.s)}return i.o}function Eo(t,e,o,i,r,n,s){if(io(r)){var a=Co(t,r,n&&e&&3!==e.i&&!ao(e.R,i)?n.concat(i):void 0);if(lo(o,i,a),!io(a))return;t.m=!1}else s&&o.add(r);if(ro(r)&&!bo(r)){if(!t.h.D&&t._<1)return;Co(t,r),e&&e.A.l||ko(t,r)}}function ko(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&yo(e,o)}function Ro(t,e){var o=t[Zo];return(o?po(o):t)[e]}function Io(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 Uo(t){t.P||(t.P=!0,t.l&&Uo(t.l))}function Lo(t){t.o||(t.o=uo(t.t))}function Ao(t,e,o){var i=ho(e)?vo("MapSet").F(e,o):fo(e)?vo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:mo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=qo;o&&(r=[i],n=Yo);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return i.k=l,i.j=a,l}(e,o):vo("ES5").J(e,o);return(o?o.A:mo()).p.push(i),i}function Wo(t){return io(t)||oo(22,t),function t(e){if(!ro(e))return e;var o,i=e[Zo],r=so(e);if(i){if(!i.P&&(i.i<4||!vo("ES5").K(i)))return i.t;i.I=!0,o=jo(e,r),i.I=!1}else o=jo(e,r);return no(o,(function(e,r){i&&function(t,e){return 2===so(t)?t.get(e):t[e]}(i.t,e)===r||lo(o,e,t(r))})),3===r?new Set(o):o}(t)}function jo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return uo(t)}qe=Qe,Ye=to,Xe=Je;var zo,Fo,Do="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Bo="undefined"!=typeof Map,Po="undefined"!=typeof Set,Ko="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Mo=Do?Symbol.for("immer-nothing"):((zo={})["immer-nothing"]=!0,zo),To=Do?Symbol.for("immer-draftable"):"__$immer_draftable",Zo=Do?Symbol.for("immer-state"):"__$immer_state",_o=""+Object.prototype.constructor,Ho="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Go=Object.getOwnPropertyDescriptors||function(t){var e={};return Ho(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Vo={},qo={get:function(t,e){if(e===Zo)return t;var o=po(t);if(!ao(o,e))return function(t,e,o){var i,r=Io(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||!ro(i)?i:i===Ro(t.t,e)?(Lo(t),t.o[e]=Ao(t.A.h,i,t)):i},has:function(t,e){return e in po(t)},ownKeys:function(t){return Reflect.ownKeys(po(t))},set:function(t,e,o){var i=Io(po(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ro(po(t),e),n=null==r?void 0:r[Zo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(co(o,r)&&(void 0!==o||ao(t.t,e)))return!0;Lo(t),Uo(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!==Ro(t.t,e)||e in t.t?(t.R[e]=!1,Lo(t),Uo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=po(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(){oo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oo(12)}},Yo={};no(qo,(function(t,e){Yo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Yo.deleteProperty=function(t,e){return Yo.set.call(this,t,e,void 0)},Yo.set=function(t,e,o){return qo.set.call(this,t[0],e,o,t[0])};var Xo=function(){function t(t){var e=this;this.O=Ko,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&&oo(6),void 0!==i&&"function"!=typeof i&&oo(7),ro(t)){var a=So(e),l=Ao(e,t,void 0),c=!0;try{s=o(l),c=!1}finally{c?Oo(a):wo(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return xo(a,i),$o(t,a)}),(function(t){throw Oo(a),t})):(xo(a,i),$o(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=o(t))&&(s=t),s===Mo&&(s=void 0),e.D&&yo(s,!0),i){var h=[],f=[];vo("Patches").M(t,s,h,f),i(h,f)}return s}oo(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){ro(t)||oo(8),io(t)&&(t=Wo(t));var e=So(this),o=Ao(this,t,void 0);return o[Zo].C=!0,wo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Zo]).A;return xo(o,e),$o(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ko&&oo(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=vo("Patches").$;return io(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Jo=new Xo,Qo=Jo.produce;function ti(t){return ti="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},ti(t)}function ei(t){var e=function(t,e){if("object"!==ti(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ti(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ti(e)?e:String(e)}function oi(t,e,o){return(e=ei(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ii(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 ri(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ii(Object(o),!0).forEach((function(e){oi(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ii(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ni(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. "}Jo.produceWithPatches.bind(Jo),Jo.setAutoFreeze.bind(Jo),Jo.setUseProxies.bind(Jo),Jo.applyPatches.bind(Jo),Jo.createDraft.bind(Jo),Jo.finishDraft.bind(Jo);var si="function"==typeof Symbol&&Symbol.observable||"@@observable",ai=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+ai(),REPLACE:"@@redux/REPLACE"+ai(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ai()}};function ci(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ni(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ni(1));return o(ci)(t,e)}if("function"!=typeof t)throw new Error(ni(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(ni(3));return n}function f(t){if("function"!=typeof t)throw new Error(ni(4));if(l)throw new Error(ni(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(ni(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(ni(7));if(void 0===t.type)throw new Error(ni(8));if(l)throw new Error(ni(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:li.INIT}),(i={dispatch:p,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ni(10));r=t,p({type:li.REPLACE})}})[si]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ni(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[si]=function(){return this},t},i}function hi(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:li.INIT}))throw new Error(ni(12));if(void 0===o(void 0,{type:li.PROBE_UNKNOWN_ACTION()}))throw new Error(ni(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(ni(14));r[l]=f,i=i||f!==h}return(i=i||s.length!==Object.keys(t).length)?r:t}}function fi(){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 pi(){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(ni(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=fi.apply(void 0,n)(o.dispatch),ri(ri({},o),{},{dispatch:i})}}}function di(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 ui=di();ui.withExtraArgument=di;var yi,gi=ui,bi=(yi=function(t,e){return yi=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])},yi(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}yi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),vi=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])}}},mi=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},xi=Object.defineProperty,Oi=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,$i=Object.prototype.propertyIsEnumerable,Ci=function(t,e,o){return e in t?xi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ei=function(t,e){for(var o in e||(e={}))Ni.call(e,o)&&Ci(t,o,e[o]);if(Si)for(var i=0,r=Si(e);i<r.length;i++){o=r[i];$i.call(e,o)&&Ci(t,o,e[o])}return t},ki=function(t,e){return Oi(t,wi(e))},Ri="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?fi:fi.apply(null,arguments)};var Ii=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 bi(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,mi([void 0],t[0].concat(this)))):new(e.bind.apply(e,mi([void 0],t.concat(this))))},e}(Array),Ui=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 bi(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,mi([void 0],t[0].concat(this)))):new(e.bind.apply(e,mi([void 0],t.concat(this))))},e}(Array);function Li(t){return ro(t)?Qo(t,(function(){})):t}function Ai(){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 Ii;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(gi.withExtraArgument(o.extraArgument)):i.push(gi));return i}(t)}}function Wi(t){var e,o=Ai(),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,d=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=hi(n)}var u=a;"function"==typeof u&&(u=u(o));var y=pi.apply(void 0,u),g=fi;c&&(g=Ri(Ei({trace:!1},"object"==typeof c&&c)));var b=new Ui(y),v=b;return Array.isArray(d)?v=mi([y],d):"function"==typeof d&&(v=d(b)),ci(e,f,g.apply(void 0,v))}function ji(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 Ei(Ei({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 zi(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 Fi(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:Li(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?zi(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=Ei(Ei({},r),a);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?zi(e):[e,o,i],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Li(t())};else{var c=Li(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=mi([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(io(t))return void 0===(i=o(t,e))?t:i;if(ro(t))return Qo(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?ji(c,i):ji(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 Di=["name","message","stack","code"],Bi=function(t,e){this.payload=t,this.meta=e},Pi=function(t,e){this.payload=t,this.meta=e},Ki=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Di;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Mi(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=ji(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:ki(Ei({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=ji(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ki(Ei({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ji(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Ki)(t||"Rejected"),meta:ki(Ei({},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 d(t){h=t,p.abort()}var u=function(){return s=this,u=null,y=function(){var s,u,y,g,b,v;return vi(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==(u=null==o?void 0:o.getPendingMeta)?void 0:u.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:d,rejectWithValue:function(t,e){return new Bi(t,e)},fulfillWithValue:function(t,e){return new Pi(t,e)}})).then((function(e){if(e instanceof Bi)throw e;return e instanceof Pi?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 Bi?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,u)).next())}));var s,u,y}();return Object.assign(u,{abort:d,requestId:f,arg:t,unwrap:function(){return u.then(Mi)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Ti="listenerMiddleware";ji(Ti+"/add"),ji(Ti+"/removeAll"),ji(Ti+"/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[Zo];return qo.get(e,t)},set:function(e){var o=this[Zo];qo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Zo];if(!r.P)switch(r.i){case 5:i(r)&&Uo(r);break;case 4:o(r)&&Uo(r)}}}function o(t){for(var e=t.t,o=t.k,i=Ho(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Zo){var s=e[n];if(void 0===s&&!ao(e,n))return!0;var a=o[n],l=a&&a[Zo];if(l?l.t!==s:!co(a,s))return!0}}var c=!!e[Zo];return i.length!==Ho(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){Vo[t]||(Vo[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=Go(o);delete n[Zo];for(var s=Ho(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:mo(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Zo,{value:n,writable:!0}),r},S:function(t,o,r){r?io(o)&&o[Zo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Zo];if(o){var r=o.t,n=o.k,s=o.R,a=o.i;if(4===a)no(n,(function(e){e!==Zo&&(void 0!==r[e]||ao(r,e)?s[e]||t(n[e]):(s[e]=!0,Uo(o)))})),no(r,(function(t){void 0!==n[t]||ao(n,t)||(s[t]=!1,Uo(o))}));else if(5===a){if(i(o)&&(Uo(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 Zi{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(Ve(r))return r;if(null==i)return;const n=Fi({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),s=Wi({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 Zi(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),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 _i=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!z(t,e),attribute:!1,...e};R(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})}},Hi=Symbol("elementInternals");var Gi,Vi,qi;const Yi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qi=null===(Vi=null===(Gi=window.safari)||void 0===Gi?void 0:Gi.pushNotification)||void 0===Vi?void 0:Vi.toString())&&void 0!==qi?qi:""),Xi=1,Ji=2,Qi=t=>(...e)=>({_$litDirective$:t,values:e});
108
117
  /**
109
- * @license
110
- * Copyright 2017 Google LLC
111
- * SPDX-License-Identifier: BSD-3-Clause
112
- */class Yo{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)}}
118
+ * @license
119
+ * Copyright 2017 Google LLC
120
+ * SPDX-License-Identifier: BSD-3-Clause
121
+ */let tr=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)}};
113
122
  /**
114
- * @license
115
- * Copyright 2020 Google LLC
116
- * SPDX-License-Identifier: BSD-3-Clause
117
- */const{I:Xo}=xt,Jo=()=>document.createComment(""),Qo=(t,e,o)=>{var i;const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Jo(),n),i=r.insertBefore(Jo(),n);o=new Xo(e,i,t,t.options)}else{const e=o._$AB.nextSibling,a=o._$AM,s=a!==t;if(s){let e;null===(i=o._$AQ)||void 0===i||i.call(o,t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==a._$AU&&o._$AP(e)}if(e!==n||s){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},ti=(t,e,o=t)=>(t._$AI(e,o),t),ei={},oi=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let o=t._$AA;const i=t._$AB.nextSibling;for(;o!==i;){const t=o.nextSibling;o.remove(),o=t}},ii=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},ri=qo(class extends Yo{constructor(t){if(super(t),t.type!==Vo)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,i]){var r;const n=(t=>t._$AH)(t),{values:a,keys:s}=this.dt(e,o,i);if(!Array.isArray(n))return this.ht=s,a;const l=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let f,h,p=0,d=n.length-1,u=0,y=a.length-1;for(;p<=d&&u<=y;)if(null===n[p])p++;else if(null===n[d])d--;else if(l[p]===s[u])c[u]=ti(n[p],a[u]),p++,u++;else if(l[d]===s[y])c[y]=ti(n[d],a[y]),d--,y--;else if(l[p]===s[y])c[y]=ti(n[p],a[y]),Qo(t,c[y+1],n[p]),p++,y--;else if(l[d]===s[u])c[u]=ti(n[d],a[u]),Qo(t,n[p],n[d]),d--,u++;else if(void 0===f&&(f=ii(s,u,y),h=ii(l,p,d)),f.has(l[p]))if(f.has(l[d])){const e=h.get(s[u]),o=void 0!==e?n[e]:null;if(null===o){const e=Qo(t,n[p]);ti(e,a[u]),c[u]=e}else c[u]=ti(o,a[u]),Qo(t,n[p],o),n[e]=null;u++}else oi(n[d]),d--;else oi(n[p]),p++;for(;u<=y;){const e=Qo(t,c[y+1]);ti(e,a[u]),c[u++]=e}for(;p<=d;){const t=n[p++];null!==t&&oi(t)}return this.ht=s,((t,e=ei)=>{t._$AH=e})(t,c),nt}}),ni={spacing:Et.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ai=$`
123
+ * @license
124
+ * Copyright 2020 Google LLC
125
+ * SPDX-License-Identifier: BSD-3-Clause
126
+ */const{D:er}=Ot,or=()=>document.createComment(""),ir=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(or(),r),n=i.insertBefore(or(),r);o=new er(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},rr=(t,e,o=t)=>(t._$AI(e,o),t),nr={},sr=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}},ar=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},lr=Qi(class extends tr{constructor(t){if(super(t),t.type!==Ji)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,d=0,u=n.length-1;for(;f<=p&&d<=u;)if(null===r[f])f++;else if(null===r[p])p--;else if(a[f]===s[d])l[d]=rr(r[f],n[d]),f++,d++;else if(a[p]===s[u])l[u]=rr(r[p],n[u]),p--,u--;else if(a[f]===s[u])l[u]=rr(r[f],n[u]),ir(t,l[u+1],r[f]),f++,u--;else if(a[p]===s[d])l[d]=rr(r[p],n[d]),ir(t,r[f],r[p]),p--,d++;else if(void 0===c&&(c=ar(s,d,u),h=ar(a,f,p)),c.has(a[f]))if(c.has(a[p])){const e=h.get(s[d]),o=void 0!==e?r[e]:null;if(null===o){const e=ir(t,r[f]);rr(e,n[d]),l[d]=e}else l[d]=rr(o,n[d]),ir(t,r[f],o),r[e]=null;d++}else sr(r[p]),p--;else sr(r[f]),f++;for(;d<=u;){const e=ir(t,l[u+1]);rr(e,n[d]),l[d++]=e}for(;f<=p;){const t=r[f++];null!==t&&sr(t)}return this.dt=s,((t,e=nr)=>{t._$AH=e})(t,l),st}}),cr={spacing:Re.create("--ft-search-selected-facets-spacing","","SIZE","8px")},hr=Rt`
118
127
  .ft-search-selected-facets--container {
119
128
  display: flex;
120
129
  flex-wrap: wrap;
121
- gap: ${ni.spacing};
130
+ gap: ${cr.spacing};
122
131
  }
123
- `,si={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}};
132
+ `,fr={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}};
124
133
  /**
125
- * @license
126
- * Copyright 2017 Google LLC
127
- * SPDX-License-Identifier: BSD-3-Clause
128
- */var li,ci,fi,hi,pi,di,ui,yi,bi,gi,vi,mi,xi,Oi;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(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 g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];g.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new g(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=g),e.Headers=l,e.Request=y,e.Response=g,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"}(li||(li={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ci||(ci={})),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"}(fi||(fi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(hi||(hi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(pi||(pi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(di||(di={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ui||(ui={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(yi||(yi={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(bi||(bi={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(gi||(gi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(vi||(vi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(mi||(mi={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(xi||(xi={})),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"}(Oi||(Oi={})),Oi.PERSONAL_BOOK_SHARE_USER,Oi.PERSONAL_BOOK_USER,Oi.HTML_EXPORT_USER,Oi.PERSONAL_BOOK_USER,Oi.PDF_EXPORT_USER,Oi.PERSONAL_BOOK_USER,Oi.KHUB_ADMIN,Oi.CONTENT_PUBLISHER,Oi.ADMIN,Oi.KHUB_ADMIN,Oi.USERS_ADMIN,Oi.PORTAL_ADMIN,Oi.DEVELOPER,Oi.BETA_USER,Oi.DEBUG_USER;const wi=$`
129
- `,Si=Ko.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 Ni{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Si.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?Ni.build(t):null!==(e=Ni.API)&&void 0!==e?e:Ni.API=Ni.build()}static await(t){return new Promise((e=>{let o=Ni.get(t);if(o)e(o);else{const i=Si.subscribe((()=>{o=Ni.get(t),o&&(i(),e(o))}))}}))}}var $i;const Ci=Symbol("clearAfterUnitTest");class Ei{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[$i]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Si.getState().uiLocale,Si.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Si.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};b(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Tt(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>u(0).then((()=>t())).catch((()=>null)))))}}$i=Ci,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ei((async(t,e)=>(await Ni.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ei((async(t,e)=>(await Ni.await()).getCustomMessageContext(t,e))));const ki=window.FluidTopicsI18nService,Ri=window.FluidTopicsCustomI18nService;var Ii=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ui extends Kt{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=()=>Ni.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return rt`
134
+ * @license
135
+ * Copyright 2017 Google LLC
136
+ * SPDX-License-Identifier: BSD-3-Clause
137
+ */var pr,dr,ur,yr,gr,br,vr,mr,xr,Or,wr,Sr,Nr,$r;!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 d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(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 u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var 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"}(pr||(pr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(dr||(dr={})),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"}(ur||(ur={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(yr||(yr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(gr||(gr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(br||(br={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(vr||(vr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(mr||(mr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(xr||(xr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Or||(Or={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(wr||(wr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Sr||(Sr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Nr||(Nr={})),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"}($r||($r={})),$r.PERSONAL_BOOK_SHARE_USER,$r.PERSONAL_BOOK_USER,$r.HTML_EXPORT_USER,$r.PERSONAL_BOOK_USER,$r.PDF_EXPORT_USER,$r.PERSONAL_BOOK_USER,$r.KHUB_ADMIN,$r.CONTENT_PUBLISHER,$r.ADMIN,$r.KHUB_ADMIN,$r.USERS_ADMIN,$r.PORTAL_ADMIN,$r.DEVELOPER,$r.BETA_USER,$r.DEBUG_USER;const Cr=Rt`
138
+ `,Er=Zi.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 kr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Er.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?kr.build(t):null!==(e=kr.API)&&void 0!==e?e:kr.API=kr.build()}static await(t){return new Promise((e=>{let o=kr.get(t);if(o)e(o);else{const i=Er.subscribe((()=>{o=kr.get(t),o&&(i(),e(o))}))}}))}}var Rr;const Ir=Symbol("clearAfterUnitTest");class Ur{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Rr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Er.getState().uiLocale,Er.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Er.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 Ge(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)))))}}Rr=Ir,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ur((async(t,e)=>(await kr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ur((async(t,e)=>(await kr.await()).getCustomMessageContext(t,e))));const Lr=window.FluidTopicsI18nService,Ar=window.FluidTopicsCustomI18nService;var Wr=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 jr 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=()=>kr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return fe`
130
139
  <slot></slot>
131
- `}update(t){super.update(t),t.has("baseUrl")&&Si.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Si.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Si.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Si.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Si.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Si.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Si.actions.setSession(this.session),t.has("availableUiLocales")&&Si.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ki.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()))))}}Ui.elementDefinitions={},Ui.styles=wi,Ii([s()],Ui.prototype,"baseUrl",void 0),Ii([s()],Ui.prototype,"apiIntegrationIdentifier",void 0),Ii([s()],Ui.prototype,"uiLocale",void 0),Ii([v([])],Ui.prototype,"availableUiLocales",void 0),Ii([s({type:Boolean})],Ui.prototype,"editorMode",void 0),Ii([s({type:Boolean})],Ui.prototype,"noCustom",void 0),Ii([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ui.prototype,"noCustomComponent",void 0),Ii([s({type:Boolean})],Ui.prototype,"withManualResources",void 0),Ii([v([])],Ui.prototype,"messageContexts",void 0),Ii([v(void 0)],Ui.prototype,"session",void 0),Ii([s({type:Object})],Ui.prototype,"apiProvider",void 0);class Li{async listMySearches(){var t;return(null===(t=Si.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ni.await()).listMySearches(Si.getState().session.profile.userId):[]}}const Wi=new r;class Ai{async listMyBookmarks(){return Wi.get("bookmarks",(async()=>(await Ni.await()).listMyBookmarks(Si.getState().session.profile.userId)))}clearCache(){Wi.clear("bookmarks")}}const ji=Ko.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Fi=new class{constructor(){this.currentSession=Si.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ai,Si.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Si.getState();b(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(){ji.actions.savedSearches(void 0)}clearMyBookmarks(){ji.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Li,e=await t.listMySearches();ji.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;ji.actions.bookmarks(e)}}};g("ft-app-context")(Ui);class zi{static async build(){return new zi(await Ni.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 Bi=t=>t.request.virtualField===yi.TITLE_ONLY&&t.request.scope===xi.DOCUMENTS;class Di extends Event{constructor(){super(Di.eventName)}}Di.eventName="search-context-clear-all-filters";class Ki{static build(t){return new Ki((t=>Ko.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:si}))(t.trim()||"context"),zi.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await u(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(yi.TITLE_ONLY),this.store.actions.setRequestScope(xi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(yi.EVERYWHERE),this.store.actions.setRequestScope(xi.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Bi(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Di)}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()}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(),this.cancelableSearch=i(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.paging)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let e={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.setSuggestResults(o.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}}var Pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Ti=Symbol("registerInterval");class Zi 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[Ti]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ti]):this.dispatchEvent(new Mi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ti,Pi([l()],o.prototype,"stateManager",void 0),o}(Xt)){}
140
+ `}update(t){super.update(t),t.has("baseUrl")&&Er.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Er.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Er.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Er.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Er.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Er.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Er.actions.setSession(this.session),t.has("availableUiLocales")&&Er.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Lr.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()))))}}jr.elementDefinitions={},jr.styles=Cr,Wr([R()],jr.prototype,"baseUrl",void 0),Wr([R()],jr.prototype,"apiIntegrationIdentifier",void 0),Wr([R()],jr.prototype,"uiLocale",void 0),Wr([D([])],jr.prototype,"availableUiLocales",void 0),Wr([R({type:Boolean})],jr.prototype,"editorMode",void 0),Wr([R({type:Boolean})],jr.prototype,"noCustom",void 0),Wr([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],jr.prototype,"noCustomComponent",void 0),Wr([R({type:Boolean})],jr.prototype,"withManualResources",void 0),Wr([D([])],jr.prototype,"messageContexts",void 0),Wr([D(void 0)],jr.prototype,"session",void 0),Wr([R({type:Object})],jr.prototype,"apiProvider",void 0);class zr{async listMySearches(){var t;return(null===(t=Er.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await kr.await()).listMySearches(Er.getState().session.profile.userId):[]}}const Fr=new r;class Dr{async listMyBookmarks(){return Fr.get("bookmarks",(async()=>(await kr.await()).listMyBookmarks(Er.getState().session.profile.userId)))}clearCache(){Fr.clear("bookmarks")}}const Br=Zi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Pr=new class{constructor(){this.currentSession=Er.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Dr,Er.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Er.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(){Br.actions.savedSearches(void 0)}clearMyBookmarks(){Br.actions.bookmarks(void 0)}async reloadMySearches(){const t=new zr,e=await t.listMySearches();Br.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;Br.actions.bookmarks(e)}}};F("ft-app-context")(jr);class Kr{static async build(){return new Kr(await kr.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 Mr=t=>t.request.virtualField===mr.TITLE_ONLY&&t.request.scope===Nr.DOCUMENTS;class Tr extends Event{constructor(){super(Tr.eventName)}}Tr.eventName="search-context-clear-all-filters";class Zr{static build(t){return new Zr((t=>Zi.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:fr}))(t.trim()||"context"),Kr.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){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(mr.TITLE_ONLY),this.store.actions.setRequestScope(Nr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(mr.EVERYWHERE),this.store.actions.setRequestScope(Nr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Mr(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Tr)}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()}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(),this.cancelableSearch=i(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.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)}}}var _r=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 Hr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Gr=Symbol("registerInterval");class Vr 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[Gr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Gr]):this.dispatchEvent(new Hr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Gr,_r([I()],o.prototype,"stateManager",void 0),o}(eo)){}
132
141
  /**
133
- * @license
134
- * Copyright 2018 Google LLC
135
- * SPDX-License-Identifier: BSD-3-Clause
136
- */const _i=qo(class extends Yo{constructor(t){var e;if(super(t),t.type!==Go||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return nt}}),Hi=Et.extend("--ft-ripple-color","",Wt.colorContent),Gi={color:Hi,backgroundColor:Et.extend("--ft-ripple-background-color","",Hi),opacityContentOnSurfacePressed:Et.external(Wt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Et.external(Wt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Et.external(Wt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Et.external(Wt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Et.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=Et.extend("--ft-ripple-color","",Wt.colorPrimary),qi=Vi,Yi=Et.extend("--ft-ripple-background-color","",Vi),Xi=Et.extend("--ft-ripple-color","",Wt.colorSecondary),Ji=Xi,Qi=Et.extend("--ft-ripple-background-color","",Xi),tr=$`
142
+ * @license
143
+ * Copyright 2018 Google LLC
144
+ * SPDX-License-Identifier: BSD-3-Clause
145
+ */const qr=Qi(class extends tr{constructor(t){if(super(t),t.type!==Xi||"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}}),Yr=Re.extend("--ft-ripple-color","",je.colorContent),Xr={color:Yr,backgroundColor:Re.extend("--ft-ripple-background-color","",Yr),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")},Jr=Re.extend("--ft-ripple-color","",je.colorPrimary),Qr=Jr,tn=Re.extend("--ft-ripple-background-color","",Jr),en=Re.extend("--ft-ripple-color","",je.colorSecondary),on=en,rn=Re.extend("--ft-ripple-background-color","",en),nn=Rt`
137
146
  :host {
138
147
  display: contents;
139
148
  }
@@ -146,7 +155,7 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
146
155
 
147
156
  .ft-ripple:not(.ft-ripple--unbounded) {
148
157
  overflow: hidden;
149
- border-radius: ${Gi.borderRadius};
158
+ border-radius: ${Xr.borderRadius};
150
159
  }
151
160
 
152
161
  .ft-ripple .ft-ripple--background,
@@ -180,27 +189,27 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
180
189
  }
181
190
 
182
191
  .ft-ripple .ft-ripple--background {
183
- background-color: ${Gi.backgroundColor};
192
+ background-color: ${Xr.backgroundColor};
184
193
  }
185
194
 
186
195
  .ft-ripple .ft-ripple--effect {
187
- background-color: ${Gi.color};
196
+ background-color: ${Xr.color};
188
197
  }
189
198
 
190
199
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
191
- background-color: ${Qi};
200
+ background-color: ${rn};
192
201
  }
193
202
 
194
203
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
195
- background-color: ${Ji};
204
+ background-color: ${on};
196
205
  }
197
206
 
198
207
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
199
- background-color: ${Yi};
208
+ background-color: ${tn};
200
209
  }
201
210
 
202
211
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
203
- background-color: ${qi};
212
+ background-color: ${Qr};
204
213
  }
205
214
 
206
215
  .ft-ripple .ft-ripple--background {
@@ -230,135 +239,135 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
230
239
  }
231
240
 
232
241
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
233
- opacity: ${Gi.opacityContentOnSurfaceHover};
242
+ opacity: ${Xr.opacityContentOnSurfaceHover};
234
243
  }
235
244
 
236
245
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
237
- opacity: ${Gi.opacityContentOnSurfaceSelected};
246
+ opacity: ${Xr.opacityContentOnSurfaceSelected};
238
247
  }
239
248
 
240
249
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
241
- opacity: ${Gi.opacityContentOnSurfaceFocused};
250
+ opacity: ${Xr.opacityContentOnSurfaceFocused};
242
251
  }
243
252
 
244
253
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
245
- opacity: ${Gi.opacityContentOnSurfacePressed};
254
+ opacity: ${Xr.opacityContentOnSurfacePressed};
246
255
  transform: translate(-50%, -50%) scale(1);
247
256
  }
248
- `;var er=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class or extends Kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new n(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new n(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return rt`
257
+ `;var sn=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 an 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 n(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new n(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return fe`
249
258
  <style>
250
259
  .ft-ripple .ft-ripple--effect {
251
260
  left: ${this.originX}px;
252
261
  top: ${this.originY}px;
253
262
  }
254
263
  </style>
255
- <div class="${_i(t)}">
264
+ <div class="${qr(t)}">
256
265
  <div class="ft-ripple--background"></div>
257
266
  <div class="ft-ripple--effect"></div>
258
267
  </div>
259
- `}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()}}or.elementDefinitions={},or.styles=tr,er([s({type:Boolean})],or.prototype,"primary",void 0),er([s({type:Boolean})],or.prototype,"secondary",void 0),er([s({type:Boolean})],or.prototype,"unbounded",void 0),er([s({type:Boolean})],or.prototype,"activated",void 0),er([s({type:Boolean})],or.prototype,"selected",void 0),er([s({type:Boolean})],or.prototype,"disabled",void 0),er([l()],or.prototype,"hovered",void 0),er([l()],or.prototype,"focused",void 0),er([l()],or.prototype,"pressed",void 0),er([l()],or.prototype,"rippling",void 0),er([l()],or.prototype,"originX",void 0),er([l()],or.prototype,"originY",void 0),er([f(".ft-ripple")],or.prototype,"ripple",void 0),er([f(".ft-ripple--effect")],or.prototype,"rippleEffect",void 0),g("ft-ripple")(or);
268
+ `}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()}}an.elementDefinitions={},an.styles=nn,sn([R({type:Boolean})],an.prototype,"primary",void 0),sn([R({type:Boolean})],an.prototype,"secondary",void 0),sn([R({type:Boolean})],an.prototype,"unbounded",void 0),sn([R({type:Boolean})],an.prototype,"activated",void 0),sn([R({type:Boolean})],an.prototype,"selected",void 0),sn([R({type:Boolean})],an.prototype,"disabled",void 0),sn([I()],an.prototype,"hovered",void 0),sn([I()],an.prototype,"focused",void 0),sn([I()],an.prototype,"pressed",void 0),sn([I()],an.prototype,"rippling",void 0),sn([I()],an.prototype,"originX",void 0),sn([I()],an.prototype,"originY",void 0),sn([L(".ft-ripple")],an.prototype,"ripple",void 0),sn([L(".ft-ripple--effect")],an.prototype,"rippleEffect",void 0),F("ft-ripple")(an);
260
269
  /**
261
- * @license
262
- * Copyright 2020 Google LLC
263
- * SPDX-License-Identifier: BSD-3-Clause
264
- */
265
- const ir=Symbol.for(""),rr=t=>{if((null==t?void 0:t.r)===ir)return null==t?void 0:t._$litStatic$},nr=t=>({_$litStatic$:t,r:ir}),ar=new Map,sr=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=rr(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ar.get(t))&&(a.raw=a,ar.set(t,e=a)),o=s}return t(e,...o)})(rt);var lr;!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"}(lr||(lr={}));const cr=Et.extend("--ft-typography-font-family","",Wt.titleFont),fr=Et.extend("--ft-typography-font-family","",Wt.contentFont),hr={fontFamily:fr,fontSize:Et.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Et.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Et.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Et.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Et.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pr=Et.extend("--ft-typography-title-font-family","",cr),dr=Et.extend("--ft-typography-title-font-size","",hr.fontSize,"20px"),ur=Et.extend("--ft-typography-title-font-weight","",hr.fontWeight,"normal"),yr=Et.extend("--ft-typography-title-letter-spacing","",hr.letterSpacing,"0.15px"),br=Et.extend("--ft-typography-title-line-height","",hr.lineHeight,"1.2"),gr=Et.extend("--ft-typography-title-text-transform","",hr.textTransform,"inherit"),vr=Et.extend("--ft-typography-title-dense-font-family","",cr),mr=Et.extend("--ft-typography-title-dense-font-size","",hr.fontSize,"14px"),xr=Et.extend("--ft-typography-title-dense-font-weight","",hr.fontWeight,"normal"),Or=Et.extend("--ft-typography-title-dense-letter-spacing","",hr.letterSpacing,"0.105px"),wr=Et.extend("--ft-typography-title-dense-line-height","",hr.lineHeight,"1.7"),Sr=Et.extend("--ft-typography-title-dense-text-transform","",hr.textTransform,"inherit"),Nr=Et.extend("--ft-typography-subtitle1-font-family","",fr),$r=Et.extend("--ft-typography-subtitle1-font-size","",hr.fontSize,"16px"),Cr=Et.extend("--ft-typography-subtitle1-font-weight","",hr.fontWeight,"600"),Er=Et.extend("--ft-typography-subtitle1-letter-spacing","",hr.letterSpacing,"0.144px"),kr=Et.extend("--ft-typography-subtitle1-line-height","",hr.lineHeight,"1.5"),Rr=Et.extend("--ft-typography-subtitle1-text-transform","",hr.textTransform,"inherit"),Ir=Et.extend("--ft-typography-subtitle2-font-family","",fr),Ur=Et.extend("--ft-typography-subtitle2-font-size","",hr.fontSize,"14px"),Lr=Et.extend("--ft-typography-subtitle2-font-weight","",hr.fontWeight,"normal"),Wr=Et.extend("--ft-typography-subtitle2-letter-spacing","",hr.letterSpacing,"0.098px"),Ar=Et.extend("--ft-typography-subtitle2-line-height","",hr.lineHeight,"1.7"),jr=Et.extend("--ft-typography-subtitle2-text-transform","",hr.textTransform,"inherit"),Fr=Et.extend("--ft-typography-body1-font-family","",fr),zr=Et.extend("--ft-typography-body1-font-size","",hr.fontSize,"16px"),Br=Et.extend("--ft-typography-body1-font-weight","",hr.fontWeight,"normal"),Dr=Et.extend("--ft-typography-body1-letter-spacing","",hr.letterSpacing,"0.496px"),Kr=Et.extend("--ft-typography-body1-line-height","",hr.lineHeight,"1.5"),Pr=Et.extend("--ft-typography-body1-text-transform","",hr.textTransform,"inherit"),Mr={fontFamily:Et.extend("--ft-typography-body2-font-family","",fr),fontSize:Et.extend("--ft-typography-body2-font-size","",hr.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-body2-font-weight","",hr.fontWeight,"normal"),letterSpacing:Et.extend("--ft-typography-body2-letter-spacing","",hr.letterSpacing,"0.252px"),lineHeight:Et.extend("--ft-typography-body2-line-height","",hr.lineHeight,"1.4"),textTransform:Et.extend("--ft-typography-body2-text-transform","",hr.textTransform,"inherit")},Tr=Et.extend("--ft-typography-caption-font-family","",fr),Zr=Et.extend("--ft-typography-caption-font-size","",hr.fontSize,"12px"),_r=Et.extend("--ft-typography-caption-font-weight","",hr.fontWeight,"normal"),Hr=Et.extend("--ft-typography-caption-letter-spacing","",hr.letterSpacing,"0.396px"),Gr=Et.extend("--ft-typography-caption-line-height","",hr.lineHeight,"1.33"),Vr=Et.extend("--ft-typography-caption-text-transform","",hr.textTransform,"inherit"),qr=Et.extend("--ft-typography-breadcrumb-font-family","",fr),Yr=Et.extend("--ft-typography-breadcrumb-font-size","",hr.fontSize,"10px"),Xr=Et.extend("--ft-typography-breadcrumb-font-weight","",hr.fontWeight,"normal"),Jr=Et.extend("--ft-typography-breadcrumb-letter-spacing","",hr.letterSpacing,"0.33px"),Qr=Et.extend("--ft-typography-breadcrumb-line-height","",hr.lineHeight,"1.6"),tn=Et.extend("--ft-typography-breadcrumb-text-transform","",hr.textTransform,"inherit"),en=Et.extend("--ft-typography-overline-font-family","",fr),on=Et.extend("--ft-typography-overline-font-size","",hr.fontSize,"10px"),rn=Et.extend("--ft-typography-overline-font-weight","",hr.fontWeight,"normal"),nn=Et.extend("--ft-typography-overline-letter-spacing","",hr.letterSpacing,"1.5px"),an=Et.extend("--ft-typography-overline-line-height","",hr.lineHeight,"1.6"),sn=Et.extend("--ft-typography-overline-text-transform","",hr.textTransform,"uppercase"),ln={fontFamily:Et.extend("--ft-typography-button-font-family","",fr),fontSize:Et.extend("--ft-typography-button-font-size","",hr.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-button-font-weight","",hr.fontWeight,"600"),letterSpacing:Et.extend("--ft-typography-button-letter-spacing","",hr.letterSpacing,"1.246px"),lineHeight:Et.extend("--ft-typography-button-line-height","",hr.lineHeight,"1.15"),textTransform:Et.extend("--ft-typography-button-text-transform","",hr.textTransform,"uppercase")},cn=$`
270
+ * @license
271
+ * Copyright 2020 Google LLC
272
+ * SPDX-License-Identifier: BSD-3-Clause
273
+ */
274
+ const ln=Symbol.for(""),cn=t=>{if(t?.r===ln)return t?._$litStatic$},hn=t=>({_$litStatic$:t,r:ln}),fn=new Map,pn=(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=cn(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=fn.get(t))&&(s.raw=s,fn.set(t,e=s)),o=a}return t(e,...o)})(nt);var dn;!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"}(dn||(dn={}));const un=Re.extend("--ft-typography-font-family","",je.titleFont),yn=Re.extend("--ft-typography-font-family","",je.contentFont),gn={fontFamily:yn,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")},bn=Re.extend("--ft-typography-title-font-family","",un),vn=Re.extend("--ft-typography-title-font-size","",gn.fontSize,"20px"),mn=Re.extend("--ft-typography-title-font-weight","",gn.fontWeight,"normal"),xn=Re.extend("--ft-typography-title-letter-spacing","",gn.letterSpacing,"0.15px"),On=Re.extend("--ft-typography-title-line-height","",gn.lineHeight,"1.2"),wn=Re.extend("--ft-typography-title-text-transform","",gn.textTransform,"inherit"),Sn=Re.extend("--ft-typography-title-dense-font-family","",un),Nn=Re.extend("--ft-typography-title-dense-font-size","",gn.fontSize,"14px"),$n=Re.extend("--ft-typography-title-dense-font-weight","",gn.fontWeight,"normal"),Cn=Re.extend("--ft-typography-title-dense-letter-spacing","",gn.letterSpacing,"0.105px"),En=Re.extend("--ft-typography-title-dense-line-height","",gn.lineHeight,"1.7"),kn=Re.extend("--ft-typography-title-dense-text-transform","",gn.textTransform,"inherit"),Rn=Re.extend("--ft-typography-subtitle1-font-family","",yn),In=Re.extend("--ft-typography-subtitle1-font-size","",gn.fontSize,"16px"),Un=Re.extend("--ft-typography-subtitle1-font-weight","",gn.fontWeight,"600"),Ln=Re.extend("--ft-typography-subtitle1-letter-spacing","",gn.letterSpacing,"0.144px"),An=Re.extend("--ft-typography-subtitle1-line-height","",gn.lineHeight,"1.5"),Wn=Re.extend("--ft-typography-subtitle1-text-transform","",gn.textTransform,"inherit"),jn=Re.extend("--ft-typography-subtitle2-font-family","",yn),zn=Re.extend("--ft-typography-subtitle2-font-size","",gn.fontSize,"14px"),Fn=Re.extend("--ft-typography-subtitle2-font-weight","",gn.fontWeight,"normal"),Dn=Re.extend("--ft-typography-subtitle2-letter-spacing","",gn.letterSpacing,"0.098px"),Bn=Re.extend("--ft-typography-subtitle2-line-height","",gn.lineHeight,"1.7"),Pn=Re.extend("--ft-typography-subtitle2-text-transform","",gn.textTransform,"inherit"),Kn=Re.extend("--ft-typography-body1-font-family","",yn),Mn=Re.extend("--ft-typography-body1-font-size","",gn.fontSize,"16px"),Tn=Re.extend("--ft-typography-body1-font-weight","",gn.fontWeight,"normal"),Zn=Re.extend("--ft-typography-body1-letter-spacing","",gn.letterSpacing,"0.496px"),_n=Re.extend("--ft-typography-body1-line-height","",gn.lineHeight,"1.5"),Hn=Re.extend("--ft-typography-body1-text-transform","",gn.textTransform,"inherit"),Gn={fontFamily:Re.extend("--ft-typography-body2-font-family","",yn),fontSize:Re.extend("--ft-typography-body2-font-size","",gn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-body2-font-weight","",gn.fontWeight,"normal"),letterSpacing:Re.extend("--ft-typography-body2-letter-spacing","",gn.letterSpacing,"0.252px"),lineHeight:Re.extend("--ft-typography-body2-line-height","",gn.lineHeight,"1.4"),textTransform:Re.extend("--ft-typography-body2-text-transform","",gn.textTransform,"inherit")},Vn=Re.extend("--ft-typography-caption-font-family","",yn),qn=Re.extend("--ft-typography-caption-font-size","",gn.fontSize,"12px"),Yn=Re.extend("--ft-typography-caption-font-weight","",gn.fontWeight,"normal"),Xn=Re.extend("--ft-typography-caption-letter-spacing","",gn.letterSpacing,"0.396px"),Jn=Re.extend("--ft-typography-caption-line-height","",gn.lineHeight,"1.33"),Qn=Re.extend("--ft-typography-caption-text-transform","",gn.textTransform,"inherit"),ts=Re.extend("--ft-typography-breadcrumb-font-family","",yn),es=Re.extend("--ft-typography-breadcrumb-font-size","",gn.fontSize,"10px"),os=Re.extend("--ft-typography-breadcrumb-font-weight","",gn.fontWeight,"normal"),is=Re.extend("--ft-typography-breadcrumb-letter-spacing","",gn.letterSpacing,"0.33px"),rs=Re.extend("--ft-typography-breadcrumb-line-height","",gn.lineHeight,"1.6"),ns=Re.extend("--ft-typography-breadcrumb-text-transform","",gn.textTransform,"inherit"),ss=Re.extend("--ft-typography-overline-font-family","",yn),as=Re.extend("--ft-typography-overline-font-size","",gn.fontSize,"10px"),ls=Re.extend("--ft-typography-overline-font-weight","",gn.fontWeight,"normal"),cs=Re.extend("--ft-typography-overline-letter-spacing","",gn.letterSpacing,"1.5px"),hs=Re.extend("--ft-typography-overline-line-height","",gn.lineHeight,"1.6"),fs=Re.extend("--ft-typography-overline-text-transform","",gn.textTransform,"uppercase"),ps={fontFamily:Re.extend("--ft-typography-button-font-family","",yn),fontSize:Re.extend("--ft-typography-button-font-size","",gn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-button-font-weight","",gn.fontWeight,"600"),letterSpacing:Re.extend("--ft-typography-button-letter-spacing","",gn.letterSpacing,"1.246px"),lineHeight:Re.extend("--ft-typography-button-line-height","",gn.lineHeight,"1.15"),textTransform:Re.extend("--ft-typography-button-text-transform","",gn.textTransform,"uppercase")},ds=Rt`
266
275
  .ft-typography--title {
267
- font-family: ${pr};
268
- font-size: ${dr};
269
- font-weight: ${ur};
270
- letter-spacing: ${yr};
271
- line-height: ${br};
272
- text-transform: ${gr};
273
- }
274
- `,fn=$`
276
+ font-family: ${bn};
277
+ font-size: ${vn};
278
+ font-weight: ${mn};
279
+ letter-spacing: ${xn};
280
+ line-height: ${On};
281
+ text-transform: ${wn};
282
+ }
283
+ `,us=Rt`
275
284
  .ft-typography--title-dense {
276
- font-family: ${vr};
277
- font-size: ${mr};
278
- font-weight: ${xr};
279
- letter-spacing: ${Or};
280
- line-height: ${wr};
281
- text-transform: ${Sr};
282
- }
283
- `,hn=$`
285
+ font-family: ${Sn};
286
+ font-size: ${Nn};
287
+ font-weight: ${$n};
288
+ letter-spacing: ${Cn};
289
+ line-height: ${En};
290
+ text-transform: ${kn};
291
+ }
292
+ `,ys=Rt`
284
293
  .ft-typography--subtitle1 {
285
- font-family: ${Nr};
286
- font-size: ${$r};
287
- font-weight: ${Cr};
288
- letter-spacing: ${Er};
289
- line-height: ${kr};
290
- text-transform: ${Rr};
291
- }
292
- `,pn=$`
294
+ font-family: ${Rn};
295
+ font-size: ${In};
296
+ font-weight: ${Un};
297
+ letter-spacing: ${Ln};
298
+ line-height: ${An};
299
+ text-transform: ${Wn};
300
+ }
301
+ `,gs=Rt`
293
302
  .ft-typography--subtitle2 {
294
- font-family: ${Ir};
295
- font-size: ${Ur};
296
- font-weight: ${Lr};
297
- letter-spacing: ${Wr};
298
- line-height: ${Ar};
299
- text-transform: ${jr};
303
+ font-family: ${jn};
304
+ font-size: ${zn};
305
+ font-weight: ${Fn};
306
+ letter-spacing: ${Dn};
307
+ line-height: ${Bn};
308
+ text-transform: ${Pn};
300
309
  }
301
310
 
302
- `,dn=$`
311
+ `,bs=Rt`
303
312
  .ft-typography--body1 {
304
- font-family: ${Fr};
305
- font-size: ${zr};
306
- font-weight: ${Br};
307
- letter-spacing: ${Dr};
308
- line-height: ${Kr};
309
- text-transform: ${Pr};
310
- }
311
- `,un=$`
313
+ font-family: ${Kn};
314
+ font-size: ${Mn};
315
+ font-weight: ${Tn};
316
+ letter-spacing: ${Zn};
317
+ line-height: ${_n};
318
+ text-transform: ${Hn};
319
+ }
320
+ `,vs=Rt`
312
321
  .ft-typography--body2 {
313
- font-family: ${Mr.fontFamily};
314
- font-size: ${Mr.fontSize};
315
- font-weight: ${Mr.fontWeight};
316
- letter-spacing: ${Mr.letterSpacing};
317
- line-height: ${Mr.lineHeight};
318
- text-transform: ${Mr.textTransform};
319
- }
320
- `,yn=$`
322
+ font-family: ${Gn.fontFamily};
323
+ font-size: ${Gn.fontSize};
324
+ font-weight: ${Gn.fontWeight};
325
+ letter-spacing: ${Gn.letterSpacing};
326
+ line-height: ${Gn.lineHeight};
327
+ text-transform: ${Gn.textTransform};
328
+ }
329
+ `,ms=Rt`
321
330
  .ft-typography--caption {
322
- font-family: ${Tr};
323
- font-size: ${Zr};
324
- font-weight: ${_r};
325
- letter-spacing: ${Hr};
326
- line-height: ${Gr};
327
- text-transform: ${Vr};
328
- }
329
- `,bn=$`
331
+ font-family: ${Vn};
332
+ font-size: ${qn};
333
+ font-weight: ${Yn};
334
+ letter-spacing: ${Xn};
335
+ line-height: ${Jn};
336
+ text-transform: ${Qn};
337
+ }
338
+ `,xs=Rt`
330
339
  .ft-typography--breadcrumb {
331
- font-family: ${qr};
332
- font-size: ${Yr};
333
- font-weight: ${Xr};
334
- letter-spacing: ${Jr};
335
- line-height: ${Qr};
336
- text-transform: ${tn};
337
- }
338
- `,gn=$`
340
+ font-family: ${ts};
341
+ font-size: ${es};
342
+ font-weight: ${os};
343
+ letter-spacing: ${is};
344
+ line-height: ${rs};
345
+ text-transform: ${ns};
346
+ }
347
+ `,Os=Rt`
339
348
  .ft-typography--overline {
340
- font-family: ${en};
341
- font-size: ${on};
342
- font-weight: ${rn};
343
- letter-spacing: ${nn};
344
- line-height: ${an};
345
- text-transform: ${sn};
346
- }
347
- `,vn=$`
349
+ font-family: ${ss};
350
+ font-size: ${as};
351
+ font-weight: ${ls};
352
+ letter-spacing: ${cs};
353
+ line-height: ${hs};
354
+ text-transform: ${fs};
355
+ }
356
+ `,ws=Rt`
348
357
  .ft-typography--button {
349
- font-family: ${ln.fontFamily};
350
- font-size: ${ln.fontSize};
351
- font-weight: ${ln.fontWeight};
352
- letter-spacing: ${ln.letterSpacing};
353
- line-height: ${ln.lineHeight};
354
- text-transform: ${ln.textTransform};
355
- }
356
- `,mn=$`
358
+ font-family: ${ps.fontFamily};
359
+ font-size: ${ps.fontSize};
360
+ font-weight: ${ps.fontWeight};
361
+ letter-spacing: ${ps.letterSpacing};
362
+ line-height: ${ps.lineHeight};
363
+ text-transform: ${ps.textTransform};
364
+ }
365
+ `,Ss=Rt`
357
366
  .ft-typography {
358
367
  vertical-align: inherit;
359
368
  }
360
- `,xn=[Object.keys(It).map((t=>function(t){const e=It[t];return $`
361
- .ft-typography--${N(t)} {
369
+ `,Ns=[Object.keys(Le).map((t=>function(t){const e=Le[t];return Rt`
370
+ .ft-typography--${kt(t)} {
362
371
  font-family: ${e.fontFamily};
363
372
  font-size: ${e.fontSize};
364
373
  font-weight: ${e.fontWeight};
@@ -366,20 +375,20 @@ const ir=Symbol.for(""),rr=t=>{if((null==t?void 0:t.r)===ir)return null==t?void
366
375
  line-height: ${e.lineHeight};
367
376
  text-transform: ${e.textCase};
368
377
  }
369
- `}(t)))];var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wn extends Kt{constructor(){super(...arguments),this.variant=lr.body1}render(){return this.element?sr`
370
- <${nr(this.element)}
378
+ `}(t)))];var $s=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 Cs extends Ze{constructor(){super(...arguments),this.variant=dn.body1}render(){return this.element?pn`
379
+ <${hn(this.element)}
371
380
  class="ft-typography ft-typography--${this.variant}">
372
381
  <slot></slot>
373
- </${nr(this.element)}>
374
- `:sr`
382
+ </${hn(this.element)}>
383
+ `:pn`
375
384
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
376
- `}}wn.styles=[cn,fn,hn,pn,dn,un,yn,bn,gn,vn,mn,...xn],On([s()],wn.prototype,"element",void 0),On([s()],wn.prototype,"variant",void 0),g("ft-typography")(wn);
385
+ `}}Cs.styles=[ds,us,ys,gs,bs,vs,ms,xs,Os,ws,Ss,...Ns],$s([R()],Cs.prototype,"element",void 0),$s([R()],Cs.prototype,"variant",void 0),F("ft-typography")(Cs);
377
386
  /**
378
- * @license
379
- * Copyright 2017 Google LLC
380
- * SPDX-License-Identifier: BSD-3-Clause
381
- */
382
- class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===at||null==t)return this.ft=void 0,this.et=t;if(t===nt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Sn.directiveName="unsafeHTML",Sn.resultType=1;const Nn=qo(Sn);var $n,Cn;!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;"}($n||($n={})),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;"}(Cn||(Cn={})),new Map([...["abw"].map((t=>[t,Cn.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,Cn.AUDIO])),...["avi"].map((t=>[t,Cn.AVI])),...["chm","xhs"].map((t=>[t,Cn.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,Cn.CODE])),...["csv"].map((t=>[t,Cn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Cn.DITA])),...["epub"].map((t=>[t,Cn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Cn.EXCEL])),...["flac"].map((t=>[t,Cn.FLAC])),...["gif"].map((t=>[t,Cn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Cn.GZIP])),...["html","htm","xhtml"].map((t=>[t,Cn.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,Cn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Cn.JPEG])),...["json"].map((t=>[t,Cn.JSON])),...["m4a","m4p"].map((t=>[t,Cn.M4A])),...["mov","qt"].map((t=>[t,Cn.MOV])),...["mp3"].map((t=>[t,Cn.MP3])),...["mp4","m4v"].map((t=>[t,Cn.MP4])),...["ogg","oga"].map((t=>[t,Cn.OGG])),...["pdf","ps"].map((t=>[t,Cn.PDF])),...["png"].map((t=>[t,Cn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Cn.POWERPOINT])),...["rar"].map((t=>[t,Cn.RAR])),...["stp"].map((t=>[t,Cn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Cn.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,Cn.VIDEO])),...["wav"].map((t=>[t,Cn.WAV])),...["wma"].map((t=>[t,Cn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Cn.WORD])),...["xml","xsl","rdf"].map((t=>[t,Cn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Cn.YAML])),...["zip"].map((t=>[t,Cn.ZIP]))]);const En={size:Et.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Et.extend("--ft-icon-fluid-topics-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Et.extend("--ft-icon-file-format-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Et.extend("--ft-icon-material-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Et.create("--ft-icon-vertical-align","","UNKNOWN","unset")},kn=$`
387
+ * @license
388
+ * Copyright 2017 Google LLC
389
+ * SPDX-License-Identifier: BSD-3-Clause
390
+ */
391
+ class Es extends tr{constructor(t){if(super(t),this.et=at,t.type!==Ji)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:[]}}}Es.directiveName="unsafeHTML",Es.resultType=1;const ks=Qi(Es);var Rs,Is;!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;"}(Rs||(Rs={})),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;"}(Is||(Is={})),new Map([...["abw"].map((t=>[t,Is.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,Is.AUDIO])),...["avi"].map((t=>[t,Is.AVI])),...["chm","xhs"].map((t=>[t,Is.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,Is.CODE])),...["csv"].map((t=>[t,Is.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Is.DITA])),...["epub"].map((t=>[t,Is.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Is.EXCEL])),...["flac"].map((t=>[t,Is.FLAC])),...["gif"].map((t=>[t,Is.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Is.GZIP])),...["html","htm","xhtml"].map((t=>[t,Is.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,Is.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Is.JPEG])),...["json"].map((t=>[t,Is.JSON])),...["m4a","m4p"].map((t=>[t,Is.M4A])),...["mov","qt"].map((t=>[t,Is.MOV])),...["mp3"].map((t=>[t,Is.MP3])),...["mp4","m4v"].map((t=>[t,Is.MP4])),...["ogg","oga"].map((t=>[t,Is.OGG])),...["pdf","ps"].map((t=>[t,Is.PDF])),...["png"].map((t=>[t,Is.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Is.POWERPOINT])),...["rar"].map((t=>[t,Is.RAR])),...["stp"].map((t=>[t,Is.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Is.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,Is.VIDEO])),...["wav"].map((t=>[t,Is.WAV])),...["wma"].map((t=>[t,Is.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Is.WORD])),...["xml","xsl","rdf"].map((t=>[t,Is.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Is.YAML])),...["zip"].map((t=>[t,Is.ZIP]))]);const Us={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")},Ls=Rt`
383
392
  :host, i.ft-icon {
384
393
  display: inline-flex;
385
394
  align-items: center;
@@ -388,14 +397,14 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
388
397
  }
389
398
 
390
399
  :host {
391
- width: ${En.size};
392
- height: ${En.size};
400
+ width: ${Us.size};
401
+ height: ${Us.size};
393
402
  }
394
403
 
395
404
  i.ft-icon {
396
405
  width: 100%;
397
406
  height: 100%;
398
- font-size: ${En.size};
407
+ font-size: ${Us.size};
399
408
  line-height: 1;
400
409
  font-weight: normal;
401
410
  text-transform: none;
@@ -406,33 +415,33 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
406
415
  text-rendering: auto;
407
416
  -webkit-font-smoothing: antialiased;
408
417
  -moz-osx-font-smoothing: grayscale;
409
- vertical-align: ${En.verticalAlign};
418
+ vertical-align: ${Us.verticalAlign};
410
419
  }
411
420
 
412
421
  i.ft-icon.ft-icon--fluid-topics {
413
- font-family: ${En.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
422
+ font-family: ${Us.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
414
423
 
415
424
  /* Ugly fix because font is broken */
416
- font-size: calc(0.75 * ${En.size});
417
- line-height: ${En.size};
425
+ font-size: calc(0.75 * ${Us.size});
426
+ line-height: ${Us.size};
418
427
  position: relative;
419
428
  top: -4%;
420
429
  justify-content: center;
421
430
  }
422
431
 
423
432
  .ft-icon--file-format {
424
- font-family: ${En.fileFormatFontFamily}, ft-mime, sans-serif;
433
+ font-family: ${Us.fileFormatFontFamily}, ft-mime, sans-serif;
425
434
  }
426
435
 
427
436
  .ft-icon--material {
428
- font-family: ${En.materialFontFamily}, "Material Icons", sans-serif;
437
+ font-family: ${Us.materialFontFamily}, "Material Icons", sans-serif;
429
438
  }
430
- `;var Rn;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Rn||(Rn={}));var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Kt{constructor(){super(...arguments),this.resolvedIcon=at}render(){const t=this.variant&&Object.values(Rn).includes(this.variant)?this.variant:Rn.fluid_topics,e=t!==Rn.material||!!this.value;return rt`
439
+ `;var As;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(As||(As={}));var Ws=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 js extends Ze{constructor(){super(...arguments),this.resolvedIcon=de}render(){const t=this.variant&&Object.values(As).includes(this.variant)?this.variant:As.fluid_topics,e=t!==As.material||!!this.value;return fe`
431
440
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
432
- ${Nn(this.resolvedIcon)}
441
+ ${ks(this.resolvedIcon)}
433
442
  <slot ?hidden=${e}></slot>
434
443
  </i>
435
- `}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 Rn.file_format:this.resolvedIcon=null!==(t=Cn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Rn.material:this.resolvedIcon=this.value||at;break;default:this.resolvedIcon=null!==(e=$n[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Un.elementDefinitions={},Un.styles=kn,In([s()],Un.prototype,"variant",void 0),In([s()],Un.prototype,"value",void 0),In([l()],Un.prototype,"resolvedIcon",void 0),In([f("slot")],Un.prototype,"slottedContent",void 0),g("ft-icon")(Un);const Ln={color:Et.extend("--ft-loader-color","",Wt.colorPrimary),size:Et.create("--ft-loader-size","","SIZE","80px")},Wn=$`
444
+ `}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 As.file_format:this.resolvedIcon=null!==(t=Is[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case As.material:this.resolvedIcon=this.value||de;break;default:this.resolvedIcon=null!==(e=Rs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}js.elementDefinitions={},js.styles=Ls,Ws([R()],js.prototype,"variant",void 0),Ws([R()],js.prototype,"value",void 0),Ws([I()],js.prototype,"resolvedIcon",void 0),Ws([L("slot")],js.prototype,"slottedContent",void 0),F("ft-icon")(js);const zs={color:Re.extend("--ft-loader-color","",je.colorPrimary),size:Re.create("--ft-loader-size","","SIZE","80px")},Fs=Rt`
436
445
  :host {
437
446
  line-height: 0;
438
447
  }
@@ -441,8 +450,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
441
450
  display: inline-block;
442
451
  position: relative;
443
452
 
444
- width: ${Ln.size};
445
- height: ${Ln.size};
453
+ width: ${zs.size};
454
+ height: ${zs.size};
446
455
  }
447
456
 
448
457
  .ft-loader div {
@@ -451,7 +460,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
451
460
  width: 25%;
452
461
  height: 25%;
453
462
  border-radius: 50%;
454
- background: ${Ln.color};
463
+ background: ${zs.color};
455
464
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
456
465
  }
457
466
 
@@ -498,10 +507,10 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
498
507
  transform: translate(0, 0);
499
508
  }
500
509
  100% {
501
- transform: translate(calc(0.35 * ${Ln.size}), 0);
510
+ transform: translate(calc(0.35 * ${zs.size}), 0);
502
511
  }
503
512
  }
504
- `,An=Et.extend("--ft-button-color","",Wt.colorPrimary),jn={backgroundColor:Et.extend("--ft-button-background-color","",Wt.colorSurface),borderRadius:Et.extend("--ft-button-border-radius","",Wt.borderRadiusL),color:An,fontSize:Et.extend("--ft-button-font-size","",ln.fontSize),iconSize:Et.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Et.extend("--ft-button-ripple-color","",An),verticalPadding:Et.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Et.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Et.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Et.external(Wt.colorOpacityDisabled,"Design system")},Fn=Et.extend("--ft-button-primary-color","",Et.extend("--ft-button-color","",Wt.colorOnPrimary)),zn={backgroundColor:Et.extend("--ft-button-primary-background-color","",Et.extend("--ft-button-background-color","",Wt.colorPrimary)),color:Fn,rippleColor:Et.extend("--ft-button-primary-ripple-color","",Fn)},Bn=Et.extend("--ft-button-dense-border-radius","",Et.extend("--ft-button-border-radius","",Wt.borderRadiusM)),Dn=Et.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Kn=Et.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Pn=Et.create("--ft-button-dense-icon-padding","","SIZE","4px"),Mn=[$`
513
+ `,Ds=Re.extend("--ft-button-color","",je.colorPrimary),Bs={backgroundColor:Re.extend("--ft-button-background-color","",je.colorSurface),borderRadius:Re.extend("--ft-button-border-radius","",je.borderRadiusL),color:Ds,fontSize:Re.extend("--ft-button-font-size","",ps.fontSize),iconSize:Re.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Re.extend("--ft-button-ripple-color","",Ds),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")},Ps=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:Ps,rippleColor:Re.extend("--ft-button-primary-ripple-color","",Ps)},Ms=Re.extend("--ft-button-dense-border-radius","",Re.extend("--ft-button-border-radius","",je.borderRadiusM)),Ts=Re.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Zs=Re.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_s=Re.create("--ft-button-dense-icon-padding","","SIZE","4px"),Hs=[Rt`
505
514
  :host {
506
515
  display: inline-block;
507
516
  max-width: 100%;
@@ -512,7 +521,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
512
521
  box-shadow: 0px 0px 0px transparent;
513
522
  border: 0px solid transparent;
514
523
  text-shadow: 0px 0px 0px transparent;
515
- font-size: ${jn.fontSize};
524
+ font-size: ${Bs.fontSize};
516
525
  }
517
526
 
518
527
  button:hover {
@@ -541,31 +550,31 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
541
550
  border: none;
542
551
  pointer-events: auto;
543
552
 
544
- --ft-button-internal-line-height: max(calc(${jn.fontSize} + 2px), ${jn.iconSize});
545
- --ft-button-internal-color: ${jn.color};
546
- ${kt(En.size,jn.iconSize)};
547
- ${kt(Gi.color,jn.rippleColor)};
553
+ --ft-button-internal-line-height: max(calc(${Bs.fontSize} + 2px), ${Bs.iconSize});
554
+ --ft-button-internal-color: ${Bs.color};
555
+ ${Ie(Us.size,Bs.iconSize)};
556
+ ${Ie(Xr.color,Bs.rippleColor)};
548
557
 
549
- border-radius: ${jn.borderRadius};
550
- padding: ${jn.verticalPadding} ${jn.horizontalPadding};
551
- background-color: ${jn.backgroundColor};
558
+ border-radius: ${Bs.borderRadius};
559
+ padding: ${Bs.verticalPadding} ${Bs.horizontalPadding};
560
+ background-color: ${Bs.backgroundColor};
552
561
  color: var(--ft-button-internal-color);
553
562
  -webkit-mask-image: radial-gradient(white, black);
554
563
  }
555
564
 
556
565
  .ft-button.ft-button--outlined {
557
566
  border: 1px solid var(--ft-button-internal-color);
558
- padding: calc(${jn.verticalPadding} - 1px) calc(${jn.horizontalPadding} - 1px);
567
+ padding: calc(${Bs.verticalPadding} - 1px) calc(${Bs.horizontalPadding} - 1px);
559
568
  }
560
569
 
561
570
  .ft-button.ft-button--dense {
562
- padding: ${Dn} ${Kn};
563
- border-radius: ${Bn};
564
- gap: ${Pn};
571
+ padding: ${Ts} ${Zs};
572
+ border-radius: ${Ms};
573
+ gap: ${_s};
565
574
  }
566
575
 
567
576
  .ft-button.ft-button--dense.ft-button--outlined {
568
- padding: calc(${Dn} - 1px) calc(${Kn} - 1px);
577
+ padding: calc(${Ts} - 1px) calc(${Zs} - 1px);
569
578
  }
570
579
 
571
580
  .ft-button:not([disabled]):hover {
@@ -573,22 +582,22 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
573
582
  }
574
583
 
575
584
  .ft-button--round {
576
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${jn.verticalPadding});
585
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Bs.verticalPadding});
577
586
  }
578
587
 
579
588
  .ft-button--round.ft-button--dense {
580
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Dn});
589
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ts});
581
590
  }
582
591
 
583
592
  .ft-button[disabled] {
584
593
  filter: grayscale(1);
585
- opacity: ${jn.opacityDisabled};
594
+ opacity: ${Bs.opacityDisabled};
586
595
  }
587
596
 
588
597
  .ft-button.ft-button--primary {
589
- background-color: ${zn.backgroundColor};
590
- --ft-button-internal-color: ${zn.color};
591
- ${kt(Gi.color,zn.rippleColor)};
598
+ background-color: ${Ks.backgroundColor};
599
+ --ft-button-internal-color: ${Ks.color};
600
+ ${Ie(Xr.color,Ks.rippleColor)};
592
601
  }
593
602
 
594
603
  .ft-button:focus {
@@ -601,13 +610,13 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
601
610
  white-space: nowrap;
602
611
  text-overflow: ellipsis;
603
612
  display: block;
604
- margin: 0 ${jn.iconPadding};
605
- ${kt(ln.fontSize,"1em")};
606
- ${kt(ln.lineHeight,"var(--ft-button-internal-line-height)")};
613
+ margin: 0 ${Bs.iconPadding};
614
+ ${Ie(ps.fontSize,"1em")};
615
+ ${Ie(ps.lineHeight,"var(--ft-button-internal-line-height)")};
607
616
  }
608
617
 
609
618
  .ft-button--dense .ft-button--label {
610
- margin: 0 ${Pn};
619
+ margin: 0 ${_s};
611
620
  }
612
621
 
613
622
  .ft-button--label[hidden] {
@@ -620,13 +629,13 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
620
629
  }
621
630
 
622
631
  .ft-button--label[hidden] + ft-icon {
623
- margin: 0 calc(${jn.horizontalPadding} * -1);
624
- padding: 0 ${jn.verticalPadding};
632
+ margin: 0 calc(${Bs.horizontalPadding} * -1);
633
+ padding: 0 ${Bs.verticalPadding};
625
634
  }
626
635
 
627
636
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
628
- margin: 0 calc(${Kn} * -1);
629
- padding: 0 ${Dn};
637
+ margin: 0 calc(${Zs} * -1);
638
+ padding: 0 ${Ts};
630
639
  }
631
640
 
632
641
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -635,10 +644,10 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
635
644
  }
636
645
 
637
646
  ft-loader {
638
- ${kt(Ln.size,jn.iconSize)};
639
- ${kt(Ln.color,"var(--ft-button-internal-color)")};
647
+ ${Ie(zs.size,Bs.iconSize)};
648
+ ${Ie(zs.color,"var(--ft-button-internal-color)")};
640
649
  }
641
- `,Pt],Tn=Et.create("--ft-tooltip-distance","","SIZE","4px"),Zn=Et.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_n=Et.create("--ft-tooltip-background-color","","COLOR","#666666"),Hn=Et.create("--ft-tooltip-z-index","","NUMBER","100"),Gn=Et.external(Wt.borderRadiusS,"Design system"),Vn=Et.create("--ft-tooltip-max-width","","SIZE","150px"),qn=$`
650
+ `,_e],Gs=Re.create("--ft-tooltip-distance","","SIZE","4px"),Vs=Re.create("--ft-tooltip-color","","COLOR","#FFFFFF"),qs=Re.create("--ft-tooltip-background-color","","COLOR","#666666"),Ys=Re.create("--ft-tooltip-z-index","","NUMBER","100"),Xs=Re.external(je.borderRadiusS,"Design system"),Js=Re.create("--ft-tooltip-max-width","","SIZE","150px"),Qs=Rt`
642
651
  .ft-tooltip--container {
643
652
  display: block;
644
653
  }
@@ -653,21 +662,21 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
653
662
  box-sizing: border-box;
654
663
  overflow: hidden;
655
664
  width: max-content;
656
- max-width: ${Vn};
665
+ max-width: ${Js};
657
666
  text-align: center;
658
- padding: ${Tn};
659
- z-index: ${Hn};
667
+ padding: ${Gs};
668
+ z-index: ${Ys};
660
669
  }
661
670
 
662
671
  .ft-tooltip--content {
663
672
  padding: 4px 8px;
664
- border-radius: ${Gn};
665
- background-color: ${_n};
666
- color: ${Zn};
673
+ border-radius: ${Xs};
674
+ background-color: ${qs};
675
+ color: ${Vs};
667
676
  position: relative;
668
677
  word-break: break-word;
669
678
  }
670
- `;var Yn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends Kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return rt`
679
+ `;var ta=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 ea 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 n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return fe`
671
680
  <div part="container"
672
681
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
673
682
  @mouseenter=${this.onHover}
@@ -685,37 +694,43 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
685
694
  </div>
686
695
  </div>
687
696
  </div>
688
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,f=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,f))+"px";let h=-l.y,p=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Vn})`}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))}}Xn.elementDefinitions={"ft-typography":wn},Xn.styles=qn,Yn([s()],Xn.prototype,"text",void 0),Yn([s({type:Boolean})],Xn.prototype,"manual",void 0),Yn([s({type:Boolean})],Xn.prototype,"inline",void 0),Yn([s({type:Number})],Xn.prototype,"delay",void 0),Yn([s()],Xn.prototype,"position",void 0),Yn([function(t,e,o){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:e},o?d({slot:r,flatten:e,selector:o}):c({descriptor:t=>({get(){var t,e;const o="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o);return null!==(e=null==n?void 0:n.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Xn.prototype,"slotNodes",void 0),Yn([f(".ft-tooltip--container")],Xn.prototype,"container",void 0),Yn([f(".ft-tooltip")],Xn.prototype,"tooltip",void 0),Yn([f(".ft-tooltip--content")],Xn.prototype,"tooltipContent",void 0),Yn([l()],Xn.prototype,"visible",void 0),g("ft-tooltip")(Xn);class Jn extends Kt{render(){return rt`
697
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,s=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":s=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":s=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":s=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":s=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=n+"px",a.top=s+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,h=l.x+l.width-window.innerWidth;a.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let f=-l.y,p=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(f,p))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Js})`}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))}}ea.elementDefinitions={"ft-typography":Cs},ea.styles=Qs,ta([R()],ea.prototype,"text",void 0),ta([R({type:Boolean})],ea.prototype,"manual",void 0),ta([R({type:Boolean})],ea.prototype,"inline",void 0),ta([R({type:Number})],ea.prototype,"delay",void 0),ta([R()],ea.prototype,"position",void 0),ta([
698
+ /**
699
+ * @license
700
+ * Copyright 2017 Google LLC
701
+ * SPDX-License-Identifier: BSD-3-Clause
702
+ */
703
+ 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)??[]}})}}()],ea.prototype,"slotNodes",void 0),ta([L(".ft-tooltip--container")],ea.prototype,"container",void 0),ta([L(".ft-tooltip")],ea.prototype,"tooltip",void 0),ta([L(".ft-tooltip--content")],ea.prototype,"tooltipContent",void 0),ta([I()],ea.prototype,"visible",void 0),F("ft-tooltip")(ea);class oa extends Ze{render(){return fe`
689
704
  <div class="ft-loader">
690
705
  <div></div>
691
706
  <div></div>
692
707
  <div></div>
693
708
  <div></div>
694
709
  </div>
695
- `}}Jn.styles=Wn,g("ft-loader")(Jn);var Qn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ta extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mo].form}constructor(...t){super(t),this[Mo]=this.attachInternals(),this[Mo].role=e}setFormValue(t){this[Mo].setFormValue(t)}}}(Kt,"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(rt`
710
+ `}}oa.styles=Fs,F("ft-loader")(oa);var ia=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 ra extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Hi].form}constructor(...t){super(t),this[Hi]=this.attachInternals(),this[Hi].role=e}setFormValue(t){this[Hi].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`
696
711
  <button part="button"
697
- class="${_i(this.buttonClasses)}"
712
+ class="${qr(this.buttonClasses)}"
698
713
  aria-label="${this.getLabel()}"
699
714
  ?disabled=${this.isDisabled()}>
700
715
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
701
716
  <ft-typography part="label"
702
717
  variant=${this.typographyVariant}
703
718
  element="span"
704
- class="ft-button--label ${Ho?"ft-safari-ellipsis-fix":""}"
719
+ class="ft-button--label ${Yi?"ft-safari-ellipsis-fix":""}"
705
720
  ?hidden=${!this.hasTextContent()}>
706
721
  <slot @slotchange=${this.onSlotchange}></slot>
707
722
  </ft-typography>
708
723
  ${this.resolveIcon()}
709
724
  </button>
710
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?rt`
725
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?fe`
711
726
  <ft-tooltip part="tooltip"
712
727
  text="${this.getLabel()}"
713
728
  position="${this.tooltipPosition}">
714
729
  ${t}
715
730
  </ft-tooltip>
716
- `:t}resolveIcon(){return this.loading?rt`
717
- <ft-loader part="loader icon"></ft-loader> `:this.icon?rt`
718
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:at}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}}ta.elementDefinitions={"ft-ripple":or,"ft-tooltip":Xn,"ft-typography":wn,"ft-icon":Un,"ft-loader":Jn},Qn([s({type:String,reflect:!0})],ta.prototype,"role",void 0),Qn([s()],ta.prototype,"type",void 0),Qn([s({type:Boolean})],ta.prototype,"disabled",void 0),Qn([s()],ta.prototype,"label",void 0),Qn([s()],ta.prototype,"icon",void 0),Qn([s()],ta.prototype,"iconVariant",void 0),Qn([s({type:Boolean})],ta.prototype,"trailingIcon",void 0),Qn([s({type:Boolean})],ta.prototype,"loading",void 0),Qn([s()],ta.prototype,"tooltipPosition",void 0),Qn([s({type:Boolean})],ta.prototype,"hideTooltip",void 0),Qn([s({type:Boolean})],ta.prototype,"forceTooltip",void 0),Qn([f(".ft-button")],ta.prototype,"button",void 0),Qn([f(".ft-button--label slot")],ta.prototype,"slottedContent",void 0);var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends ta{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"}}oa.styles=[Mt,Mn],ea([s({type:Boolean})],oa.prototype,"primary",void 0),ea([s({type:Boolean})],oa.prototype,"outlined",void 0),ea([s({type:Boolean})],oa.prototype,"dense",void 0),ea([s({type:Boolean})],oa.prototype,"round",void 0);const ia=[$`
731
+ `:t}resolveIcon(){return this.loading?fe`
732
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?fe`
733
+ <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}}ra.elementDefinitions={"ft-ripple":an,"ft-tooltip":ea,"ft-typography":Cs,"ft-icon":js,"ft-loader":oa},ia([R({type:String,reflect:!0})],ra.prototype,"role",void 0),ia([R()],ra.prototype,"type",void 0),ia([R({type:Boolean})],ra.prototype,"disabled",void 0),ia([R()],ra.prototype,"label",void 0),ia([R()],ra.prototype,"icon",void 0),ia([R()],ra.prototype,"iconVariant",void 0),ia([R({type:Boolean})],ra.prototype,"trailingIcon",void 0),ia([R({type:Boolean})],ra.prototype,"loading",void 0),ia([R()],ra.prototype,"tooltipPosition",void 0),ia([R({type:Boolean})],ra.prototype,"hideTooltip",void 0),ia([R({type:Boolean})],ra.prototype,"forceTooltip",void 0),ia([L(".ft-button")],ra.prototype,"button",void 0),ia([L(".ft-button--label slot")],ra.prototype,"slottedContent",void 0);var na=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 sa extends ra{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"}}sa.styles=[He,Hs],na([R({type:Boolean})],sa.prototype,"primary",void 0),na([R({type:Boolean})],sa.prototype,"outlined",void 0),na([R({type:Boolean})],sa.prototype,"dense",void 0),na([R({type:Boolean})],sa.prototype,"round",void 0);const aa=[Rt`
719
734
  :host {
720
735
  display: inline-block;
721
736
  max-width: 100%;
@@ -765,7 +780,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
765
780
  }
766
781
 
767
782
  .ft-button:focus-visible {
768
- outline-color: ${Lt.focusFocusRingColor};
783
+ outline-color: ${We.focusFocusRingColor};
769
784
  outline-style: solid;
770
785
  }
771
786
 
@@ -794,146 +809,146 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
794
809
  /** Primary styles **/
795
810
 
796
811
  .ft-button--primary {
797
- ${kt(Ln.color,Lt.primaryIconColor)};
812
+ ${Ie(zs.color,We.primaryIconColor)};
798
813
 
799
- ${kt(Gi.color,Lt.primaryStateLayerColor)};
800
- ${kt(Gi.opacityContentOnSurfaceHover,Lt.primaryStateLayerOpacityHover)};
801
- ${kt(Gi.opacityContentOnSurfaceFocused,Lt.primaryStateLayerOpacityFocus)};
802
- ${kt(Gi.opacityContentOnSurfaceSelected,Lt.primaryStateLayerOpacityActive)};
803
- ${kt(Gi.opacityContentOnSurfacePressed,Lt.primaryStateLayerOpacityActive)};
814
+ ${Ie(Xr.color,We.primaryStateLayerColor)};
815
+ ${Ie(Xr.opacityContentOnSurfaceHover,We.primaryStateLayerOpacityHover)};
816
+ ${Ie(Xr.opacityContentOnSurfaceFocused,We.primaryStateLayerOpacityFocus)};
817
+ ${Ie(Xr.opacityContentOnSurfaceSelected,We.primaryStateLayerOpacityActive)};
818
+ ${Ie(Xr.opacityContentOnSurfacePressed,We.primaryStateLayerOpacityActive)};
804
819
 
805
- background-color: ${Lt.primaryBackgroundColor};
806
- color: ${Lt.primaryColor};
820
+ background-color: ${We.primaryBackgroundColor};
821
+ color: ${We.primaryColor};
807
822
  border-style: none;
808
823
  }
809
824
 
810
825
  .ft-button--primary[disabled] {
811
- opacity: ${Lt.primaryComponentOpacityDisabled};
826
+ opacity: ${We.primaryComponentOpacityDisabled};
812
827
  }
813
828
 
814
829
  .ft-button--primary ft-icon {
815
- color: ${Lt.primaryIconColor};
830
+ color: ${We.primaryIconColor};
816
831
  }
817
832
 
818
833
  /** Secondary styles **/
819
834
 
820
835
  .ft-button--secondary {
821
- ${kt(Ln.color,Lt.secondaryIconColor)};
836
+ ${Ie(zs.color,We.secondaryIconColor)};
822
837
 
823
- ${kt(Gi.color,Lt.secondaryStateLayerColor)};
824
- ${kt(Gi.opacityContentOnSurfaceHover,Lt.secondaryStateLayerOpacityHover)};
825
- ${kt(Gi.opacityContentOnSurfaceFocused,Lt.secondaryStateLayerOpacityFocus)};
826
- ${kt(Gi.opacityContentOnSurfaceSelected,Lt.secondaryStateLayerOpacityActive)};
827
- ${kt(Gi.opacityContentOnSurfacePressed,Lt.secondaryStateLayerOpacityActive)};
838
+ ${Ie(Xr.color,We.secondaryStateLayerColor)};
839
+ ${Ie(Xr.opacityContentOnSurfaceHover,We.secondaryStateLayerOpacityHover)};
840
+ ${Ie(Xr.opacityContentOnSurfaceFocused,We.secondaryStateLayerOpacityFocus)};
841
+ ${Ie(Xr.opacityContentOnSurfaceSelected,We.secondaryStateLayerOpacityActive)};
842
+ ${Ie(Xr.opacityContentOnSurfacePressed,We.secondaryStateLayerOpacityActive)};
828
843
 
829
- background-color: ${Lt.secondaryBackgroundColor};
830
- color: ${Lt.secondaryColor};
831
- border-color: ${Lt.secondaryBorderColor};
844
+ background-color: ${We.secondaryBackgroundColor};
845
+ color: ${We.secondaryColor};
846
+ border-color: ${We.secondaryBorderColor};
832
847
  border-style: solid;
833
848
  }
834
849
 
835
850
  .ft-button--secondary[disabled] {
836
- opacity: ${Lt.secondaryComponentOpacityDisabled};
851
+ opacity: ${We.secondaryComponentOpacityDisabled};
837
852
  }
838
853
 
839
854
  .ft-button--secondary ft-icon {
840
- color: ${Lt.secondaryIconColor};
855
+ color: ${We.secondaryIconColor};
841
856
  }
842
857
 
843
858
  /** Tertiary styles **/
844
859
 
845
860
  .ft-button--tertiary {
846
- ${kt(Ln.color,Lt.tertiaryIconColor)};
861
+ ${Ie(zs.color,We.tertiaryIconColor)};
847
862
 
848
- ${kt(Gi.color,Lt.tertiaryStateLayerColor)};
849
- ${kt(Gi.opacityContentOnSurfaceHover,Lt.tertiaryStateLayerOpacityHover)};
850
- ${kt(Gi.opacityContentOnSurfaceFocused,Lt.tertiaryStateLayerOpacityFocus)};
851
- ${kt(Gi.opacityContentOnSurfaceSelected,Lt.tertiaryStateLayerOpacityActive)};
852
- ${kt(Gi.opacityContentOnSurfacePressed,Lt.tertiaryStateLayerOpacityActive)};
863
+ ${Ie(Xr.color,We.tertiaryStateLayerColor)};
864
+ ${Ie(Xr.opacityContentOnSurfaceHover,We.tertiaryStateLayerOpacityHover)};
865
+ ${Ie(Xr.opacityContentOnSurfaceFocused,We.tertiaryStateLayerOpacityFocus)};
866
+ ${Ie(Xr.opacityContentOnSurfaceSelected,We.tertiaryStateLayerOpacityActive)};
867
+ ${Ie(Xr.opacityContentOnSurfacePressed,We.tertiaryStateLayerOpacityActive)};
853
868
 
854
- background-color: ${Lt.tertiaryBackgroundColor};
855
- color: ${Lt.tertiaryColor};
869
+ background-color: ${We.tertiaryBackgroundColor};
870
+ color: ${We.tertiaryColor};
856
871
  border-style: none;
857
872
  }
858
873
 
859
874
  .ft-button--tertiary[disabled] {
860
- opacity: ${Lt.tertiaryComponentOpacityDisabled};
875
+ opacity: ${We.tertiaryComponentOpacityDisabled};
861
876
  }
862
877
 
863
878
  .ft-button--tertiary ft-icon {
864
- color: ${Lt.tertiaryIconColor};
879
+ color: ${We.tertiaryIconColor};
865
880
  }
866
881
 
867
882
  /** Neutral styles **/
868
883
 
869
884
  .ft-button--neutral {
870
- ${kt(Ln.color,Lt.neutralIconColor)};
885
+ ${Ie(zs.color,We.neutralIconColor)};
871
886
 
872
- ${kt(Gi.backgroundColor,Lt.neutralStateLayerColor)};
873
- ${kt(Gi.opacityContentOnSurfaceHover,Lt.neutralStateLayerOpacityHover)};
874
- ${kt(Gi.opacityContentOnSurfaceFocused,Lt.neutralStateLayerOpacityFocus)};
875
- ${kt(Gi.opacityContentOnSurfaceSelected,Lt.neutralStateLayerOpacityActive)};
876
- ${kt(Gi.opacityContentOnSurfacePressed,Lt.neutralStateLayerOpacityActive)};
887
+ ${Ie(Xr.backgroundColor,We.neutralStateLayerColor)};
888
+ ${Ie(Xr.opacityContentOnSurfaceHover,We.neutralStateLayerOpacityHover)};
889
+ ${Ie(Xr.opacityContentOnSurfaceFocused,We.neutralStateLayerOpacityFocus)};
890
+ ${Ie(Xr.opacityContentOnSurfaceSelected,We.neutralStateLayerOpacityActive)};
891
+ ${Ie(Xr.opacityContentOnSurfacePressed,We.neutralStateLayerOpacityActive)};
877
892
 
878
- background-color: ${Lt.neutralBackgroundColor};
879
- color: ${Lt.neutralColor};
893
+ background-color: ${We.neutralBackgroundColor};
894
+ color: ${We.neutralColor};
880
895
  border-style: none;
881
896
  }
882
897
 
883
898
  .ft-button--neutral[disabled] {
884
- opacity: ${Lt.neutralComponentOpacityDisabled};
899
+ opacity: ${We.neutralComponentOpacityDisabled};
885
900
  }
886
901
 
887
902
  .ft-button--neutral ft-icon {
888
- color: ${Lt.neutralIconColor};
903
+ color: ${We.neutralIconColor};
889
904
  }
890
905
 
891
906
  /** Large styles **/
892
907
 
893
908
  .ft-button--large {
894
- ${kt(En.size,Lt.largeIconSize)};
895
- ${kt(Ln.size,Lt.largeIconSize)};
909
+ ${Ie(Us.size,We.largeIconSize)};
910
+ ${Ie(zs.size,We.largeIconSize)};
896
911
 
897
- height: ${Lt.largeHeight};
898
- padding: 0 ${Lt.largeHorizontalPadding};
899
- gap: ${Lt.largeGap};
900
- border-radius: ${Lt.largeBorderRadius};
901
- border-width: ${Lt.largeBorderWidth};
912
+ height: ${We.largeHeight};
913
+ padding: 0 ${We.largeHorizontalPadding};
914
+ gap: ${We.largeGap};
915
+ border-radius: ${We.largeBorderRadius};
916
+ border-width: ${We.largeBorderWidth};
902
917
  }
903
918
 
904
919
  .ft-button--large:focus-visible {
905
- outline-width: ${Lt.largeFocusOutlineWidth};
906
- outline-offset: ${Lt.largeFocusOutlineOffset};
920
+ outline-width: ${We.largeFocusOutlineWidth};
921
+ outline-offset: ${We.largeFocusOutlineOffset};
907
922
  }
908
923
 
909
924
  .ft-button--large.ft-button--icon-only {
910
- width: ${Lt.largeIconOnlyWidth};
925
+ width: ${We.largeIconOnlyWidth};
911
926
  padding: unset;
912
927
  }
913
928
 
914
929
  /** Small styles **/
915
930
 
916
931
  .ft-button--small {
917
- ${kt(En.size,Lt.smallIconSize)};
918
- ${kt(Ln.size,Lt.smallIconSize)};
932
+ ${Ie(Us.size,We.smallIconSize)};
933
+ ${Ie(zs.size,We.smallIconSize)};
919
934
 
920
- height: ${Lt.smallHeight};
921
- padding: 0 ${Lt.smallHorizontalPadding};
922
- gap: ${Lt.smallGap};
923
- border-radius: ${Lt.smallBorderRadius};
924
- border-width: ${Lt.smallBorderWidth};
935
+ height: ${We.smallHeight};
936
+ padding: 0 ${We.smallHorizontalPadding};
937
+ gap: ${We.smallGap};
938
+ border-radius: ${We.smallBorderRadius};
939
+ border-width: ${We.smallBorderWidth};
925
940
  }
926
941
 
927
942
  .ft-button--small:focus-visible {
928
- outline-width: ${Lt.smallFocusOutlineWidth};
929
- outline-offset: ${Lt.smallFocusOutlineOffset};
943
+ outline-width: ${We.smallFocusOutlineWidth};
944
+ outline-offset: ${We.smallFocusOutlineOffset};
930
945
  }
931
946
 
932
947
  .ft-button--small.ft-button--icon-only {
933
- width: ${Lt.smallIconOnlyWidth};
948
+ width: ${We.smallIconOnlyWidth};
934
949
  padding: unset;
935
950
  }
936
- `,Pt];var ra=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends ta{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?lr.caption1medium:lr.body2medium}}na.styles=[Mt,ia],ra([s({type:Boolean})],na.prototype,"primary",void 0),ra([s({type:Boolean})],na.prototype,"secondary",void 0),ra([s({type:Boolean})],na.prototype,"tertiary",void 0),ra([s({type:Boolean})],na.prototype,"neutral",void 0),ra([s({type:Boolean})],na.prototype,"small",void 0),g("ft-button")(oa),g("ftds-button")(na);const aa=Et.extend("--ft-chip-color","",Wt.colorOnSurface),sa={backgroundColor:Et.extend("--ft-chip-background-color","",Wt.colorSurface),color:aa,fontSize:Et.extend("--ft-chip-font-size","",Mr.fontSize),iconSize:Et.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Et.extend("--ft-chip-ripple-color","",aa),horizontalPadding:Et.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Et.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Et.external(Wt.colorOutline,"Design system"),opacityDisabled:Et.external(Wt.colorOpacityDisabled,"Design system")},la=Et.extend("--ft-chip-highlighted-color","",Et.extend("--ft-chip-color","",Wt.colorOnPrimary)),ca={backgroundColor:Et.extend("--ft-chip-highlighted-background-color","",Et.extend("--ft-chip-background-color","",Wt.colorPrimary)),color:la,rippleColor:Et.extend("--ft-chip-highlighted-ripple-color","",la)},fa=Et.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ha=Et.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),pa=[Pt,$`
951
+ `,_e];var la=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 ca extends ra{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?dn.caption1medium:dn.body2medium}}ca.styles=[He,aa],la([R({type:Boolean})],ca.prototype,"primary",void 0),la([R({type:Boolean})],ca.prototype,"secondary",void 0),la([R({type:Boolean})],ca.prototype,"tertiary",void 0),la([R({type:Boolean})],ca.prototype,"neutral",void 0),la([R({type:Boolean})],ca.prototype,"small",void 0),F("ft-button")(sa),F("ftds-button")(ca);const ha=Re.extend("--ft-chip-color","",je.colorOnSurface),fa={backgroundColor:Re.extend("--ft-chip-background-color","",je.colorSurface),color:ha,fontSize:Re.extend("--ft-chip-font-size","",Gn.fontSize),iconSize:Re.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Re.extend("--ft-chip-ripple-color","",ha),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")},pa=Re.extend("--ft-chip-highlighted-color","",Re.extend("--ft-chip-color","",je.colorOnPrimary)),da={backgroundColor:Re.extend("--ft-chip-highlighted-background-color","",Re.extend("--ft-chip-background-color","",je.colorPrimary)),color:pa,rippleColor:Re.extend("--ft-chip-highlighted-ripple-color","",pa)},ua=Re.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ya=Re.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ga=[_e,Rt`
937
952
  :host {
938
953
  display: inline-block;
939
954
  max-width: 100%;
@@ -949,20 +964,20 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
949
964
  box-sizing: border-box;
950
965
  pointer-events: auto;
951
966
 
952
- --ft-chip-internal-font-size: ${sa.fontSize};
967
+ --ft-chip-internal-font-size: ${fa.fontSize};
953
968
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
954
- ${kt(En.size,sa.iconSize)};
955
- --ft-chip-internal-vertical-padding: ${sa.verticalPadding};
956
- --ft-chip-internal-horizontal-padding: ${sa.horizontalPadding};
969
+ ${Ie(Us.size,fa.iconSize)};
970
+ --ft-chip-internal-vertical-padding: ${fa.verticalPadding};
971
+ --ft-chip-internal-horizontal-padding: ${fa.horizontalPadding};
957
972
  --ft-chip-internal-icon-padding: 3px;
958
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${sa.iconSize});
973
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${fa.iconSize});
959
974
 
960
- border: 1px solid ${sa.colorOutline};
961
- color: ${sa.color};
962
- ${kt(Gi.color,sa.rippleColor)};
975
+ border: 1px solid ${fa.colorOutline};
976
+ color: ${fa.color};
977
+ ${Ie(Xr.color,fa.rippleColor)};
963
978
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
964
979
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
965
- background-color: ${sa.backgroundColor};
980
+ background-color: ${fa.backgroundColor};
966
981
  line-height: var(--ft-chip-internal-content-height);
967
982
  }
968
983
 
@@ -972,8 +987,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
972
987
 
973
988
  .ft-chip--dense {
974
989
  --ft-chip-internal-icon-padding: 3px;
975
- --ft-chip-internal-vertical-padding: ${ha};
976
- --ft-chip-internal-horizontal-padding: ${fa};
990
+ --ft-chip-internal-vertical-padding: ${ya};
991
+ --ft-chip-internal-horizontal-padding: ${ua};
977
992
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
978
993
  }
979
994
 
@@ -985,15 +1000,15 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
985
1000
  cursor: default;
986
1001
  pointer-events: none;
987
1002
  filter: grayscale(1);
988
- opacity: ${sa.opacityDisabled};
1003
+ opacity: ${fa.opacityDisabled};
989
1004
  }
990
1005
 
991
1006
  .ft-chip--highlighted {
992
1007
  border: none;
993
1008
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
994
- background-color: ${ca.backgroundColor};
995
- ${kt(Gi.color,ca.rippleColor)};
996
- color: ${ca.color};
1009
+ background-color: ${da.backgroundColor};
1010
+ ${Ie(Xr.color,da.rippleColor)};
1011
+ color: ${da.color};
997
1012
  }
998
1013
 
999
1014
  .ft-chip--clickable {
@@ -1023,9 +1038,9 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1023
1038
  }
1024
1039
 
1025
1040
  .ft-chip--icon-button {
1026
- ${kt(jn.iconSize,sa.iconSize)};
1027
- ${kt(jn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1028
- ${kt(jn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1041
+ ${Ie(Bs.iconSize,fa.iconSize)};
1042
+ ${Ie(Bs.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1043
+ ${Ie(Bs.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1029
1044
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1030
1045
  }
1031
1046
 
@@ -1033,8 +1048,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1033
1048
  vertical-align: bottom;
1034
1049
  display: block;
1035
1050
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1036
- ${kt(Mr.fontSize,"var(--ft-chip-internal-font-size)")};
1037
- ${kt(Mr.lineHeight,"var(--ft-chip-internal-content-height)")};
1051
+ ${Ie(Gn.fontSize,"var(--ft-chip-internal-font-size)")};
1052
+ ${Ie(Gn.lineHeight,"var(--ft-chip-internal-content-height)")};
1038
1053
  }
1039
1054
 
1040
1055
  .ft-chip--safari-fix .ft-chip--label {
@@ -1070,8 +1085,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1070
1085
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1071
1086
  order: -1;
1072
1087
  }
1073
- `];var da=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ua extends CustomEvent{constructor(){super("icon-click")}}class ya extends Kt{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":Ho};return rt`
1074
- <div class="${_i(t)}"
1088
+ `];var ba=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 va extends CustomEvent{constructor(){super("icon-click")}}class ma 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":Yi};return fe`
1089
+ <div class="${qr(t)}"
1075
1090
  aria-label="${this.getLabel()}"
1076
1091
  tabindex="${this.interactionsOnChip?0:-1}"
1077
1092
  @keyup=${this.onKeyUp}>
@@ -1081,7 +1096,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1081
1096
  </ft-typography>
1082
1097
  ${this.internalIcon?this.renderIcon():null}
1083
1098
  </div>
1084
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?rt`
1099
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?fe`
1085
1100
  <ft-button round
1086
1101
  class="ft-chip--icon-button"
1087
1102
  @click=${this.onIconClick}
@@ -1089,27 +1104,27 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1089
1104
  icon="${this.internalIcon}"
1090
1105
  label="${this.iconLabel}"
1091
1106
  ></ft-button>
1092
- `:rt`
1107
+ `:fe`
1093
1108
  <div class="ft-chip--icon-container ft-no-text-select">
1094
1109
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1095
1110
  </div>
1096
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ua))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ua))}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)}}ya.elementDefinitions={"ft-ripple":or,"ft-typography":wn,"ft-icon":Un,"ft-button":oa},ya.styles=pa,da([s({type:Boolean})],ya.prototype,"highlighted",void 0),da([s({type:Boolean})],ya.prototype,"removable",void 0),da([s({type:Boolean})],ya.prototype,"disabled",void 0),da([s({type:Boolean})],ya.prototype,"clickable",void 0),da([s({type:Boolean})],ya.prototype,"iconClickable",void 0),da([s({type:Boolean})],ya.prototype,"dense",void 0),da([s({type:Boolean})],ya.prototype,"multiLine",void 0),da([s()],ya.prototype,"label",void 0),da([s()],ya.prototype,"iconLabel",void 0),da([s()],ya.prototype,"icon",void 0),da([s()],ya.prototype,"iconVariant",void 0),da([s({type:Boolean})],ya.prototype,"trailingIcon",void 0),da([f("ft-typography slot")],ya.prototype,"slottedContent",void 0),g("ft-chip")(ya);const ba=$`
1097
- `;var ga=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const va=Symbol("i18nProperties"),ma=Symbol("i18nUnsubs");function xa(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ri:ki}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[va])||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[va])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[va]&&new Set([...this[va].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[ma].has(t)||this[ma].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[ma].forEach((t=>t())),this[ma].clear()}}return e=ma,ga([s({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Oa extends(xa(Kt)){}class wa extends(xa(Xt)){}var Sa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Na extends wa{constructor(){super(),this.editorMode=!1,this.addStore(Si)}render(){return this.key&&this.context?rt`
1111
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new va))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new va))}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)}}ma.elementDefinitions={"ft-ripple":an,"ft-typography":Cs,"ft-icon":js,"ft-button":sa},ma.styles=ga,ba([R({type:Boolean})],ma.prototype,"highlighted",void 0),ba([R({type:Boolean})],ma.prototype,"removable",void 0),ba([R({type:Boolean})],ma.prototype,"disabled",void 0),ba([R({type:Boolean})],ma.prototype,"clickable",void 0),ba([R({type:Boolean})],ma.prototype,"iconClickable",void 0),ba([R({type:Boolean})],ma.prototype,"dense",void 0),ba([R({type:Boolean})],ma.prototype,"multiLine",void 0),ba([R()],ma.prototype,"label",void 0),ba([R()],ma.prototype,"iconLabel",void 0),ba([R()],ma.prototype,"icon",void 0),ba([R()],ma.prototype,"iconVariant",void 0),ba([R({type:Boolean})],ma.prototype,"trailingIcon",void 0),ba([L("ft-typography slot")],ma.prototype,"slottedContent",void 0),F("ft-chip")(ma);const xa=Rt`
1112
+ `;var Oa=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 wa=Symbol("i18nProperties"),Sa=Symbol("i18nUnsubs");function Na(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ar:Lr}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[wa])||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[wa])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[wa]&&new Set([...this[wa].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Sa].has(t)||this[Sa].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[Sa].forEach((t=>t())),this[Sa].clear()}}return e=Sa,Oa([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class $a extends(Na(Ze)){}class Ca extends(Na(eo)){}var Ea=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 ka extends Ca{constructor(){super(),this.editorMode=!1,this.addStore(Er)}render(){return this.key&&this.context?fe`
1098
1113
  <span class="ft-i18n">
1099
1114
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1100
1115
  </span>
1101
- `:this.editorMode?"Select a context and a label key.":at}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Na.elementDefinitions={},Na.styles=ba,Sa([Po()],Na.prototype,"editorMode",void 0),Sa([s()],Na.prototype,"context",void 0),Sa([s()],Na.prototype,"key",void 0),Sa([v([])],Na.prototype,"args",void 0),Sa([s()],Na.prototype,"defaultMessage",void 0);class $a{static build(t){return new $a(t)}static fromGwt(t){return new $a(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)=>ki.resolveMessage(this.name,e,...t)})}}g("ft-i18n")(Na);const Ca=$`
1102
- `;var Ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ka extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Ra extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Ia extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Ua extends Xt{get stateManager(){return null==this._stateManager&&(this._stateManager=Ki.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.filters=[],this.sort=[],this.addStore(Si)}render(){return rt`
1116
+ `:this.editorMode?"Select a context and a label key.":de}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}ka.elementDefinitions={},ka.styles=xa,Ea([_i()],ka.prototype,"editorMode",void 0),Ea([R()],ka.prototype,"context",void 0),Ea([R()],ka.prototype,"key",void 0),Ea([D([])],ka.prototype,"args",void 0),Ea([R()],ka.prototype,"defaultMessage",void 0);class Ra{static build(t){return new Ra(t)}static fromGwt(t){return new Ra(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)=>Lr.resolveMessage(this.name,e,...t)})}}F("ft-i18n")(ka);const Ia=Rt`
1117
+ `;var Ua=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 La extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Aa extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Wa extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class ja extends eo{get stateManager(){return null==this._stateManager&&(this._stateManager=Zr.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.filters=[],this.sort=[],this.addStore(Er)}render(){return fe`
1103
1118
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1104
- `}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)}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 Ra(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Ia(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 ka(t))}reloadSavedSearches(){Fi.clearMySearches()}}Ua.elementDefinitions={},Ua.styles=Ca,Ea([s()],Ua.prototype,"query",void 0),Ea([s()],Ua.prototype,"contentLocale",void 0),Ea([s({type:Number})],Ua.prototype,"pageSize",void 0),Ea([s({type:Boolean})],Ua.prototype,"searchInDocumentTitlesOnly",void 0),Ea([v([])],Ua.prototype,"filters",void 0),Ea([v([])],Ua.prototype,"sort",void 0),Ea([Po({store:"search"})],Ua.prototype,"request",void 0),Ea([Po({store:"search"})],Ua.prototype,"paging",void 0),Ea([Po({store:"search",selector:t=>t.spellcheck})],Ua.prototype,"autocorrect",void 0),Ea([Po({store:Si.name})],Ua.prototype,"session",void 0),g("ft-search-context")(Ua);const La=$`
1105
- `,Wa=Et.extend("--ft-checkbox-text-color","",Wt.colorOnSurfaceHigh),Aa=Et.external(Wt.colorPrimary,"Design system"),ja=Et.external(Wt.colorOnPrimary,"Design system"),Fa=Et.extend("--ft-checkbox-border-color","",Wt.colorOnSurfaceMedium),za=Et.external(Wt.colorOnSurfaceDisabled,"Design system"),Ba=$`
1119
+ `}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)}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 Aa(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Wa(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 La(t))}reloadSavedSearches(){Pr.clearMySearches()}}ja.elementDefinitions={},ja.styles=Ia,Ua([R()],ja.prototype,"query",void 0),Ua([R()],ja.prototype,"contentLocale",void 0),Ua([R({type:Number})],ja.prototype,"pageSize",void 0),Ua([R({type:Boolean})],ja.prototype,"searchInDocumentTitlesOnly",void 0),Ua([D([])],ja.prototype,"filters",void 0),Ua([D([])],ja.prototype,"sort",void 0),Ua([_i({store:"search"})],ja.prototype,"request",void 0),Ua([_i({store:"search"})],ja.prototype,"paging",void 0),Ua([_i({store:"search",selector:t=>t.spellcheck})],ja.prototype,"autocorrect",void 0),Ua([_i({store:Er.name})],ja.prototype,"session",void 0),F("ft-search-context")(ja);const za=Rt`
1120
+ `,Fa=Re.extend("--ft-checkbox-text-color","",je.colorOnSurfaceHigh),Da=Re.external(je.colorPrimary,"Design system"),Ba=Re.external(je.colorOnPrimary,"Design system"),Pa=Re.extend("--ft-checkbox-border-color","",je.colorOnSurfaceMedium),Ka=Re.external(je.colorOnSurfaceDisabled,"Design system"),Ma=Rt`
1106
1121
  * {
1107
1122
  box-sizing: border-box;
1108
1123
  }
1109
1124
 
1110
1125
  .ft-checkbox {
1111
1126
  box-sizing: border-box;
1112
- color: ${Wa};
1127
+ color: ${Fa};
1113
1128
 
1114
1129
  display: inline-flex;
1115
1130
  align-items: center;
@@ -1117,7 +1132,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1117
1132
  }
1118
1133
 
1119
1134
  .ft-checkbox--disabled {
1120
- color: ${za};
1135
+ color: ${Ka};
1121
1136
  }
1122
1137
 
1123
1138
  input {
@@ -1141,26 +1156,26 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1141
1156
 
1142
1157
  .ft-checkbox--box {
1143
1158
  display: flex;
1144
- border: 2px solid ${Fa};
1159
+ border: 2px solid ${Pa};
1145
1160
  border-radius: 2px;
1146
1161
 
1147
1162
  width: 18px;
1148
1163
  height: 18px;
1149
1164
 
1150
- color: ${ja};
1165
+ color: ${Ba};
1151
1166
  }
1152
1167
 
1153
1168
 
1154
1169
  .ft-checkbox--checked .ft-checkbox--box,
1155
1170
  .ft-checkbox--indeterminate .ft-checkbox--box {
1156
- border-color: ${Aa};
1157
- background-color: ${Aa};
1171
+ border-color: ${Da};
1172
+ background-color: ${Da};
1158
1173
  }
1159
1174
 
1160
1175
  .ft-checkbox--disabled .ft-checkbox--box {
1161
- border-color: ${za};
1176
+ border-color: ${Ka};
1162
1177
  background-color: transparent;
1163
- color: ${za};
1178
+ color: ${Ka};
1164
1179
  }
1165
1180
 
1166
1181
  .ft-checkbox--checkmark {
@@ -1179,8 +1194,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1179
1194
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1180
1195
  opacity: 1;
1181
1196
  }
1182
- `;var Da=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ka extends Kt{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 rt`
1183
- <label class="${_i(t)}" for="checkbox-input">
1197
+ `;var Ta=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 Za 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`
1198
+ <label class="${qr(t)}" for="checkbox-input">
1184
1199
  <div class="ft-checkbox--box-container">
1185
1200
  <ft-ripple
1186
1201
  ?disabled=${this.disabled}
@@ -1205,14 +1220,14 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1205
1220
  <slot></slot>
1206
1221
  </ft-typography>
1207
1222
  </label>
1208
- `}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)}}Ka.elementDefinitions={"ft-ripple":or,"ft-typography":wn},Ka.styles=Ba,Da([s()],Ka.prototype,"name",void 0),Da([s({type:Boolean,reflect:!0})],Ka.prototype,"checked",void 0),Da([s({type:Boolean})],Ka.prototype,"indeterminate",void 0),Da([s({type:Boolean})],Ka.prototype,"disabled",void 0),Da([f(".ft-checkbox")],Ka.prototype,"container",void 0),Da([f("ft-ripple")],Ka.prototype,"ripple",void 0),g("ft-checkbox")(Ka);const Pa=Et.extend("--ft-radio-text-color","",Wt.colorOnSurfaceHigh),Ma=Et.external(Wt.colorPrimary,"Design system"),Ta=(Et.external(Wt.colorOnPrimary,"Design system"),Et.extend("--ft-radio-border-color","",Wt.colorOnSurfaceMedium)),Za=Et.external(Wt.colorOnSurfaceDisabled,"Design system"),_a=$`
1223
+ `}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)}}Za.elementDefinitions={"ft-ripple":an,"ft-typography":Cs},Za.styles=Ma,Ta([R()],Za.prototype,"name",void 0),Ta([R({type:Boolean,reflect:!0})],Za.prototype,"checked",void 0),Ta([R({type:Boolean})],Za.prototype,"indeterminate",void 0),Ta([R({type:Boolean})],Za.prototype,"disabled",void 0),Ta([L(".ft-checkbox")],Za.prototype,"container",void 0),Ta([L("ft-ripple")],Za.prototype,"ripple",void 0),F("ft-checkbox")(Za);const _a=Re.extend("--ft-radio-text-color","",je.colorOnSurfaceHigh),Ha=Re.external(je.colorPrimary,"Design system"),Ga=(Re.external(je.colorOnPrimary,"Design system"),Re.extend("--ft-radio-border-color","",je.colorOnSurfaceMedium)),Va=Re.external(je.colorOnSurfaceDisabled,"Design system"),qa=Rt`
1209
1224
  * {
1210
1225
  box-sizing: border-box;
1211
1226
  }
1212
1227
 
1213
1228
  .ft-radio {
1214
1229
  box-sizing: border-box;
1215
- color: ${Pa};
1230
+ color: ${_a};
1216
1231
 
1217
1232
  display: inline-flex;
1218
1233
  align-items: center;
@@ -1220,7 +1235,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1220
1235
  }
1221
1236
 
1222
1237
  .ft-radio--disabled {
1223
- color: ${Za};
1238
+ color: ${Va};
1224
1239
  }
1225
1240
 
1226
1241
  input {
@@ -1243,7 +1258,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1243
1258
  }
1244
1259
 
1245
1260
  .ft-radio--box {
1246
- border: 2px solid ${Ta};
1261
+ border: 2px solid ${Ga};
1247
1262
  border-radius: 50%;
1248
1263
 
1249
1264
  display: flex;
@@ -1256,7 +1271,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1256
1271
 
1257
1272
  .ft-radio--box:after {
1258
1273
  content: " ";
1259
- background-color: ${Ma};
1274
+ background-color: ${Ha};
1260
1275
 
1261
1276
  border-radius: 50%;
1262
1277
 
@@ -1268,7 +1283,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1268
1283
  }
1269
1284
 
1270
1285
  .ft-radio--checked .ft-radio--box {
1271
- border-color: ${Ma};
1286
+ border-color: ${Ha};
1272
1287
  }
1273
1288
 
1274
1289
 
@@ -1277,15 +1292,15 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1277
1292
  }
1278
1293
 
1279
1294
  .ft-radio--disabled .ft-radio--box {
1280
- border-color: ${Za};
1295
+ border-color: ${Va};
1281
1296
  background-color: transparent;
1282
1297
  }
1283
1298
 
1284
1299
  .ft-radio--disabled .ft-radio--box:after {
1285
- background-color: ${Za};
1300
+ background-color: ${Va};
1286
1301
  }
1287
- `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ga extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Va extends Kt{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 rt`
1288
- <div class="${_i(t)}">
1302
+ `;var Ya=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 Xa extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ja 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`
1303
+ <div class="${qr(t)}">
1289
1304
  <div class="ft-radio--box-container">
1290
1305
  <ft-ripple
1291
1306
  ?disabled=${this.disabled}
@@ -1309,16 +1324,22 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1309
1324
  </ft-typography>
1310
1325
  </label>
1311
1326
  </div>
1312
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ga(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 Ga(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Va.elementDefinitions={"ft-ripple":or,"ft-typography":wn},Va.styles=_a,Ha([s()],Va.prototype,"value",void 0),Ha([s()],Va.prototype,"name",void 0),Ha([s({type:Boolean,reflect:!0})],Va.prototype,"checked",void 0),Ha([s({type:Boolean})],Va.prototype,"disabled",void 0),Ha([f(".ft-radio")],Va.prototype,"container",void 0),Ha([f("ft-ripple")],Va.prototype,"ripple",void 0),Ha([f("input")],Va.prototype,"input",void 0);const qa=$`
1327
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Xa(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 Xa(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ja.elementDefinitions={"ft-ripple":an,"ft-typography":Cs},Ja.styles=qa,Ya([R()],Ja.prototype,"value",void 0),Ya([R()],Ja.prototype,"name",void 0),Ya([R({type:Boolean,reflect:!0})],Ja.prototype,"checked",void 0),Ya([R({type:Boolean})],Ja.prototype,"disabled",void 0),Ya([L(".ft-radio")],Ja.prototype,"container",void 0),Ya([L("ft-ripple")],Ja.prototype,"ripple",void 0),Ya([L("input")],Ja.prototype,"input",void 0);const Qa=Rt`
1313
1328
  :host {
1314
1329
  display: contents;
1315
1330
  }
1316
- `;var Ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xa extends Kt{constructor(){super(...arguments),this.name=""}render(){return rt`
1331
+ `;var tl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class el extends Ze{constructor(){super(...arguments),this.name=""}render(){return fe`
1317
1332
  <slot @slotchange=${this.onSlotChange}
1318
1333
  @change=${this.onChange}
1319
1334
  @keydown=${this.onKeyDown}
1320
1335
  ></slot>
1321
- `}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)}}Xa.elementDefinitions={},Xa.styles=qa,Ya([s()],Xa.prototype,"name",void 0),Ya([d()],Xa.prototype,"radioButtons",void 0),g("ft-radio")(Va),g("ft-radio-group")(Xa);const Ja={borderRadiusM:Et.external(Wt.borderRadiusM,"Design system"),colorOutline:Et.external(Wt.colorOutline,"Design system"),colorOnSurface:Et.external(Wt.colorOnSurface,"Design system"),colorOnSurfaceMedium:Et.external(Wt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Et.external(Wt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Et.external(Wt.colorPrimary,"Design system"),colorOnPrimary:Et.external(Wt.colorOnPrimary,"Design system"),fontFamily:Et.external(Mr.fontFamily,"Body2 typography"),fontSize:Et.external(Mr.fontSize,"Body2 typography"),fontWeight:Et.external(Mr.fontWeight,"Body2 typography"),letterSpacing:Et.external(Mr.letterSpacing,"Body2 typography"),lineHeight:Et.external(Mr.lineHeight,"Body2 typography"),textTransform:Et.external(Mr.textTransform,"Body2 typography")},Qa=$`
1336
+ `}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)}}el.elementDefinitions={},el.styles=Qa,tl([R()],el.prototype,"name",void 0),tl([
1337
+ /**
1338
+ * @license
1339
+ * Copyright 2021 Google LLC
1340
+ * SPDX-License-Identifier: BSD-3-Clause
1341
+ */
1342
+ 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)))}})}}()],el.prototype,"radioButtons",void 0),F("ft-radio")(Ja),F("ft-radio-group")(el);const ol={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(Gn.fontFamily,"Body2 typography"),fontSize:Re.external(Gn.fontSize,"Body2 typography"),fontWeight:Re.external(Gn.fontWeight,"Body2 typography"),letterSpacing:Re.external(Gn.letterSpacing,"Body2 typography"),lineHeight:Re.external(Gn.lineHeight,"Body2 typography"),textTransform:Re.external(Gn.textTransform,"Body2 typography")},il=Rt`
1322
1343
  .ft-filter-level--container {
1323
1344
  display: flex;
1324
1345
  flex-direction: column;
@@ -1332,14 +1353,14 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1332
1353
  flex-shrink: 0;
1333
1354
  text-decoration: none;
1334
1355
  position: relative;
1335
- border-radius: ${Ja.borderRadiusM};
1356
+ border-radius: ${ol.borderRadiusM};
1336
1357
  overflow: hidden;
1337
1358
  display: flex;
1338
1359
  align-items: center;
1339
1360
  padding: 4px 4px;
1340
1361
  gap: 4px;
1341
1362
  cursor: pointer;
1342
- color: ${Ja.colorOnSurface};
1363
+ color: ${ol.colorOnSurface};
1343
1364
  }
1344
1365
 
1345
1366
  .ft-filter-level--go-back:focus {
@@ -1368,7 +1389,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1368
1389
  }
1369
1390
 
1370
1391
  ft-button {
1371
- ${kt(jn.color,Ja.colorOnSurface)};
1392
+ ${Ie(Bs.color,ol.colorOnSurface)};
1372
1393
  }
1373
1394
 
1374
1395
  ft-radio, ft-checkbox {
@@ -1382,11 +1403,11 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1382
1403
 
1383
1404
  .ft-filter-level--no-values {
1384
1405
  margin: 10px 0;
1385
- color: ${Ja.colorOnSurfaceMedium};
1406
+ color: ${ol.colorOnSurfaceMedium};
1386
1407
  }
1387
- `;var ts=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class es extends Kt{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 rt`
1408
+ `;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 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`
1388
1409
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1389
- ${null==this.parent?null:rt`
1410
+ ${null==this.parent?null:fe`
1390
1411
  <div tabindex="0"
1391
1412
  part="controls go-back"
1392
1413
  class="ft-filter-level--go-back"
@@ -1398,15 +1419,15 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1398
1419
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1399
1420
  </div>
1400
1421
  `}
1401
- ${0===this.options.length&&this.noValuesLabel?rt`
1422
+ ${0===this.options.length&&this.noValuesLabel?fe`
1402
1423
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1403
1424
  ${this.noValuesLabel}
1404
1425
  </ft-typography>
1405
- `:at}
1406
- ${ri(e,(t=>t.value),(t=>{var e;return rt`
1426
+ `:de}
1427
+ ${lr(e,(t=>t.value),(t=>{var e;return fe`
1407
1428
  <div class="ft-filter-level--option" part="options">
1408
1429
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1409
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?at:rt`
1430
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?de:fe`
1410
1431
  <ft-button icon="thin_arrow_right"
1411
1432
  part="controls navigate-hierarchy"
1412
1433
  label="${t.label}"
@@ -1416,7 +1437,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1416
1437
  `}
1417
1438
  </div>
1418
1439
  `}))}
1419
- ${e.length<t.length?rt`
1440
+ ${e.length<t.length?fe`
1420
1441
  <ft-button
1421
1442
  class="ft-filter-level--display-more"
1422
1443
  icon="thin_arrow"
@@ -1425,19 +1446,19 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1425
1446
  @click=${this.displayMore}>
1426
1447
  ${this.moreValuesButtonLabel}
1427
1448
  </ft-button>
1428
- `:at}
1449
+ `:de}
1429
1450
  </div>
1430
- `}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 rt`
1451
+ `}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`
1431
1452
  <ft-checkbox name="${this.filterId}"
1432
1453
  part="multivalued-option"
1433
1454
  data-value="${t.value}"
1434
1455
  .checked=${t.selected}
1435
1456
  .disabled=${this.disabled}
1436
- .indeterminate=${y(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1457
+ .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))}
1437
1458
  @change=${e=>this.optionsChanged(e,t)}>
1438
1459
  ${t.renderOption?t.renderOption:t.label}
1439
1460
  </ft-checkbox>
1440
- `}buildMonoValuedOption(t){return rt`
1461
+ `}buildMonoValuedOption(t){return fe`
1441
1462
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1442
1463
  part="monovalued-option"
1443
1464
  data-value="${t.value}"
@@ -1448,7 +1469,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1448
1469
  @change=${t=>t.stopPropagation()}>
1449
1470
  ${t.renderOption?t.renderOption:t.label}
1450
1471
  </ft-radio>
1451
- `}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}))}}es.elementDefinitions={"ft-button":oa,"ft-ripple":or,"ft-typography":wn,"ft-checkbox":Ka,"ft-icon":Un,"ft-radio":Va},es.styles=Qa,ts([s({type:String})],es.prototype,"filterId",void 0),ts([s({type:Object})],es.prototype,"parent",void 0),ts([s({type:Array})],es.prototype,"options",void 0),ts([s({type:Boolean})],es.prototype,"multivalued",void 0),ts([s({type:Boolean})],es.prototype,"disabled",void 0),ts([s({type:Boolean})],es.prototype,"hideSelectedOptions",void 0),ts([s({type:Boolean})],es.prototype,"preventNavigation",void 0),ts([s({type:String})],es.prototype,"filter",void 0),ts([s({type:String})],es.prototype,"moreValuesButtonLabel",void 0),ts([s({type:String})],es.prototype,"noValuesLabel",void 0),ts([s({type:Number})],es.prototype,"displayedValuesLimit",void 0),ts([f(".ft-filter-level--container")],es.prototype,"container",void 0),ts([l()],es.prototype,"displayedPages",void 0);const os={buttonsColor:Et.extend("--ft-snap-scroll-buttons-color","",Wt.colorPrimary),buttonsZIndex:Et.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Et.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Et.external(Wt.colorSurface,"Design system")},is=$`
1472
+ `}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}))}}nl.elementDefinitions={"ft-button":sa,"ft-ripple":an,"ft-typography":Cs,"ft-checkbox":Za,"ft-icon":js,"ft-radio":Ja},nl.styles=il,rl([R({type:String})],nl.prototype,"filterId",void 0),rl([R({type:Object})],nl.prototype,"parent",void 0),rl([R({type:Array})],nl.prototype,"options",void 0),rl([R({type:Boolean})],nl.prototype,"multivalued",void 0),rl([R({type:Boolean})],nl.prototype,"disabled",void 0),rl([R({type:Boolean})],nl.prototype,"hideSelectedOptions",void 0),rl([R({type:Boolean})],nl.prototype,"preventNavigation",void 0),rl([R({type:String})],nl.prototype,"filter",void 0),rl([R({type:String})],nl.prototype,"moreValuesButtonLabel",void 0),rl([R({type:String})],nl.prototype,"noValuesLabel",void 0),rl([R({type:Number})],nl.prototype,"displayedValuesLimit",void 0),rl([L(".ft-filter-level--container")],nl.prototype,"container",void 0),rl([I()],nl.prototype,"displayedPages",void 0);const sl={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")},al=Rt`
1452
1473
  .ft-snap-scroll {
1453
1474
  box-sizing: border-box;
1454
1475
  position: relative;
@@ -1483,7 +1504,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1483
1504
  flex-wrap: nowrap;
1484
1505
  align-items: flex-start;
1485
1506
  justify-content: flex-start;
1486
- gap: ${os.gap};
1507
+ gap: ${sl.gap};
1487
1508
  }
1488
1509
 
1489
1510
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1526,11 +1547,11 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1526
1547
  .ft-snap-scroll--next {
1527
1548
  position: absolute;
1528
1549
  display: flex;
1529
- z-index: ${os.buttonsZIndex};
1550
+ z-index: ${sl.buttonsZIndex};
1530
1551
  opacity: 1;
1531
1552
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1532
- ${kt(jn.backgroundColor,"transparent")};
1533
- ${kt(jn.color,os.buttonsColor)};
1553
+ ${Ie(Bs.backgroundColor,"transparent")};
1554
+ ${Ie(Bs.color,sl.buttonsColor)};
1534
1555
  }
1535
1556
 
1536
1557
  .ft-snap-scroll--previous[hidden],
@@ -1543,37 +1564,37 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1543
1564
  top: 0;
1544
1565
  left: -1px;
1545
1566
  bottom: 0;
1546
- background: linear-gradient(to right, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1567
+ background: linear-gradient(to right, ${sl.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1547
1568
  }
1548
1569
 
1549
1570
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1550
1571
  top: -1px;
1551
1572
  left: 0;
1552
1573
  right: 0;
1553
- background: linear-gradient(to bottom, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1574
+ background: linear-gradient(to bottom, ${sl.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1554
1575
  }
1555
1576
 
1556
1577
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1557
1578
  top: 0;
1558
1579
  right: -1px;
1559
1580
  bottom: 0;
1560
- background: linear-gradient(to left, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1581
+ background: linear-gradient(to left, ${sl.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1561
1582
  }
1562
1583
 
1563
1584
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1564
1585
  left: 0;
1565
1586
  right: 0;
1566
1587
  bottom: -1px;
1567
- background: linear-gradient(to top, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1588
+ background: linear-gradient(to top, ${sl.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1568
1589
  }
1569
1590
 
1570
1591
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1571
1592
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1572
1593
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1573
1594
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1574
- background-color: ${os.colorSurface};
1595
+ background-color: ${sl.colorSurface};
1575
1596
  }
1576
- `;var rs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ns extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class as extends Kt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=_i({"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":Ho}),e=this.controls&&this.withScroll;return rt`
1597
+ `;var ll=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class cl extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class hl 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 n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=qr({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Yi}),e=this.controls&&this.withScroll;return fe`
1577
1598
  <div part="container" class="${t}">
1578
1599
  <ft-button
1579
1600
  class="ft-snap-scroll--previous"
@@ -1597,7 +1618,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1597
1618
  @click=${this.next}
1598
1619
  ></ft-button>
1599
1620
  </div>
1600
- `}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 ns(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)}}as.elementDefinitions={"ft-button":oa},as.styles=is,rs([s({type:Boolean})],as.prototype,"horizontal",void 0),rs([s({type:Boolean})],as.prototype,"hideScrollbar",void 0),rs([s({type:Boolean})],as.prototype,"controls",void 0),rs([s({type:Boolean})],as.prototype,"limitSize",void 0),rs([l()],as.prototype,"elements",void 0),rs([l()],as.prototype,"currentElement",void 0),rs([l()],as.prototype,"withScroll",void 0),rs([l()],as.prototype,"startReached",void 0),rs([l()],as.prototype,"endReached",void 0),rs([f(".ft-snap-scroll--content")],as.prototype,"contentSlot",void 0),g("ft-snap-scroll")(as);const ss=Et.external(Wt.colorOutline,"Design system"),ls=Et.external(Wt.colorOnSurface,"Design system"),cs=Et.external(Wt.colorOnSurfaceMedium,"Design system"),fs=Et.external(Wt.colorPrimary,"Design system"),hs=Et.external(Wt.colorSurface,"Design system"),ps=Et.external(Wt.transitionDuration,"Design system"),ds=Et.external(Wt.transitionTimingFunction,"Design system"),us=[yn,$`
1621
+ `}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 cl(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)}}hl.elementDefinitions={"ft-button":sa},hl.styles=al,ll([R({type:Boolean})],hl.prototype,"horizontal",void 0),ll([R({type:Boolean})],hl.prototype,"hideScrollbar",void 0),ll([R({type:Boolean})],hl.prototype,"controls",void 0),ll([R({type:Boolean})],hl.prototype,"limitSize",void 0),ll([I()],hl.prototype,"elements",void 0),ll([I()],hl.prototype,"currentElement",void 0),ll([I()],hl.prototype,"withScroll",void 0),ll([I()],hl.prototype,"startReached",void 0),ll([I()],hl.prototype,"endReached",void 0),ll([L(".ft-snap-scroll--content")],hl.prototype,"contentSlot",void 0),F("ft-snap-scroll")(hl);const fl=Re.external(je.colorOutline,"Design system"),pl=Re.external(je.colorOnSurface,"Design system"),dl=Re.external(je.colorOnSurfaceMedium,"Design system"),ul=Re.external(je.colorPrimary,"Design system"),yl=Re.external(je.colorSurface,"Design system"),gl=Re.external(je.transitionDuration,"Design system"),bl=Re.external(je.transitionTimingFunction,"Design system"),vl=[ms,Rt`
1601
1622
  :host {
1602
1623
  display: flex;
1603
1624
  max-height: 100%;
@@ -1610,7 +1631,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1610
1631
  flex-direction: column;
1611
1632
  max-height: 100%;
1612
1633
  max-width: 100%;
1613
- color: ${ls};
1634
+ color: ${pl};
1614
1635
  }
1615
1636
 
1616
1637
  .ft-filter--header {
@@ -1620,13 +1641,13 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1620
1641
  flex-shrink: 0;
1621
1642
  padding: 0 10px;
1622
1643
  margin-bottom: 8px;
1623
- ${kt(hr.fontSize,"14px")};
1644
+ ${Ie(gn.fontSize,"14px")};
1624
1645
  }
1625
1646
 
1626
1647
  .ft-filter--header ft-button {
1627
1648
  flex-shrink: 0;
1628
1649
  margin-left: auto;
1629
- ${kt(jn.iconSize,"18px")};
1650
+ ${Ie(Bs.iconSize,"18px")};
1630
1651
  }
1631
1652
 
1632
1653
  .ft-filter--label {
@@ -1634,8 +1655,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1634
1655
  flex-shrink: 1;
1635
1656
  flex-grow: 1;
1636
1657
  word-break: break-word;
1637
- ${kt(hr.lineHeight,"22px")};
1638
- ${kt(hr.fontWeight,"bold")};
1658
+ ${Ie(gn.lineHeight,"22px")};
1659
+ ${Ie(gn.fontWeight,"bold")};
1639
1660
  }
1640
1661
 
1641
1662
  .ft-filter--filter {
@@ -1646,8 +1667,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1646
1667
  padding: 0 10px;
1647
1668
  overflow: hidden;
1648
1669
  height: 32px;
1649
- transition: height ${ps} ${ds},
1650
- margin ${ps} ${ds};
1670
+ transition: height ${gl} ${bl},
1671
+ margin ${gl} ${bl};
1651
1672
  transition-delay: 500ms;
1652
1673
  }
1653
1674
 
@@ -1660,15 +1681,15 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1660
1681
  display: block;
1661
1682
  width: 100%;
1662
1683
  border-radius: 4px;
1663
- border: 1px solid ${ss};
1684
+ border: 1px solid ${fl};
1664
1685
  padding: 4px;
1665
- background-color: ${hs};
1666
- color: ${ls};
1667
- outline-color: ${fs};
1686
+ background-color: ${yl};
1687
+ color: ${pl};
1688
+ outline-color: ${ul};
1668
1689
  }
1669
1690
 
1670
1691
  input::placeholder {
1671
- color: ${cs};
1692
+ color: ${dl};
1672
1693
  }
1673
1694
 
1674
1695
  input:placeholder-shown {
@@ -1684,7 +1705,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1684
1705
  }
1685
1706
 
1686
1707
  .ft-filter--separator {
1687
- border-top: 1px solid ${ss};
1708
+ border-top: 1px solid ${fl};
1688
1709
  margin: 4px 10px;
1689
1710
  }
1690
1711
 
@@ -1709,16 +1730,16 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1709
1730
  slot:not([name]) {
1710
1731
  display: none;
1711
1732
  }
1712
- `];var ys=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bs extends CustomEvent{constructor(t){super("change",{detail:t})}}class gs extends Kt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return y(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 rt`
1733
+ `];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(t){super("change",{detail:t})}}class Ol 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 n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return j(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get 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`
1713
1734
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1714
1735
  part="container">
1715
- ${this.label||t?rt`
1736
+ ${this.label||t?fe`
1716
1737
  <div class="ft-filter--header" part="header">
1717
1738
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1718
1739
  ${this.label}
1719
1740
  </ft-typography>
1720
1741
  <slot name="label"></slot>
1721
- ${t&&!this.hideClearButton?rt`
1742
+ ${t&&!this.hideClearButton?fe`
1722
1743
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1723
1744
  ${this.clearButtonLabel}
1724
1745
  </ft-button>
@@ -1742,8 +1763,8 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1742
1763
  @slotchange=${this.updateOptionsFromSlot}
1743
1764
  @option-change=${this.optionsChanged}></slot>
1744
1765
  </div>
1745
- `}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 rt`
1746
- ${this.raiseSelectedOptions&&e.length>0?rt`
1766
+ `}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`
1767
+ ${this.raiseSelectedOptions&&e.length>0?fe`
1747
1768
  <ft-filter-level
1748
1769
  filterId="${this.id}"
1749
1770
  ?multivalued=${this.multivalued}
@@ -1762,7 +1783,7 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1762
1783
  ${this.renderLevel(i,this.options)}
1763
1784
  ${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)}))}
1764
1785
  </ft-snap-scroll>
1765
- `}renderLevel(t,e,o){return rt`
1786
+ `}renderLevel(t,e,o){return fe`
1766
1787
  <ft-filter-level
1767
1788
  class="${t}"
1768
1789
  filterId="${this.id}"
@@ -1781,28 +1802,28 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1781
1802
  .exportpartsPrefixes=${["values","available-values"]}
1782
1803
  noValuesLabel="${this.noValuesLabel}"
1783
1804
  ></ft-filter-level>
1784
- `}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;b(this.lastDispatchedValues,t)||(this.dispatchEvent(new bs(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)}}gs.elementDefinitions={"ft-button":oa,"ft-filter-level":es,"ft-snap-scroll":as,"ft-typography":wn},gs.styles=us,ys([s({type:String})],gs.prototype,"id",void 0),ys([s({type:String})],gs.prototype,"label",void 0),ys([s({type:String})],gs.prototype,"filterPlaceHolder",void 0),ys([s({type:String})],gs.prototype,"clearButtonLabel",void 0),ys([s({type:String})],gs.prototype,"moreValuesButtonLabel",void 0),ys([s({type:String})],gs.prototype,"noValuesLabel",void 0),ys([v([])],gs.prototype,"options",void 0),ys([s({type:Boolean})],gs.prototype,"multivalued",void 0),ys([s({type:Boolean})],gs.prototype,"disabled",void 0),ys([s({type:Boolean})],gs.prototype,"raiseSelectedOptions",void 0),ys([s({type:Number})],gs.prototype,"displayedValuesLimit",void 0),ys([s({type:Boolean})],gs.prototype,"hideClearButton",void 0),ys([f(".ft-filter--slot")],gs.prototype,"slotElement",void 0),ys([f(".ft-filter--container")],gs.prototype,"container",void 0),ys([f(".ft-filter--values")],gs.prototype,"valuesContainer",void 0),ys([f(".ft-filter--levels")],gs.prototype,"levelsContainer",void 0),ys([l()],gs.prototype,"lastLevelHasHiddenvalues",void 0),ys([f(".ft-filter--filter input")],gs.prototype,"filterInput",void 0),ys([function(t){return c({descriptor:e=>({get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],gs.prototype,"levels",void 0),ys([l()],gs.prototype,"withScroll",void 0),ys([l()],gs.prototype,"filter",void 0),ys([l()],gs.prototype,"slideIn",void 0),ys([l()],gs.prototype,"slideOut",void 0);var vs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ms extends Kt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return rt`
1805
+ `}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 xl(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)}}Ol.elementDefinitions={"ft-button":sa,"ft-filter-level":nl,"ft-snap-scroll":hl,"ft-typography":Cs},Ol.styles=vl,ml([R({type:String})],Ol.prototype,"id",void 0),ml([R({type:String})],Ol.prototype,"label",void 0),ml([R({type:String})],Ol.prototype,"filterPlaceHolder",void 0),ml([R({type:String})],Ol.prototype,"clearButtonLabel",void 0),ml([R({type:String})],Ol.prototype,"moreValuesButtonLabel",void 0),ml([R({type:String})],Ol.prototype,"noValuesLabel",void 0),ml([D([])],Ol.prototype,"options",void 0),ml([R({type:Boolean})],Ol.prototype,"multivalued",void 0),ml([R({type:Boolean})],Ol.prototype,"disabled",void 0),ml([R({type:Boolean})],Ol.prototype,"raiseSelectedOptions",void 0),ml([R({type:Number})],Ol.prototype,"displayedValuesLimit",void 0),ml([R({type:Boolean})],Ol.prototype,"hideClearButton",void 0),ml([L(".ft-filter--slot")],Ol.prototype,"slotElement",void 0),ml([L(".ft-filter--container")],Ol.prototype,"container",void 0),ml([L(".ft-filter--values")],Ol.prototype,"valuesContainer",void 0),ml([L(".ft-filter--levels")],Ol.prototype,"levelsContainer",void 0),ml([I()],Ol.prototype,"lastLevelHasHiddenvalues",void 0),ml([L(".ft-filter--filter input")],Ol.prototype,"filterInput",void 0),ml([function(t){return(e,o)=>U(0,0,{get(){return(this.renderRoot??(A??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],Ol.prototype,"levels",void 0),ml([I()],Ol.prototype,"withScroll",void 0),ml([I()],Ol.prototype,"filter",void 0),ml([I()],Ol.prototype,"slideIn",void 0),ml([I()],Ol.prototype,"slideOut",void 0);var wl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class Sl extends Ze{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return fe`
1785
1806
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1786
- `}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}))}}ms.elementDefinitions={},vs([s({type:String})],ms.prototype,"label",void 0),vs([s({type:Object,converter:t=>t})],ms.prototype,"value",void 0),vs([s({type:Boolean,reflect:!0})],ms.prototype,"selected",void 0),vs([s({type:Object})],ms.prototype,"subOptions",void 0),vs([v({})],ms.prototype,"renderOption",void 0),vs([f(".ft-filter-option--slot")],ms.prototype,"slotElement",void 0),g("ft-filter")(gs),g("ft-filter-option")(ms);const xs=$a.build("designedSearchType"),Os={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var ws=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ss extends(xa(Zi)){constructor(){super(),this.addI18nContext(xs,Os)}render(){return rt`
1807
+ `}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}))}}Sl.elementDefinitions={},wl([R({type:String})],Sl.prototype,"label",void 0),wl([R({type:Object,converter:t=>t})],Sl.prototype,"value",void 0),wl([R({type:Boolean,reflect:!0})],Sl.prototype,"selected",void 0),wl([R({type:Object})],Sl.prototype,"subOptions",void 0),wl([D({})],Sl.prototype,"renderOption",void 0),wl([L(".ft-filter-option--slot")],Sl.prototype,"slotElement",void 0),F("ft-filter")(Ol),F("ft-filter-option")(Sl);const Nl=Ra.build("designedSearchType"),$l={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Cl=function(t,e,o,i){for(var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};class El extends(Na(Vr)){constructor(){super(),this.addI18nContext(Nl,$l)}render(){return fe`
1787
1808
  <ft-filter
1788
- label=${xs.messages.label()}
1789
- .options=${[{label:xs.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1809
+ label=${Nl.messages.label()}
1810
+ .options=${[{label:Nl.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1790
1811
  part="filter"
1791
1812
  .exportpartsPrefixes=${["filter"]}
1792
1813
  multivalued
1793
1814
  @change=${this.onSelected}
1794
1815
  ></ft-filter>
1795
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Ss.elementDefinitions={"ft-filter":gs},Ss.styles=La,ws([Po({selector:Bi})],Ss.prototype,"searchInDocumentTitlesOnly",void 0),ws([f("ft-filter")],Ss.prototype,"filter",void 0),g("ft-search-type")(Ss);var Ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $s extends(xa(Zi)){constructor(){super(),this.editorMode=!1,this.addStore(Si),this.addI18nContext(xs,Os)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?rt`
1816
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}El.elementDefinitions={"ft-filter":Ol},El.styles=za,Cl([_i({selector:Mr})],El.prototype,"searchInDocumentTitlesOnly",void 0),Cl([L("ft-filter")],El.prototype,"filter",void 0),F("ft-search-type")(El);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(Na(Vr)){constructor(){super(),this.editorMode=!1,this.addStore(Er),this.addI18nContext(Nl,$l)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?fe`
1796
1817
 
1797
1818
  <div class="ft-search-selected-facets--container">
1798
- ${ri(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return ri(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1819
+ ${lr(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return lr(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1799
1820
  ${this.renderSearchInDocumentTitlesOnly()}
1800
1821
  </div>
1801
- `:at}renderDummyFacet(){return rt`
1822
+ `:de}renderDummyFacet(){return fe`
1802
1823
 
1803
1824
  <div class="ft-search-selected-facets--container">
1804
1825
  ${[this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value1"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value2"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value3")]}
1805
- </div>`}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return rt`
1826
+ </div>`}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return fe`
1806
1827
  <ft-tooltip inline text="${r}"
1807
1828
  part="tooltips tooltip-${n}">
1808
1829
  <ft-chip
@@ -1815,14 +1836,14 @@ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Erro
1815
1836
  ${this.getLabelFromValue(i)}
1816
1837
  </ft-chip>
1817
1838
  </ft-tooltip>
1818
- `}getSelectedValues(t){return y(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?rt`
1819
- <ft-tooltip inline text="${xs.messages.documentTitlesOnly()}"
1839
+ `}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`
1840
+ <ft-tooltip inline text="${Nl.messages.documentTitlesOnly()}"
1820
1841
  part="tooltips tooltip-search-in-document-titles-only">
1821
1842
  <ft-chip
1822
1843
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1823
1844
  removable
1824
1845
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1825
- ${xs.messages.documentTitlesOnly()}
1846
+ ${Nl.messages.documentTitlesOnly()}
1826
1847
  </ft-chip>
1827
1848
  </ft-tooltip>
1828
- `:at}}$s.elementDefinitions={"ft-chip":ya,"ft-tooltip":Xn},$s.styles=ai,Ns([Po({store:"search"})],$s.prototype,"facets",void 0),Ns([Po({store:"search",selector:Bi})],$s.prototype,"searchInDocumentTitlesOnly",void 0),Ns([Po({store:Si.name})],$s.prototype,"editorMode",void 0),g("ft-search-selected-facets")($s),t.FtSearchSelectedFacets=$s,t.FtSearchSelectedFacetsCssVariables=ni,t.styles=ai}({});
1849
+ `:de}}Rl.elementDefinitions={"ft-chip":ma,"ft-tooltip":ea},Rl.styles=hr,kl([_i({store:"search"})],Rl.prototype,"facets",void 0),kl([_i({store:"search",selector:Mr})],Rl.prototype,"searchInDocumentTitlesOnly",void 0),kl([_i({store:Er.name})],Rl.prototype,"editorMode",void 0),F("ft-search-selected-facets")(Rl),t.FtSearchSelectedFacets=Rl,t.FtSearchSelectedFacetsCssVariables=cr,t.styles=hr}({});