@fluid-topics/ft-search-input 1.0.58 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,59 +14,59 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,n=window.customElements,o=new WeakMap,r=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,o){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(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);h(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let u=i.call(n,t);u||(u=f(t),e.call(n,t,u)),this===window.customElements&&(s.set(o,c),c.standInClass=u);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)r.delete(t),d(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){b.push(this),n.upgrade.apply(n,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 i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let n=this._awaitingUpgrade.get(e);n||this._awaitingUpgrade.set(e,n=new Set),i?n.add(t):n.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,u=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=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const n=u(i)||window.customElements,o=n._getDefinition(e);return o?d(i,o):r.set(i,n),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,i)=>{if(0===e.size||void 0===i)return;const n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,o){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,o),i.call(this,r,t,o)}else n.call(this,r,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n),i.call(this,n,t,null)}else o.call(this,n)})},p=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):p(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=n.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const n=e.call(this,...i);return t.set(n,this),n},i.forEach((e=>{const i=window.ElementInternals.prototype,n=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${n} on 'ElementInternals': The target element is not a form-associated custom element.`);n?.call(this,...e)}}));class n extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const n=t.getAttribute("name"),o=e.get(n)||[];this[+i]=t,o.push(t),e.set(n,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new n(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 i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ro){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{if(null!==i)try{t.bind(window.customElements)(e,i,n)}catch(t){console.info(e,i,n,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,n)=>t((t=>{this.isCanceled?n(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?n(new e("Promise has been canceled",void 0,t)):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class n{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 i&&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,n){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const o=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=o,o.then((e=>(this.content[t]=e,null!=n&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),n)),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 o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const n=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void n(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=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,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);u(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),h(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?h(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r 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 o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(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,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Gi){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 e&&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,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}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 i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const r=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};
22
+ */const n=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */function s(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):r(t,e)
27
+ */function a(t){return(o,e)=>void 0!==e?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,e):n(t,o)
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */}function a(t){return s({...t,state:!0})}
32
+ */}function s(t){return a({...t,state:!0})}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */const l=({finisher:t,descriptor:e})=>(i,n)=>{var o;if(void 0===n){const n=null!==(o=i.originalKey)&&void 0!==o?o:i.key,r=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(r.finisher=function(e){t(e,n)}),r}{const o=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(o,n)}}
37
+ */const l=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,n=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(n.finisher=function(o){t(o,r)}),n}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */;function c(t,e){return l({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})}
42
+ */;function c(t,o){return l({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2021 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */var u;const f=null!=(null===(u=window.HTMLSlotElement)||void 0===u?void 0:u.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,n,o;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(n=i;0!=n--;)if(!h(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!h(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(o=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=i;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,o[n]))return!1;for(n=i;0!=n--;){var r=o[n];if(!h(t[r],e[r]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const p=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function d(t,e){const i=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}
47
+ */var f;const p=null!=(null===(f=window.HTMLSlotElement)||void 0===f?void 0:f.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function u(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!u(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!u(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!u(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const d=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function h(t,o){const e=()=>JSON.parse(JSON.stringify(t));return a({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!u(t,o),...null!=o?o:{}})}
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2019 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */const v=window,b=v.ShadowRoot&&(void 0===v.ShadyCSS||v.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,y=Symbol(),g=new WeakMap;let m=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==y)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(b&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=g.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&g.set(e,t))}return t}toString(){return this.cssText}};const x=t=>new m("string"==typeof t?t:t+"",void 0,y),w=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[n+1]),t[0]);return new m(i,t,y)},$=(t,e)=>{b?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=v.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))},O=b?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return x(e)})(t):t
52
+ */const y=window,g=y.ShadowRoot&&(void 0===y.ShadyCSS||y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,b=Symbol(),m=new WeakMap;let v=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==b)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(g&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=m.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&m.set(o,t))}return t}toString(){return this.cssText}};const x=t=>new v("string"==typeof t?t:t+"",void 0,b),O=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(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.")})(e)+t[r+1]),t[0]);return new v(e,t,b)},w=(t,o)=>{g?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=y.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},S=g?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return x(o)})(t):t
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */;var S;const E=window,k=E.trustedTypes,j=k?k.emptyScript:"",C=E.reactiveElementPolyfillSupport,N={toAttribute(t,e){switch(e){case Boolean:t=t?j:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},M=(t,e)=>e!==t&&(e==e||t==t),R={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:M};let A=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const n=this._$Ep(i,e);void 0!==n&&(this._$Ev.set(n,i),t.push(n))})),t}static createProperty(t,e=R){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const o=this[t];this[e]=n,this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(O(t))}else void 0!==t&&e.push(O(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return $(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=R){var n;const o=this.constructor._$Ep(t,i);if(void 0!==o&&!0===i.reflect){const r=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:N).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$El=null}}_$AK(t,e){var i;const n=this.constructor,o=n._$Ev.get(t);if(void 0!==o&&this._$El!==o){const t=n.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:N;this._$El=o,this[o]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||M)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
57
+ */;var N;const C=window,E=C.trustedTypes,$=E?E.emptyScript:"",R=C.reactiveElementPolyfillSupport,k={toAttribute(t,o){switch(o){case Boolean:t=t?$:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},U=(t,o)=>o!==t&&(o==o||t==t),I={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:U};let L=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=I){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||I}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,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(S(t))}else void 0!==t&&o.push(S(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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 o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return w(o,this.constructor.elementStyles),o}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 o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=I){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:k).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:k;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||U)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(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,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.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,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
58
58
  /**
59
59
  * @license
60
60
  * Copyright 2017 Google LLC
61
61
  * SPDX-License-Identifier: BSD-3-Clause
62
62
  */
63
- var U;A.finalized=!0,A.elementProperties=new Map,A.elementStyles=[],A.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:A}),(null!==(S=E.reactiveElementVersions)&&void 0!==S?S:E.reactiveElementVersions=[]).push("1.6.1");const P=window,F=P.trustedTypes,I=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,T="$lit$",L=`lit$${(Math.random()+"").slice(9)}$`,z="?"+L,B=`<${z}>`,_=document,D=()=>_.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,K=Array.isArray,H=t=>K(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Z="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,J=/>/g,X=RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Q=/"/g,Y=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),et=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),nt=new WeakMap,ot=_.createTreeWalker(_,129,null,!1),rt=(t,e)=>{const i=t.length-1,n=[];let o,r=2===e?"<svg>":"",s=q;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,u=0;for(;u<i.length&&(s.lastIndex=u,l=s.exec(i),null!==l);)u=s.lastIndex,s===q?"!--"===l[1]?s=V:void 0!==l[1]?s=J:void 0!==l[2]?(Y.test(l[2])&&(o=RegExp("</"+l[2],"g")),s=X):void 0!==l[3]&&(s=X):s===X?">"===l[0]?(s=null!=o?o:q,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?X:'"'===l[3]?Q:G):s===Q||s===G?s=X:s===V||s===J?s=q:(s=X,o=void 0);const f=s===X&&t[e+1].startsWith("/>")?" ":"";r+=s===q?i+B:c>=0?(n.push(a),i.slice(0,c)+T+i.slice(c)+L+f):i+L+(-2===c?(n.push(void 0),e):f)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(a):a,n]};class st{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let o=0,r=0;const s=t.length-1,a=this.parts,[l,c]=rt(t,e);if(this.el=st.createElement(l,i),ot.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=ot.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith(T)||e.startsWith(L)){const i=c[r++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+T).split(L),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:o,name:e[2],strings:t,ctor:"."===e[1]?ft:"?"===e[1]?pt:"@"===e[1]?dt:ut})}else a.push({type:6,index:o})}for(const e of t)n.removeAttribute(e)}if(Y.test(n.tagName)){const t=n.textContent.split(L),e=t.length-1;if(e>0){n.textContent=F?F.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],D()),ot.nextNode(),a.push({type:2,index:++o});n.append(t[e],D())}}}else if(8===n.nodeType)if(n.data===z)a.push({type:2,index:o});else{let t=-1;for(;-1!==(t=n.data.indexOf(L,t+1));)a.push({type:7,index:o}),t+=L.length-1}o++}}static createElement(t,e){const i=_.createElement("template");return i.innerHTML=t,i}}function at(t,e,i=t,n){var o,r,s,a;if(e===et)return e;let l=void 0!==n?null===(o=i._$Co)||void 0===o?void 0:o[n]:i._$Cl;const c=W(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,n)),void 0!==n?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[n]=l:i._$Cl=l),void 0!==l&&(e=at(t,l._$AS(t,e.values),l,n)),e}let lt=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:i},parts:n}=this._$AD,o=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(i,!0);ot.currentNode=o;let r=ot.nextNode(),s=0,a=0,l=n[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new ct(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new vt(r,this,t)),this._$AV.push(e),l=n[++a]}s!==(null==l?void 0:l.index)&&(r=ot.nextNode(),s++)}return o}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ct=class t{constructor(t,e,i,n){var o;this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cp=null===(o=null==n?void 0:n.isConnected)||void 0===o||o}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=at(this,t,e),W(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(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!==it&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(_.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,o="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=st.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===o)this._$AH.v(i);else{const t=new lt(o,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new st(t)),e}T(e){K(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,o=0;for(const r of e)o===i.length?i.push(n=new t(this.k(D()),this.k(D()),this,this.options)):n=i[o],n._$AI(r),o++;o<i.length&&(this._$AR(n&&n._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,i,n,o){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=it}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const o=this.strings;let r=!1;if(void 0===o)t=at(this,t,e,0),r=!W(t)||t!==this._$AH&&t!==et,r&&(this._$AH=t);else{const n=t;let s,a;for(t=o[0],s=0;s<o.length-1;s++)a=at(this,n[i+s],e,s),a===et&&(a=this._$AH[s]),r||(r=!W(a)||a!==this._$AH[s]),a===it?t=it:t!==it&&(t+=(null!=a?a:"")+o[s+1]),this._$AH[s]=a}r&&!n&&this.j(t)}j(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ft=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===it?void 0:t}};const ht=F?F.emptyScript:"";let pt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==it?this.element.setAttribute(this.name,ht):this.element.removeAttribute(this.name)}},dt=class extends ut{constructor(t,e,i,n,o){super(t,e,i,n,o),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=at(this,t,e,0))&&void 0!==i?i:it)===et)return;const n=this._$AH,o=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==it&&(n===it||o);o&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},vt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const bt={O:T,P:L,A:z,C:1,M:rt,L:lt,D:H,R:at,I:ct,V:ut,H:pt,N:dt,U:ft,F:vt},yt=P.litHtmlPolyfillSupport;null==yt||yt(st,ct),(null!==(U=P.litHtmlVersions)&&void 0!==U?U:P.litHtmlVersions=[]).push("2.7.3");
63
+ var W;L.finalized=!0,L.elementProperties=new Map,L.elementStyles=[],L.shadowRootOptions={mode:"open"},null==R||R({ReactiveElement:L}),(null!==(N=C.reactiveElementVersions)&&void 0!==N?N:C.reactiveElementVersions=[]).push("1.6.1");const j=window,K=j.trustedTypes,F=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,A="?"+Z,M=`<${A}>`,B=document,D=()=>B.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),_="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,V=/>/g,Y=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),rt=new WeakMap,it=B.createTreeWalker(B,129,null,!1),nt=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===G?"!--"===l[1]?a=q:void 0!==l[1]?a=V:void 0!==l[2]?(Q.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=null!=i?i:G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?X:J):a===X||a===J?a=Y:a===q||a===V?a=G:(a=Y,i=void 0);const p=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+M:c>=0?(r.push(s),e.slice(0,c)+z+e.slice(c)+Z+p):e+Z+(-2===c?(r.push(void 0),o):p)}const s=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(s):s,r]};class at{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=nt(t,o);if(this.el=at.createElement(l,e),it.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=it.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(z)||o.startsWith(Z)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+z).split(Z),o=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?pt:"?"===o[1]?dt:"@"===o[1]?ht:ft})}else s.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(Q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],D()),it.nextNode(),s.push({type:2,index:++i});r.append(t[o],D())}}}else if(8===r.nodeType)if(r.data===A)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)s.push({type:7,index:i}),t+=Z.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}}function st(t,o,e=t,r){var i,n,a,s;if(o===ot)return o;let l=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=P(o)?void 0:o._$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,e,r)),void 0!==r?(null!==(a=(s=e)._$Co)&&void 0!==a?a:s._$Co=[])[r]=l:e._$Cl=l),void 0!==l&&(o=st(t,l._$AS(t,o.values),l,r)),o}let lt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:B).importNode(e,!0);it.currentNode=i;let n=it.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new ct(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new yt(n,this,t)),this._$AV.push(o),l=r[++s]}a!==(null==l?void 0:l.index)&&(n=it.nextNode(),a++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ct=class t{constructor(t,o,e,r){var i;this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=st(this,t,o),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(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!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=at.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new lt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=rt.get(t.strings);return void 0===o&&rt.set(t.strings,o=new at(t)),o}T(o){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},ft=class{constructor(t,o,e,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=et}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=st(this,r[e+a],o,a),s===ot&&(s=this._$AH[a]),n||(n=!P(s)||s!==this._$AH[a]),s===et?t=et:t!==et&&(t+=(null!=s?s:"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.j(t)}j(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},pt=class extends ft{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===et?void 0:t}};const ut=K?K.emptyScript:"";let dt=class extends ft{constructor(){super(...arguments),this.type=4}j(t){t&&t!==et?this.element.setAttribute(this.name,ut):this.element.removeAttribute(this.name)}},ht=class extends ft{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=st(this,t,o,0))&&void 0!==e?e:et)===ot)return;const r=this._$AH,i=t===et&&r!==et||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==et&&(r===et||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const gt={O:z,P:Z,A,C:1,M:nt,L:lt,D:T,R:st,I:ct,V:ft,H:dt,N:ht,U:pt,F:yt},bt=j.litHtmlPolyfillSupport;null==bt||bt(at,ct),(null!==(W=j.litHtmlVersions)&&void 0!==W?W:j.litHtmlVersions=[]).push("2.7.3");
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var n,o;const r=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let s=r._$litPart$;if(void 0===s){const t=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:null;r._$litPart$=s=new ct(e.insertBefore(D(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(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 et}};xt.finalized=!0,xt._$litElement$=!0,null===(gt=globalThis.litElementHydrateSupport)||void 0===gt||gt.call(globalThis,{LitElement:xt});const wt=globalThis.litElementPolyfillSupport;null==wt||wt({LitElement:xt}),(null!==(mt=globalThis.litElementVersions)&&void 0!==mt?mt:globalThis.litElementVersions=[]).push("3.3.2");class $t{static create(t,e,i){let n=t=>x(null!=t?t:i),o=w`var(${x(t)}, ${n(i)})`;return o.name=t,o.category=e,o.defaultValue=i,o.defaultCssValue=n,o.get=e=>w`var(${x(t)}, ${n(e)})`,o.breadcrumb=()=>[],o.lastResortDefaultValue=()=>i,o}static extend(t,e,i){let n=t=>e.get(null!=t?t:i),o=w`var(${x(t)}, ${n(i)})`;return o.name=t,o.category=e.category,o.fallbackVariable=e,o.defaultValue=i,o.defaultCssValue=n,o.get=e=>w`var(${x(t)}, ${n(e)})`,o.breadcrumb=()=>[e.name,...e.breadcrumb()],o.lastResortDefaultValue=()=>i,o}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),n=w`var(${x(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=e,n.defaultCssValue=i,n.get=e=>w`var(${x(t.name)}, ${i(e)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},n}}function Ot(t,e){return x(`${t.name}: ${e}`)}const St={colorPrimary:$t.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:$t.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:$t.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:$t.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:$t.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:$t.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$t.create("--ft-color-error","COLOR","#B00020"),colorOutline:$t.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$t.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:$t.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:$t.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:$t.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:$t.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:$t.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$t.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$t.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:$t.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:$t.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$t.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$t.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$t.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$t.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$t.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$t.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:$t.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:$t.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:$t.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:$t.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:$t.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:$t.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$t.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$t.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:$t.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$t.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$t.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$t.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$t.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$t.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$t.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:$t.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$t.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$t.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$t.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$t.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.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:$t.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:$t.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:$t.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:$t.create("--ft-border-radius-XL","SIZE","16px"),titleFont:$t.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$t.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$t.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:$t.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Et extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return $(i,t.elementStyles),i}}var kt,jt=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Ct=Symbol("constructorPrototype"),Nt=Symbol("constructorName"),Mt=Symbol("exportpartsDebouncer");class Rt extends Et{constructor(){super(),this[kt]=new o(5),this[Nt]=this.constructor.name,this[Ct]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Nt]&&Object.setPrototypeOf(this,this[Ct])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,n,o,r,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!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(o=null===(n=t.getAttribute("part"))||void 0===n?void 0:n.split(" "))&&void 0!==o?o:[],i=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const u=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...u].join(", "))}}kt=Mt,jt([s()],Rt.prototype,"exportpartsPrefix",void 0),jt([d([])],Rt.prototype,"exportpartsPrefixes",void 0),jt([s()],Rt.prototype,"customStylesheet",void 0);const At=w`
69
+ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new ct(o.insertBefore(D(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,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 ot}};xt.finalized=!0,xt._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:xt});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.3.2");const wt=t=>"string"==typeof t?x(t):t;class St{static create(t,o,e,r){const i=t=>wt(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wt(null!=o?o:t.lastResortDefaultValue()),r=O`var(${wt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>O`var(${wt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Nt(t,o){return wt(`${t.name}: ${o}`)}const Ct={colorWhite:St.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:St.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:St.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:St.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:St.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:St.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:St.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:St.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:St.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:St.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:St.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:St.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:St.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:St.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:St.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:St.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:St.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:St.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:St.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:St.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:St.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:St.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:St.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:St.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:St.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:St.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:St.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:St.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:St.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:St.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:St.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:St.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:St.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:St.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:St.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:St.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:St.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:St.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:St.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:St.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:St.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:St.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:St.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:St.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:St.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:St.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:St.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:St.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:St.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:St.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:St.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:St.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:St.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:St.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:St.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:St.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:St.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:St.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:St.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:St.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:St.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:St.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:St.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:St.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:St.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:St.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:St.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:St.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:St.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:St.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:St.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:St.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:St.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:St.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:St.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:St.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:St.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:St.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:St.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:St.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:St.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:St.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:St.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:St.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:St.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:St.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:St.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:St.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:St.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:St.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:St.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:St.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:St.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:St.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:St.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:St.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:St.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:St.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:St.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:St.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:St.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:St.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:St.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:St.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:St.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:St.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:St.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:St.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:St.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:St.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:St.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:St.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:St.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:St.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:St.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:St.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:St.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:St.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:St.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:St.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:St.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:St.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:St.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:St.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:St.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:St.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:St.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:St.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:St.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:St.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:St.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:St.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:St.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:St.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:St.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:St.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:St.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:St.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:St.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:St.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:St.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:St.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:St.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:St.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:St.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:St.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:St.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:St.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:St.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:St.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:St.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:St.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:St.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:St.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:St.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:St.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:St.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:St.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:St.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:St.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:St.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:St.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:St.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:St.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:St.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:St.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:St.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:St.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:St.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:St.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:St.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:St.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:St.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:St.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:St.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:St.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:St.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:St.create("--ft-icon-size-6","","SIZE","48px"),opacity0:St.create("--ft-opacity-0","","NUMBER","0"),opacity8:St.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:St.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:St.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:St.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:St.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:St.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:St.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:St.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:St.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:St.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:St.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:St.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:St.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:St.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:St.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:St.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:St.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:St.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:St.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:St.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:St.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:St.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:St.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:St.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:St.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:St.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:St.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:St.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:St.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:St.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:St.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:St.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},$t={backgroundActionPrimary:St.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ct.colorBrand0),backgroundErrorPrimary:St.extend("--ft-background-error-primary","Used as background of error components.",Ct.colorRed0),backgroundErrorSubtle:St.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ct.colorRed10),backgroundInfoPrimary:St.extend("--ft-background-info-primary","Used as background of information components.",Ct.colorCyan200),backgroundInfoSubtle:St.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ct.colorCyan10),backgroundWarningPrimary:St.extend("--ft-background-warning-primary","Used as background of warning components.",Ct.colorOrange300),backgroundWarningSubtle:St.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ct.colorOrange10),backgroundSuccessPrimary:St.extend("--ft-background-success-primary","Used as background of success components.",Ct.colorGreen200),backgroundSuccessSubtle:St.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ct.colorGreen10),backgroundGlobalSurface:St.extend("--ft-background-global-surface","Used as app background.",Ct.colorWhite),backgroundGlobalOnSurface:St.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ct.colorGray10),backgroundGlobalOnSurfaceDark:St.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ct.colorGray30),contentActionPrimary:St.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ct.colorBrand0),contentWarningPrimary:St.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ct.colorOrange300),contentWarningIconOnly:St.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ct.colorOrange0),contentErrorPrimary:St.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ct.colorRed0),contentErrorIconOnly:St.extend("--ft-content-error-icon-only","Used on error status icons alone",Ct.colorRed0),contentInfoPrimary:St.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ct.colorCyan200),contentInfoIconOnly:St.extend("--ft-content-info-icon-only","Used on info status icons alone",Ct.colorCyan0),contentSuccessIconOnly:St.extend("--ft-content-success-icon-only","Used on success status icons alone",Ct.colorGreen0),contentSuccessPrimary:St.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ct.colorGreen200),contentGlobalPrimary:St.extend("--ft-content-global-primary","Used for main content on the page.",Ct.colorGray500),contentGlobalSecondary:St.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ct.colorGray200),contentGlobalSubtle:St.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ct.colorGray0),contentGlobalOnColor:St.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ct.colorWhite),borderActionPrimary:St.extend("--ft-border-action-primary","Used as border for primary action components.",Ct.colorBrand0),borderActionFocusRing:St.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ct.colorCyan0),borderWarningPrimary:St.extend("--ft-border-warning-primary","Used as border for warning components.",Ct.colorOrange30),borderSuccessPrimary:St.extend("--ft-border-success-primary","Used as border for success components.",Ct.colorGreen30),borderErrorPrimary:St.extend("--ft-border-error-primary","Used as border for error components.",Ct.colorRed30),borderInfoPrimary:St.extend("--ft-border-info-primary","Used as border for information components.",Ct.colorCyan30),borderGlobalSubtle:St.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ct.colorGray30),borderGlobalPrimary:St.extend("--ft-border-global-primary","Used as border for element like input.",Ct.colorGray50),borderInputPrimary:St.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ct.colorGray80)},Rt={largeHeight:St.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:St.extend("--ft-button-large-horizontal-padding","",Ct.spacing4),largeGap:St.extend("--ft-button-large-gap","",Ct.spacing2),largeBorderRadius:St.extend("--ft-button-large-border-radius","",Ct.borderRadiusS),largeIconSize:St.extend("--ft-button-large-icon-size","",Ct.iconSize3),largeBorderWidth:St.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:St.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:St.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:St.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:St.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:St.extend("--ft-button-small-horizontal-padding","",Ct.spacing3),smallGap:St.extend("--ft-button-small-gap","",Ct.spacing2),smallBorderRadius:St.extend("--ft-button-small-border-radius","",Ct.borderRadiusS),smallIconSize:St.extend("--ft-button-small-icon-size","",Ct.iconSize2),smallBorderWidth:St.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:St.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:St.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:St.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:St.extend("--ft-button-primary-background-color","",$t.backgroundActionPrimary),primaryColor:St.extend("--ft-button-primary-color","",$t.contentGlobalOnColor),primaryIconColor:St.extend("--ft-button-primary-icon-color","",$t.contentGlobalOnColor),primaryStateLayerColor:St.extend("--ft-button-primary-state-layer-color","",$t.contentGlobalOnColor),primaryStateLayerOpacityHover:St.extend("--ft-button-primary-state-layer-opacity-hover","",Ct.opacity16),primaryStateLayerOpacityFocus:St.extend("--ft-button-primary-state-layer-opacity-focus","",Ct.opacity16),primaryStateLayerOpacityActive:St.extend("--ft-button-primary-state-layer-opacity-active","",Ct.opacity24),primaryComponentOpacityDisabled:St.extend("--ft-button-primary-component-opacity-disabled","",Ct.opacity40),focusFocusRingColor:St.extend("--ft-button-focus-focus-ring-color","",$t.borderActionFocusRing),tertiaryBackgroundColor:St.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:St.extend("--ft-button-tertiary-color","",$t.contentActionPrimary),tertiaryIconColor:St.extend("--ft-button-tertiary-icon-color","",$t.contentActionPrimary),tertiaryStateLayerColor:St.extend("--ft-button-tertiary-state-layer-color","",$t.contentActionPrimary),tertiaryStateLayerOpacityHover:St.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ct.opacity8),tertiaryStateLayerOpacityFocus:St.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ct.opacity8),tertiaryStateLayerOpacityActive:St.extend("--ft-button-tertiary-state-layer-opacity-active","",Ct.opacity16),tertiaryComponentOpacityDisabled:St.extend("--ft-button-tertiary-component-opacity-disabled","",Ct.opacity40),secondaryBackgroundColor:St.extend("--ft-button-secondary-background-color","",Ct.colorWhite),secondaryColor:St.extend("--ft-button-secondary-color","",$t.contentActionPrimary),secondaryIconColor:St.extend("--ft-button-secondary-icon-color","",$t.contentActionPrimary),secondaryStateLayerColor:St.extend("--ft-button-secondary-state-layer-color","",$t.contentActionPrimary),secondaryStateLayerOpacityHover:St.extend("--ft-button-secondary-state-layer-opacity-hover","",Ct.opacity8),secondaryStateLayerOpacityFocus:St.extend("--ft-button-secondary-state-layer-opacity-focus","",Ct.opacity8),secondaryStateLayerOpacityActive:St.extend("--ft-button-secondary-state-layer-opacity-active","",Ct.opacity16),secondaryComponentOpacityDisabled:St.extend("--ft-button-secondary-component-opacity-disabled","",Ct.opacity40),secondaryBorderColor:St.extend("--ft-button-secondary-border-color","",$t.borderActionPrimary),neutralBackgroundColor:St.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:St.extend("--ft-button-neutral-icon-color","",$t.contentGlobalSecondary),neutralColor:St.extend("--ft-button-neutral-color","",$t.contentGlobalSecondary),neutralStateLayerColor:St.extend("--ft-button-neutral-state-layer-color","",$t.contentGlobalSecondary),neutralStateLayerOpacityHover:St.extend("--ft-button-neutral-state-layer-opacity-hover","",Ct.opacity8),neutralStateLayerOpacityFocus:St.extend("--ft-button-neutral-state-layer-opacity-focus","",Ct.opacity8),neutralStateLayerOpacityActive:St.extend("--ft-button-neutral-state-layer-opacity-active","",Ct.opacity16),neutralComponentOpacityDisabled:St.extend("--ft-button-neutral-component-opacity-disabled","",Ct.opacity40)};St.extend("--ft-tabs-top-left-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-top-right-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-label-horizontal-padding","",Ct.spacing4),St.extend("--ft-tabs-label-vertical-padding","",Ct.spacing3),St.extend("--ft-tabs-label-gap","",Ct.spacing1),St.extend("--ft-switch-group-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-group-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-group-gap","",Ct.spacing1),St.extend("--ft-switch-group-background-color","",$t.backgroundGlobalSurface),St.extend("--ft-switch-group-border-color","",$t.borderGlobalSubtle),St.create("--ft-switch-group-border-radius","","SIZE","6px"),St.extend("--ft-switch-label-horizontal-padding","",Ct.spacing2),St.extend("--ft-switch-label-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-icon-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-icon-vertical-padding","",Ct.spacing1),St.create("--ft-switch-focus-outline-width","","SIZE","2px"),St.extend("--ft-switch-focus-focus-ring-color","",$t.borderActionFocusRing),St.extend("--ft-switch-option-border-radius","",Ct.borderRadiusS),St.extend("--ft-switch-off-state-layer-opacity-hover","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-focus","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-active","",Ct.opacity16),St.extend("--ft-switch-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-switch-off-color","",$t.contentGlobalSubtle),St.extend("--ft-switch-off-state-layer-color","",$t.contentGlobalSubtle),St.extend("--ft-chart-1-light","for area color charts",Ct.colorBrand40),St.extend("--ft-chart-1-base","for line charts",Ct.colorBrand0),St.extend("--ft-chart-2-light","for area color charts",Ct.colorYellow60),St.extend("--ft-chart-2-base","for line charts",Ct.colorYellow100),St.extend("--ft-chart-3-light","",Ct.colorUltramarine40),St.extend("--ft-chart-3-base","",Ct.colorUltramarine70),St.extend("--ft-chart-4-light","",Ct.colorCyan50),St.extend("--ft-chart-4-base","",Ct.colorCyan100),St.extend("--ft-chart-5-light","",Ct.colorRed40),St.extend("--ft-chart-5-base","",Ct.colorRed60),St.extend("--ft-chart-6-light","",Ct.colorGreen40),St.extend("--ft-chart-6-base","",Ct.colorGreen70),St.extend("--ft-chart-7-light","",Ct.colorOrange70),St.extend("--ft-chart-7-base","",Ct.colorOrange100),St.extend("--ft-chart-8-light","",Ct.colorAvocado70),St.extend("--ft-chart-8-base","",Ct.colorAvocado200),St.extend("--ft-chart-9-light","",Ct.colorBrown50),St.extend("--ft-chart-9-base","",Ct.colorBrown200),St.extend("--ft-chart-10-light","",Ct.colorGray50),St.extend("--ft-chart-10-base","",Ct.colorGray80),St.extend("--ft-chart-monochrome-10","",Ct.colorBrand10),St.extend("--ft-chart-monochrome-20","",Ct.colorBrand20),St.extend("--ft-chart-monochrome-30","",Ct.colorBrand40),St.extend("--ft-chart-monochrome-40","",Ct.colorBrand60),St.extend("--ft-chart-monochrome-50","",Ct.colorBrand0),St.extend("--ft-chart-monochrome-60","",Ct.colorBrand200),St.extend("--ft-chip-large-horizontal-padding","",Ct.spacing4),St.extend("--ft-chip-large-vertical-padding","",Ct.spacing2),St.extend("--ft-chip-large-gap","",Ct.spacing1),St.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-large-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-large-border-width","","SIZE","1px"),St.extend("--ft-chip-large-icon-size","",Ct.iconSize3),St.extend("--ft-chip-medium-horizontal-padding","",Ct.spacing3),St.extend("--ft-chip-medium-vertical-padding","",Ct.spacing1),St.extend("--ft-chip-medium-gap","",Ct.spacing1),St.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-medium-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-medium-border-width","","SIZE","1px"),St.extend("--ft-chip-medium-icon-size","",Ct.iconSize2),St.extend("--ft-chip-small-horizontal-padding","",Ct.spacing2),St.extend("--ft-chip-small-vertical-padding","",Ct.spacing05),St.extend("--ft-chip-small-gap","",Ct.spacing1),St.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-small-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-small-border-width","","SIZE","1px"),St.extend("--ft-chip-small-icon-size","",Ct.iconSize1),St.extend("--ft-chip-neutral-background-color","",$t.backgroundGlobalOnSurface),St.extend("--ft-chip-neutral-color","",$t.contentGlobalPrimary),St.extend("--ft-chip-neutral-border-color","",$t.borderGlobalSubtle),St.extend("--ft-chip-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-chip-info-color","",$t.contentInfoPrimary),St.extend("--ft-chip-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-chip-success-background-color","",$t.backgroundSuccessSubtle),St.extend("--ft-chip-success-color","",$t.contentSuccessPrimary),St.extend("--ft-chip-success-border-color","",$t.borderSuccessPrimary),St.extend("--ft-chip-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-chip-warning-color","",$t.contentWarningPrimary),St.extend("--ft-chip-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-chip-error-background-color","",$t.backgroundErrorSubtle),St.extend("--ft-chip-error-color","",$t.contentErrorPrimary),St.extend("--ft-chip-error-border-color","",$t.borderErrorPrimary),St.create("--ft-notice-border-width","","SIZE","1px"),St.extend("--ft-notice-horizontal-padding","",Ct.spacing2),St.extend("--ft-notice-vertical-padding","",Ct.spacing1),St.extend("--ft-notice-border-radius","",Ct.borderRadiusS),St.extend("--ft-notice-gap","",Ct.spacing2),St.extend("--ft-notice-icon-size","",Ct.iconSize3),St.extend("--ft-notice-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-notice-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-notice-info-color","",$t.contentInfoPrimary),St.extend("--ft-notice-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-notice-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-notice-warning-color","",$t.contentWarningPrimary),St.extend("--ft-checkbox-label-color","",$t.contentGlobalPrimary),St.extend("--ft-checkbox-checked-background-color","",$t.contentActionPrimary),St.extend("--ft-checkbox-checked-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-checkbox-checked-color","",$t.contentGlobalOnColor),St.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-checked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-unchecked-border-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-focus-focus-ring-color","",$t.borderActionFocusRing),St.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),St.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),St.extend("--ft-checkbox-gap","",Ct.spacing3),St.extend("--ft-toggle-off-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-off-background-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-off-icon-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-off-state-layer-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-on-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-on-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-on-background-color","",$t.contentActionPrimary),St.extend("--ft-toggle-on-icon-color","",$t.contentActionPrimary),St.extend("--ft-toggle-on-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-toggle-label-color","",$t.contentGlobalPrimary),St.extend("--ft-toggle-focus-focus-ring-color","",$t.borderActionFocusRing),St.extend("--ft-toggle-gap","",Ct.spacing3),St.extend("--ft-radio-label-color","",$t.contentGlobalPrimary),St.extend("--ft-radio-selected-color","",$t.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-selected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-unselected-state-layer-color","",Ct.colorGray80),St.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-unselected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-focus-focus-ring-color","",$t.borderActionFocusRing),St.create("--ft-radio-focus-outline-offset","","SIZE","3px"),St.create("--ft-radio-focus-outline-width","","SIZE","2px"),St.extend("--ft-radio-gap","",Ct.spacing3),St.extend("--ft-notification-icon-size","",Ct.iconSize4),St.extend("--ft-notification-horizontal-padding","",Ct.spacing4),St.extend("--ft-notification-vertical-padding","",Ct.spacing4),St.extend("--ft-notification-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-notification-info-color","",$t.contentInfoPrimary),St.extend("--ft-notification-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-notification-success-background-color","",$t.backgroundSuccessSubtle),St.extend("--ft-notification-success-color","",$t.contentSuccessPrimary),St.extend("--ft-notification-success-border-color","",$t.borderSuccessPrimary),St.extend("--ft-notification-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-notification-warning-color","",$t.contentWarningPrimary),St.extend("--ft-notification-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-notification-error-background-color","",$t.backgroundErrorSubtle),St.extend("--ft-notification-error-color","",$t.contentErrorPrimary),St.extend("--ft-notification-error-border-color","",$t.borderErrorPrimary),St.extend("--ft-notification-border-radius","",Ct.borderRadiusPill),St.create("--ft-notification-border-width","","SIZE","1px"),St.extend("--ft-notification-gap-leading","",Ct.spacing2),St.extend("--ft-notification-gap-trailing","",Ct.spacing8);const kt={colorPrimary:St.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:St.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:St.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:St.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:St.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:St.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:St.create("--ft-color-error","","COLOR","#B00020"),colorOutline:St.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:St.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:St.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:St.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:St.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:St.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:St.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:St.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:St.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:St.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:St.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:St.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:St.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:St.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:St.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:St.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:St.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:St.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:St.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:St.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:St.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:St.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:St.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:St.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:St.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:St.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:St.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:St.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:St.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:St.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:St.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:St.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:St.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:St.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:St.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:St.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:St.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:St.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:St.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:St.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:St.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:St.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ut extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return w(e,t.elementStyles),e}}var It,Lt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wt=Symbol("constructorPrototype"),jt=Symbol("constructorName"),Kt=Symbol("exportpartsDebouncer");class Ft extends Ut{constructor(){super(),this[It]=new i(5),this[jt]=this.constructor.name,this[Wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jt]&&Object.setPrototypeOf(this,this[Wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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[Kt].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 o,e,r,i,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=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(...o,...e).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((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}It=Kt,Lt([a()],Ft.prototype,"exportpartsPrefix",void 0),Lt([h([])],Ft.prototype,"exportpartsPrefixes",void 0),Lt([a()],Ft.prototype,"customStylesheet",void 0);const zt=O`
70
70
  .ft-no-text-select {
71
71
  -webkit-touch-callout: none;
72
72
  -webkit-user-select: none;
@@ -75,7 +75,7 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
75
75
  -ms-user-select: none;
76
76
  user-select: none;
77
77
  }
78
- `,Ut=w`
78
+ `,Zt=O`
79
79
  .ft-word-wrap {
80
80
  white-space: normal;
81
81
  word-wrap: break-word;
@@ -87,7 +87,7 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
87
87
  -webkit-hyphens: auto;
88
88
  hyphens: auto
89
89
  }
90
- `,Pt=w`
90
+ `,At=O`
91
91
  .ft-safari-ellipsis-fix {
92
92
  margin-right: 0;
93
93
 
@@ -98,17 +98,7 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
98
98
  display: inline-block;
99
99
  width: 0;
100
100
  }
101
- `;class Ft{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let o=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>o=o.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),o}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;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 i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function It(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Tt,Lt,zt;const Bt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores");class Wt extends Rt{constructor(){super(...arguments),this[Tt]=new Map,this[Lt]=new Map,this[zt]=[]}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[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Dt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:It(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Dt].delete(e)}setupStore(t,e){this[Dt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[_t].set(t,e.subscribe((()=>this.updateFromStores()))),It(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[Bt].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Bt].forEach((t=>t())),this[Bt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Kt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ht(t){return!!t&&!!t[Re]}function Zt(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 i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Ae}(t)||Array.isArray(t)||!!t[Me]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Me])||Qt(t)||Yt(t))}function qt(t,e,i){void 0===i&&(i=!1),0===Vt(t)?(i?Object.keys:Ue)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function Vt(t){var e=t[Re];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qt(t)?2:Yt(t)?3:0}function Jt(t,e){return 2===Vt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Xt(t,e,i){var n=Vt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Gt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Qt(t){return ke&&t instanceof Map}function Yt(t){return je&&t instanceof Set}function te(t){return t.o||t.t}function ee(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pe(t);delete e[Re];for(var i=Ue(e),n=0;n<i.length;n++){var o=i[n],r=e[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(e[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function ie(t,e){return void 0===e&&(e=!1),oe(t)||Ht(t)||!Zt(t)||(Vt(t)>1&&(t.set=t.add=t.clear=t.delete=ne),Object.freeze(t),e&&qt(t,(function(t,e){return ie(e,!0)}),!0)),t}function ne(){Kt(2)}function oe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var e=Fe[t];return e||Kt(18,t),e}function se(){return Se}function ae(t,e){e&&(re("Patches"),t.u=[],t.s=[],t.v=e)}function le(t){ce(t),t.p.forEach(fe),t.p=null}function ce(t){t===Se&&(Se=t.l)}function ue(t){return Se={p:[],l:Se,h:t,m:!0,_:0}}function fe(t){var e=t[Re];0===e.i||1===e.i?e.j():e.g=!0}function he(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||re("ES5").S(e,t,n),n?(i[Re].P&&(le(e),Kt(4)),Zt(t)&&(t=pe(e,t),e.l||ve(e,t)),e.u&&re("Patches").M(i[Re].t,t,e.u,e.s)):t=pe(e,i,[]),le(e),e.u&&e.v(e.u,e.s),t!==Ne?t:void 0}function pe(t,e,i){if(oe(e))return e;var n=e[Re];if(!n)return qt(e,(function(o,r){return de(t,n,e,o,r,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return ve(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=ee(n.k):n.o,r=o,s=!1;3===n.i&&(r=new Set(o),o.clear(),s=!0),qt(r,(function(e,r){return de(t,n,o,e,r,i,s)})),ve(t,o,!1),i&&t.u&&re("Patches").N(n,i,t.u,t.s)}return n.o}function de(t,e,i,n,o,r,s){if(Ht(o)){var a=pe(t,o,r&&e&&3!==e.i&&!Jt(e.R,n)?r.concat(n):void 0);if(Xt(i,n,a),!Ht(a))return;t.m=!1}else s&&i.add(o);if(Zt(o)&&!oe(o)){if(!t.h.D&&t._<1)return;pe(t,o),e&&e.A.l||ve(t,o)}}function ve(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&ie(e,i)}function be(t,e){var i=t[Re];return(i?te(i):t)[e]}function ye(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ge(t){t.P||(t.P=!0,t.l&&ge(t.l))}function me(t){t.o||(t.o=ee(t.t))}function xe(t,e,i){var n=Qt(e)?re("MapSet").F(e,i):Yt(e)?re("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:se(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=n,r=Ie;i&&(o=[n],r=Te);var s=Proxy.revocable(o,r),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):re("ES5").J(e,i);return(i?i.A:se()).p.push(n),n}function we(t){return Ht(t)||Kt(22,t),function t(e){if(!Zt(e))return e;var i,n=e[Re],o=Vt(e);if(n){if(!n.P&&(n.i<4||!re("ES5").K(n)))return n.t;n.I=!0,i=$e(e,o),n.I=!1}else i=$e(e,o);return qt(i,(function(e,o){n&&function(t,e){return 2===Vt(t)?t.get(e):t[e]}(n.t,e)===o||Xt(i,e,t(o))})),3===o?new Set(i):i}(t)}function $e(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ee(t)}Tt=_t,Lt=Dt,zt=Bt;var Oe,Se,Ee="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ke="undefined"!=typeof Map,je="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ne=Ee?Symbol.for("immer-nothing"):((Oe={})["immer-nothing"]=!0,Oe),Me=Ee?Symbol.for("immer-draftable"):"__$immer_draftable",Re=Ee?Symbol.for("immer-state"):"__$immer_state",Ae=""+Object.prototype.constructor,Ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pe=Object.getOwnPropertyDescriptors||function(t){var e={};return Ue(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Fe={},Ie={get:function(t,e){if(e===Re)return t;var i=te(t);if(!Jt(i,e))return function(t,e,i){var n,o=ye(e,i);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Zt(n)?n:n===be(t.t,e)?(me(t),t.o[e]=xe(t.A.h,n,t)):n},has:function(t,e){return e in te(t)},ownKeys:function(t){return Reflect.ownKeys(te(t))},set:function(t,e,i){var n=ye(te(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var o=be(te(t),e),r=null==o?void 0:o[Re];if(r&&r.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Gt(i,o)&&(void 0!==i||Jt(t.t,e)))return!0;me(t),ge(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==be(t.t,e)||e in t.t?(t.R[e]=!1,me(t),ge(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=te(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Kt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Kt(12)}},Te={};qt(Ie,(function(t,e){Te[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Te.deleteProperty=function(t,e){return Te.set.call(this,t,e,void 0)},Te.set=function(t,e,i){return Ie.set.call(this,t[0],e,i,t[0])};var Le=function(){function t(t){var e=this;this.O=Ce,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var o=i;i=t;var r=e;return function(t){var e=this;void 0===t&&(t=o);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return r.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Kt(6),void 0!==n&&"function"!=typeof n&&Kt(7),Zt(t)){var a=ue(e),l=xe(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?le(a):ce(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return ae(a,n),he(t,a)}),(function(t){throw le(a),t})):(ae(a,n),he(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===Ne&&(s=void 0),e.D&&ie(s,!0),n){var u=[],f=[];re("Patches").M(t,s,u,f),n(u,f)}return s}Kt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(o))}))};var n,o,r=e.produce(t,i,(function(t,e){n=t,o=e}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(t){return[t,n,o]})):[r,n,o]},"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){Zt(t)||Kt(8),Ht(t)&&(t=we(t));var e=ue(this),i=xe(this,t,void 0);return i[Re].C=!0,ce(e),i},e.finishDraft=function(t,e){var i=(t&&t[Re]).A;return ae(i,e),he(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ce&&Kt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var o=re("Patches").$;return Ht(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),ze=new Le,Be=ze.produce;function _e(t){return _e="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},_e(t)}function De(t){var e=function(t,e){if("object"!==_e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==_e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===_e(e)?e:String(e)}function We(t,e,i){return(e=De(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ke(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function He(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(i),!0).forEach((function(e){We(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ke(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ze(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. "}ze.produceWithPatches.bind(ze),ze.setAutoFreeze.bind(ze),ze.setUseProxies.bind(ze),ze.applyPatches.bind(ze),ze.createDraft.bind(ze),ze.finishDraft.bind(ze);var qe="function"==typeof Symbol&&Symbol.observable||"@@observable",Ve=function(){return Math.random().toString(36).substring(7).split("").join(".")},Je={INIT:"@@redux/INIT"+Ve(),REPLACE:"@@redux/REPLACE"+Ve(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ve()}};function Xe(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Ze(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Ze(1));return i(Xe)(t,e)}if("function"!=typeof t)throw new Error(Ze(2));var o=t,r=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(Ze(3));return r}function f(t){if("function"!=typeof t)throw new Error(Ze(4));if(l)throw new Error(Ze(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Ze(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function h(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(Ze(7));if(void 0===t.type)throw new Error(Ze(8));if(l)throw new Error(Ze(9));try{l=!0,r=o(r,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return h({type:Je.INIT}),(n={dispatch:h,subscribe:f,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ze(10));o=t,h({type:Je.REPLACE})}})[qe]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ze(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[qe]=function(){return this},t},n}function Ge(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(i[o]=t[o])}var r,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Je.INIT}))throw new Error(Ze(12));if(void 0===i(void 0,{type:Je.PROBE_UNKNOWN_ACTION()}))throw new Error(Ze(13))}))}(i)}catch(t){r=t}return function(t,e){if(void 0===t&&(t={}),r)throw r;for(var n=!1,o={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],f=c(u,e);if(void 0===f)throw e&&e.type,new Error(Ze(14));o[l]=f,n=n||f!==u}return(n=n||s.length!==Object.keys(t).length)?o:t}}function Qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];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 Ye(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(Ze(15))},o={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},r=e.map((function(t){return t(o)}));return n=Qe.apply(void 0,r)(i.dispatch),He(He({},i),{},{dispatch:n})}}}function ti(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(o){return"function"==typeof o?o(i,n,t):e(o)}}}}var ei=ti();ei.withExtraArgument=ti;var ii,ni=ei,oi=(ii=function(t,e){return ii=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},ii(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 i(){this.constructor=t}ii(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ri=function(t,e){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},si=function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t},ai=Object.defineProperty,li=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,ui=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,pi=function(t,e,i){return e in t?ai(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},di=function(t,e){for(var i in e||(e={}))fi.call(e,i)&&pi(t,i,e[i]);if(ui)for(var n=0,o=ui(e);n<o.length;n++){i=o[n];hi.call(e,i)&&pi(t,i,e[i])}return t},vi=function(t,e){return li(t,ci(e))},bi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Qe:Qe.apply(null,arguments)};var yi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return oi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,si([void 0],t[0].concat(this)))):new(e.bind.apply(e,si([void 0],t.concat(this))))},e}(Array),gi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return oi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,si([void 0],t[0].concat(this)))):new(e.bind.apply(e,si([void 0],t.concat(this))))},e}(Array);function mi(t){return Zt(t)?Be(t,(function(){})):t}function xi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new yi;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(ni.withExtraArgument(i.extraArgument)):n.push(ni));return n}(t)}}function wi(t){var e,i=xi(),n=t||{},o=n.reducer,r=void 0===o?void 0:o,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,f=void 0===u?void 0:u,h=n.enhancers,p=void 0===h?void 0:h;if("function"==typeof r)e=r;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(r))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=Ge(r)}var d=a;"function"==typeof d&&(d=d(i));var v=Ye.apply(void 0,d),b=Qe;c&&(b=bi(di({trace:!1},"object"==typeof c&&c)));var y=new gi(v),g=y;return Array.isArray(p)?g=si([v],p):"function"==typeof p&&(g=p(y)),Xe(e,f,b.apply(void 0,g))}function $i(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var o=e.apply(void 0,i);if(!o)throw new Error("prepareAction did not return an object");return di(di({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function Oi(t){var e,i={},n=[],o={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,o},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),o},addDefaultCase:function(t){return e=t,o}};return t(o),[i,n,e]}function Si(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:mi(t.initialState),o=t.reducers||{},r=Object.keys(o),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Oi(t.extraReducers):[t.extraReducers],i=e[0],o=void 0===i?{}:i,r=e[1],s=void 0===r?[]:r,l=e[2],c=void 0===l?void 0:l,u=di(di({},o),a);return function(t,e,i,n){void 0===i&&(i=[]);var o,r="function"==typeof e?Oi(e):[e,i,n],s=r[0],a=r[1],l=r[2];if(function(t){return"function"==typeof t}(t))o=function(){return mi(t())};else{var c=mi(t);o=function(){return c}}function u(t,e){void 0===t&&(t=o());var i=si([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(Ht(t))return void 0===(n=i(t,e))?t:n;if(Zt(t))return Be(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=o,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var o=n[i];t.addMatcher(o.matcher,o.reducer)}c&&t.addDefaultCase(c)}))}return r.forEach((function(t){var i,n,r=o[t],c=e+"/"+t;"reducer"in r?(i=r.reducer,n=r.prepare):i=r,s[t]=i,a[c]=i,l[t]=n?$i(c,n):$i(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var Ei=["name","message","stack","code"],ki=function(t,e){this.payload=t,this.meta=e},ji=function(t,e){this.payload=t,this.meta=e},Ci=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=Ei;i<n.length;i++){var o=n[i];"string"==typeof t[o]&&(e[o]=t[o])}return e}return{message:String(t)}};function Ni(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=$i(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:vi(di({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),o=$i(t+"/pending",(function(t,e,i){return{payload:void 0,meta:vi(di({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),r=$i(t+"/rejected",(function(t,e,n,o,r){return{payload:o,error:(i&&i.serializeError||Ci)(t||"Rejected"),meta:vi(di({},r||{}),{arg:n,requestId:e,rejectedWithValue:!!o,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 u,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new s;function p(t){u=t,h.abort()}var d=function(){return s=this,d=null,v=function(){var s,d,v,b,y,g;return ri(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,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||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(o(f,t,null==(d=null==i?void 0:i.getPendingMeta)?void 0:d.call(i,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:h.signal,abort:p,rejectWithValue:function(t,e){return new ki(t,e)},fulfillWithValue:function(t,e){return new ji(t,e)}})).then((function(e){if(e instanceof ki)throw e;return e instanceof ji?n(e.payload,f,t,e.meta):n(e,f,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof ki?r(null,f,t,g.payload,g.meta):r(g,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&r.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{o(v.next(t))}catch(t){e(t)}},n=function(t){try{o(v.throw(t))}catch(t){e(t)}},o=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};o((v=v.apply(s,d)).next())}));var s,d,v}();return Object.assign(d,{abort:p,requestId:f,arg:t,unwrap:function(){return d.then(Ni)}})}}),{pending:o,rejected:r,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var Mi="listenerMiddleware";$i(Mi+"/add"),$i(Mi+"/removeAll"),$i(Mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=o[t];return i?i.enumerable=e:o[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Re];return Ie.get(e,t)},set:function(e){var i=this[Re];Ie.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][Re];if(!o.P)switch(o.i){case 5:n(o)&&ge(o);break;case 4:i(o)&&ge(o)}}}function i(t){for(var e=t.t,i=t.k,n=Ue(i),o=n.length-1;o>=0;o--){var r=n[o];if(r!==Re){var s=e[r];if(void 0===s&&!Jt(e,r))return!0;var a=i[r],l=a&&a[Re];if(l?l.t!==s:!Gt(a,s))return!0}}var c=!!e[Re];return n.length!==Ue(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var o={};!function(t,e){Fe[t]||(Fe[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),o=function(e,i){if(e){for(var n=Array(i.length),o=0;o<i.length;o++)Object.defineProperty(n,""+o,t(o,!0));return n}var r=Pe(i);delete r[Re];for(var s=Ue(r),a=0;a<s.length;a++){var l=s[a];r[l]=t(l,e||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(i),r)}(n,e),r={i:n?5:4,A:i?i.A:se(),P:!1,I:!1,R:{},l:i,t:e,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,Re,{value:r,writable:!0}),o},S:function(t,i,o){o?Ht(i)&&i[Re].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Re];if(i){var o=i.t,r=i.k,s=i.R,a=i.i;if(4===a)qt(r,(function(e){e!==Re&&(void 0!==o[e]||Jt(o,e)?s[e]||t(r[e]):(s[e]=!0,ge(i)))})),qt(o,(function(t){void 0!==r[t]||Jt(r,t)||(s[t]=!1,ge(i))}));else if(5===a){if(n(i)&&(ge(i),s.length=!0),r.length<o.length)for(var l=r.length;l<o.length;l++)s[l]=!1;else for(var c=o.length;c<r.length;c++)s[c]=!0;for(var u=Math.min(r.length,o.length),f=0;f<u;f++)r.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(r[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ri{static get(t){var e;const i="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,o=window.ftReduxStores[i];if(It(o))return o;if(null==n)return;const r=Si({...n,reducers:null!==(e=n.reducers)&&void 0!==e?e:{}}),s=wi({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return r.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return r.reducer(t,e)}}});return window.ftReduxStores[n.name]=new Ri(r,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,i)=>{const n=e,o=t[n];return o?(...t)=>{const e=o(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[n]: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 Ai=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const o={hasChanged:(t,e)=>!h(t,e),attribute:!1,...e};s(o)(t,i);const r=t;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}};var Ui,Pi,Fi;const Ii=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Fi=null===(Pi=null===(Ui=window.safari)||void 0===Ui?void 0:Ui.pushNotification)||void 0===Pi?void 0:Pi.toString())&&void 0!==Fi?Fi:""),Ti=1,Li=2,zi=t=>(...e)=>({_$litDirective$:t,values:e});
102
- /**
103
- * @license
104
- * Copyright 2017 Google LLC
105
- * SPDX-License-Identifier: BSD-3-Clause
106
- */class Bi{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
107
- /**
108
- * @license
109
- * Copyright 2018 Google LLC
110
- * SPDX-License-Identifier: BSD-3-Clause
111
- */const _i=zi(class extends Bi{constructor(t){var e;if(super(t),t.type!==Ti||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const o=t.element.classList;this.it.forEach((t=>{t in e||(o.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(n=this.nt)||void 0===n?void 0:n.has(t))||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}}),Di=$t.extend("--ft-ripple-color",St.colorContent),Wi={color:Di,backgroundColor:$t.extend("--ft-ripple-background-color",Di),opacityContentOnSurfacePressed:$t.external(St.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:$t.external(St.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:$t.external(St.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:$t.external(St.opacityContentOnSurfaceSelected,"Design system"),borderRadius:$t.create("--ft-ripple-border-radius","SIZE","0px")},Ki=$t.extend("--ft-ripple-color",St.colorPrimary),Hi=Ki,Zi=$t.extend("--ft-ripple-background-color",Ki),qi=$t.extend("--ft-ripple-color",St.colorSecondary),Vi=qi,Ji=$t.extend("--ft-ripple-background-color",qi),Xi=w`
101
+ `;class Mt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Bt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Dt,Pt,Ht;const Tt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class qt extends Ft{constructor(){super(...arguments),this[Dt]=new Map,this[Pt]=new Map,this[Ht]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Bt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Gt].delete(o)}setupStore(t,o){this[Gt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[_t].set(t,o.subscribe((()=>this.updateFromStores()))),Bt(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Tt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Tt].forEach((t=>t())),this[Tt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(t){return!!t&&!!t[zo]}function Jt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Zo}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Fo])||ro(t)||io(t))}function Xt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Ao)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Qt(t){var o=t[zo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,o){return 2===Qt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function oo(t,o,e){var r=Qt(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function eo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ro(t){return Lo&&t instanceof Map}function io(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Mo(t);delete o[zo];for(var e=Ao(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function so(t,o){return void 0===o&&(o=!1),co(t)||Yt(t)||!Jt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=lo),Object.freeze(t),o&&Xt(t,(function(t,o){return so(o,!0)}),!0)),t}function lo(){Vt(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var o=Bo[t];return o||Vt(18,t),o}function po(){return Uo}function uo(t,o){o&&(fo("Patches"),t.u=[],t.s=[],t.v=o)}function ho(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Uo&&(Uo=t.l)}function go(t){return Uo={p:[],l:Uo,h:t,m:!0,_:0}}function bo(t){var o=t[zo];0===o.i||1===o.i?o.j():o.g=!0}function mo(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||fo("ES5").S(o,t,r),r?(e[zo].P&&(ho(o),Vt(4)),Jt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[zo].t,t,o.u,o.s)):t=vo(o,e,[]),ho(o),o.u&&o.v(o.u,o.s),t!==Ko?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[zo];if(!r)return Xt(o,(function(i,n){return xo(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xt(n,(function(o,n){return xo(t,r,i,o,n,e,a)})),Oo(t,i,!1),e&&t.u&&fo("Patches").N(r,e,t.u,t.s)}return r.o}function xo(t,o,e,r,i,n,a){if(Yt(i)){var s=vo(t,i,n&&o&&3!==o.i&&!to(o.R,r)?n.concat(r):void 0);if(oo(e,r,s),!Yt(s))return;t.m=!1}else a&&e.add(i);if(Jt(i)&&!co(i)){if(!t.h.D&&t._<1)return;vo(t,i),o&&o.A.l||Oo(t,i)}}function Oo(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&so(o,e)}function wo(t,o){var e=t[zo];return(e?no(e):t)[o]}function So(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,o,e){var r=ro(o)?fo("MapSet").F(o,e):io(o)?fo("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Do;e&&(i=[r],n=Po);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):fo("ES5").J(o,e);return(e?e.A:po()).p.push(r),r}function $o(t){return Yt(t)||Vt(22,t),function t(o){if(!Jt(o))return o;var e,r=o[zo],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=Ro(o,i),r.I=!1}else e=Ro(o,i);return Xt(e,(function(o,i){r&&function(t,o){return 2===Qt(t)?t.get(o):t[o]}(r.t,o)===i||oo(e,o,t(i))})),3===i?new Set(e):e}(t)}function Ro(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Dt=_t,Pt=Gt,Ht=Tt;var ko,Uo,Io="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,jo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Io?Symbol.for("immer-nothing"):((ko={})["immer-nothing"]=!0,ko),Fo=Io?Symbol.for("immer-draftable"):"__$immer_draftable",zo=Io?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Ao="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Mo=Object.getOwnPropertyDescriptors||function(t){var o={};return Ao(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Bo={},Do={get:function(t,o){if(o===zo)return t;var e=no(t);if(!to(e,o))return function(t,o,e){var r,i=So(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Jt(r)?r:r===wo(t.t,o)?(Co(t),t.o[o]=Eo(t.A.h,r,t)):r},has:function(t,o){return o in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,o,e){var r=So(no(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=wo(no(t),o),n=null==i?void 0:i[zo];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(eo(e,i)&&(void 0!==e||to(t.t,o)))return!0;Co(t),No(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wo(t.t,o)||o in t.t?(t.R[o]=!1,Co(t),No(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=no(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Po={};Xt(Do,(function(t,o){Po[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Po.deleteProperty=function(t,o){return Po.set.call(this,t,o,void 0)},Po.set=function(t,o,e){return Do.set.call(this,t[0],o,e,t[0])};var Ho=function(){function t(t){var o=this;this.O=jo,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Vt(6),void 0!==r&&"function"!=typeof r&&Vt(7),Jt(t)){var s=go(o),l=Eo(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?ho(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw ho(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ko&&(a=void 0),o.D&&so(a,!0),r){var f=[],p=[];fo("Patches").M(t,a,f,p),r(f,p)}return a}Vt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"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 o=t.prototype;return o.createDraft=function(t){Jt(t)||Vt(8),Yt(t)&&(t=$o(t));var o=go(this),e=Eo(this,t,void 0);return e[zo].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[zo]).A;return uo(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!jo&&Vt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=fo("Patches").$;return Yt(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),To=new Ho,_o=To.produce;function Go(t){return Go="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},Go(t)}function qo(t){var o=function(t,o){if("object"!==Go(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Go(o)?o:String(o)}function Vo(t,o,e){return(o=qo(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Jo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(e),!0).forEach((function(o){Vo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Xo(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. "}To.produceWithPatches.bind(To),To.setAutoFreeze.bind(To),To.setUseProxies.bind(To),To.applyPatches.bind(To),To.createDraft.bind(To),To.finishDraft.bind(To);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",te=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+te(),REPLACE:"@@redux/REPLACE"+te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+te()}};function ee(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Xo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Xo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Xo(4));if(l)throw new Error(Xo(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(Xo(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(l)throw new Error(Xo(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:oe.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,u({type:oe.REPLACE})}})[Qo]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qo]=function(){return this},t},r}function re(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oe.INIT}))throw new Error(Xo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(Xo(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ie(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ne(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ie.apply(void 0,n)(e.dispatch),Jo(Jo({},e),{},{dispatch:r})}}}function ae(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var se=ae();se.withExtraArgument=ae;var le,ce=se,fe=(le=function(t,o){return le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},le(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}le(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pe=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[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(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ue=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},de=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=function(t,o,e){return o in t?de(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},xe=function(t,o){for(var e in o||(o={}))be.call(o,e)&&ve(t,e,o[e]);if(ge)for(var r=0,i=ge(o);r<i.length;r++){e=i[r];me.call(o,e)&&ve(t,e,o[e])}return t},Oe=function(t,o){return he(t,ye(o))},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ie:ie.apply(null,arguments)};var Se=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array),Ne=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array);function Ce(t){return Jt(t)?_o(t,(function(){})):t}function Ee(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Se;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ce.withExtraArgument(e.extraArgument)):r.push(ce));return r}(t)}}function $e(t){var o,e=Ee(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(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');o=re(n)}var h=s;"function"==typeof h&&(h=h(e));var y=ne.apply(void 0,h),g=ie;c&&(g=we(xe({trace:!1},"object"==typeof c&&c)));var b=new Ne(y),m=b;return Array.isArray(d)?m=ue([y],d):"function"==typeof d&&(m=d(b)),ee(o,p,g.apply(void 0,m))}function Re(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return xe(xe({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function ke(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ue(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ce(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?ke(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=xe(xe({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?ke(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ce(t())};else{var c=Ce(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=ue([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(Yt(t))return void 0===(r=e(t,o))?t:r;if(Jt(t))return _o(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Re(c,r):Re(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ie=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},je=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ie;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ke(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Re(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Re(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Re(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||je)(t||"Rejected"),meta:Oe(xe({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,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,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return pe(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Le(t,o)},fulfillWithValue:function(t,o){return new We(t,o)}})).then((function(o){if(o instanceof Le)throw o;return o instanceof We?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Le?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:d,requestId:p,arg:t,unwrap:function(){return h.then(Ke)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fe="listenerMiddleware";Re(Fe+"/add"),Re(Fe+"/removeAll"),Re(Fe+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[zo];return Do.get(o,t)},set:function(o){var e=this[zo];Do.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][zo];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:e(i)&&No(i)}}}function e(t){for(var o=t.t,e=t.k,r=Ao(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==zo){var a=o[n];if(void 0===a&&!to(o,n))return!0;var s=e[n],l=s&&s[zo];if(l?l.t!==a:!eo(s,a))return!0}}var c=!!o[zo];return r.length!==Ao(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Bo[t]||(Bo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Mo(e);delete n[zo];for(var a=Ao(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,zo,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[zo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[zo];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)Xt(n,(function(o){o!==zo&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Xt(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(e))}));else if(5===s){if(r(e)&&(No(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ze{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Bt(i))return i;if(null==r)return;const n=Ue({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=$e({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new ze(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]: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 Ze=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};a(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},Ae=Symbol("elementInternals");var Me,Be,De;const Pe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(De=null===(Be=null===(Me=window.safari)||void 0===Me?void 0:Me.pushNotification)||void 0===Be?void 0:Be.toString())&&void 0!==De?De:""),He=St.extend("--ft-ripple-color","",kt.colorContent),Te={color:He,backgroundColor:St.extend("--ft-ripple-background-color","",He),opacityContentOnSurfacePressed:St.external(kt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:St.external(kt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:St.external(kt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:St.external(kt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:St.create("--ft-ripple-border-radius","","SIZE","0px")},_e=St.extend("--ft-ripple-color","",kt.colorPrimary),Ge=_e,qe=St.extend("--ft-ripple-background-color","",_e),Ve=St.extend("--ft-ripple-color","",kt.colorSecondary),Ye=Ve,Je=St.extend("--ft-ripple-background-color","",Ve),Xe=O`
112
102
  :host {
113
103
  display: contents;
114
104
  }
@@ -121,7 +111,7 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
121
111
 
122
112
  .ft-ripple:not(.ft-ripple--unbounded) {
123
113
  overflow: hidden;
124
- border-radius: ${Wi.borderRadius};
114
+ border-radius: ${Te.borderRadius};
125
115
  }
126
116
 
127
117
  .ft-ripple .ft-ripple--background,
@@ -155,27 +145,27 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
155
145
  }
156
146
 
157
147
  .ft-ripple .ft-ripple--background {
158
- background-color: ${Wi.backgroundColor};
148
+ background-color: ${Te.backgroundColor};
159
149
  }
160
150
 
161
151
  .ft-ripple .ft-ripple--effect {
162
- background-color: ${Wi.color};
152
+ background-color: ${Te.color};
163
153
  }
164
154
 
165
155
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
166
- background-color: ${Ji};
156
+ background-color: ${Je};
167
157
  }
168
158
 
169
159
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
170
- background-color: ${Vi};
160
+ background-color: ${Ye};
171
161
  }
172
162
 
173
163
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
174
- background-color: ${Zi};
164
+ background-color: ${qe};
175
165
  }
176
166
 
177
167
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
178
- background-color: ${Hi};
168
+ background-color: ${Ge};
179
169
  }
180
170
 
181
171
  .ft-ripple .ft-ripple--background {
@@ -205,194 +195,124 @@ var gt,mt;let xt=class extends A{constructor(){super(...arguments),this.renderOp
205
195
  }
206
196
 
207
197
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
208
- opacity: ${Wi.opacityContentOnSurfaceHover};
198
+ opacity: ${Te.opacityContentOnSurfaceHover};
209
199
  }
210
200
 
211
201
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
212
- opacity: ${Wi.opacityContentOnSurfaceSelected};
202
+ opacity: ${Te.opacityContentOnSurfaceSelected};
213
203
  }
214
204
 
215
205
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
216
- opacity: ${Wi.opacityContentOnSurfaceFocused};
206
+ opacity: ${Te.opacityContentOnSurfaceFocused};
217
207
  }
218
208
 
219
209
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
220
- opacity: ${Wi.opacityContentOnSurfacePressed};
210
+ opacity: ${Te.opacityContentOnSurfacePressed};
221
211
  transform: translate(-50%, -50%) scale(1);
222
212
  }
223
- `;var Gi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Qi extends Rt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(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 o(10),this.moveRipple=t=>{var e,i;let{x:n,y:o}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=n?n-r.x:r.width/2),this.originY=Math.round(null!=o?o-r.y:r.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 tt`
224
- <style>
225
- .ft-ripple .ft-ripple--effect {
226
- left: ${this.originX}px;
227
- top: ${this.originY}px;
228
- }
229
- </style>
230
- <div class="${_i(t)}">
231
- <div class="ft-ripple--background"></div>
232
- <div class="ft-ripple--effect"></div>
233
- </div>
234
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),n=e("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",n),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",n),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let n,o;return null!=e.x?({x:n,y:o}=e):null!=i.touches&&(n=i.touches[0].clientX,o=i.touches[0].clientY),{x:n,y:o}}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()}}Qi.elementDefinitions={},Qi.styles=Xi,Gi([s({type:Boolean})],Qi.prototype,"primary",void 0),Gi([s({type:Boolean})],Qi.prototype,"secondary",void 0),Gi([s({type:Boolean})],Qi.prototype,"unbounded",void 0),Gi([s({type:Boolean})],Qi.prototype,"activated",void 0),Gi([s({type:Boolean})],Qi.prototype,"selected",void 0),Gi([s({type:Boolean})],Qi.prototype,"disabled",void 0),Gi([a()],Qi.prototype,"hovered",void 0),Gi([a()],Qi.prototype,"focused",void 0),Gi([a()],Qi.prototype,"pressed",void 0),Gi([a()],Qi.prototype,"rippling",void 0),Gi([a()],Qi.prototype,"originX",void 0),Gi([a()],Qi.prototype,"originY",void 0),Gi([c(".ft-ripple")],Qi.prototype,"ripple",void 0),Gi([c(".ft-ripple--effect")],Qi.prototype,"rippleEffect",void 0),p("ft-ripple")(Qi);
235
- /**
236
- * @license
237
- * Copyright 2020 Google LLC
238
- * SPDX-License-Identifier: BSD-3-Clause
239
- */
240
- const Yi=Symbol.for(""),tn=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void 0:t._$litStatic$},en=t=>({_$litStatic$:t,r:Yi}),nn=new Map,on=(t=>(e,...i)=>{const n=i.length;let o,r;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=e[c];c<n&&void 0!==(r=i[c],o=tn(r));)l+=o+e[++c],u=!0;c!==n&&a.push(r),s.push(l),c++}if(c===n&&s.push(e[n]),u){const t=s.join("$$lit$$");void 0===(e=nn.get(t))&&(s.raw=s,nn.set(t,e=s)),i=a}return t(e,...i)})(tt);var rn;!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"}(rn||(rn={}));const sn=$t.extend("--ft-typography-font-family",St.titleFont),an=$t.extend("--ft-typography-font-family",St.contentFont),ln={fontFamily:an,fontSize:$t.create("--ft-typography-font-size","SIZE","16px"),fontWeight:$t.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:$t.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:$t.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:$t.create("--ft-typography-text-transform","UNKNOWN","inherit")},cn=$t.extend("--ft-typography-title-font-family",sn),un=$t.extend("--ft-typography-title-font-size",ln.fontSize,"20px"),fn=$t.extend("--ft-typography-title-font-weight",ln.fontWeight,"normal"),hn=$t.extend("--ft-typography-title-letter-spacing",ln.letterSpacing,"0.15px"),pn=$t.extend("--ft-typography-title-line-height",ln.lineHeight,"1.2"),dn=$t.extend("--ft-typography-title-text-transform",ln.textTransform,"inherit"),vn=$t.extend("--ft-typography-title-dense-font-family",sn),bn=$t.extend("--ft-typography-title-dense-font-size",ln.fontSize,"14px"),yn=$t.extend("--ft-typography-title-dense-font-weight",ln.fontWeight,"normal"),gn=$t.extend("--ft-typography-title-dense-letter-spacing",ln.letterSpacing,"0.105px"),mn=$t.extend("--ft-typography-title-dense-line-height",ln.lineHeight,"1.7"),xn=$t.extend("--ft-typography-title-dense-text-transform",ln.textTransform,"inherit"),wn=$t.extend("--ft-typography-subtitle1-font-family",an),$n=$t.extend("--ft-typography-subtitle1-font-size",ln.fontSize,"16px"),On=$t.extend("--ft-typography-subtitle1-font-weight",ln.fontWeight,"600"),Sn=$t.extend("--ft-typography-subtitle1-letter-spacing",ln.letterSpacing,"0.144px"),En=$t.extend("--ft-typography-subtitle1-line-height",ln.lineHeight,"1.5"),kn=$t.extend("--ft-typography-subtitle1-text-transform",ln.textTransform,"inherit"),jn=$t.extend("--ft-typography-subtitle2-font-family",an),Cn=$t.extend("--ft-typography-subtitle2-font-size",ln.fontSize,"14px"),Nn=$t.extend("--ft-typography-subtitle2-font-weight",ln.fontWeight,"normal"),Mn=$t.extend("--ft-typography-subtitle2-letter-spacing",ln.letterSpacing,"0.098px"),Rn=$t.extend("--ft-typography-subtitle2-line-height",ln.lineHeight,"1.7"),An=$t.extend("--ft-typography-subtitle2-text-transform",ln.textTransform,"inherit"),Un=$t.extend("--ft-typography-body1-font-family",an),Pn=$t.extend("--ft-typography-body1-font-size",ln.fontSize,"16px"),Fn=$t.extend("--ft-typography-body1-font-weight",ln.fontWeight,"normal"),In=$t.extend("--ft-typography-body1-letter-spacing",ln.letterSpacing,"0.496px"),Tn=$t.extend("--ft-typography-body1-line-height",ln.lineHeight,"1.5"),Ln=$t.extend("--ft-typography-body1-text-transform",ln.textTransform,"inherit"),zn=$t.extend("--ft-typography-body2-font-family",an),Bn=$t.extend("--ft-typography-body2-font-size",ln.fontSize,"14px"),_n=$t.extend("--ft-typography-body2-font-weight",ln.fontWeight,"normal"),Dn=$t.extend("--ft-typography-body2-letter-spacing",ln.letterSpacing,"0.252px"),Wn=$t.extend("--ft-typography-body2-line-height",ln.lineHeight,"1.4"),Kn=$t.extend("--ft-typography-body2-text-transform",ln.textTransform,"inherit"),Hn=$t.extend("--ft-typography-caption-font-family",an),Zn=$t.extend("--ft-typography-caption-font-size",ln.fontSize,"12px"),qn=$t.extend("--ft-typography-caption-font-weight",ln.fontWeight,"normal"),Vn=$t.extend("--ft-typography-caption-letter-spacing",ln.letterSpacing,"0.396px"),Jn=$t.extend("--ft-typography-caption-line-height",ln.lineHeight,"1.33"),Xn=$t.extend("--ft-typography-caption-text-transform",ln.textTransform,"inherit"),Gn=$t.extend("--ft-typography-breadcrumb-font-family",an),Qn=$t.extend("--ft-typography-breadcrumb-font-size",ln.fontSize,"10px"),Yn=$t.extend("--ft-typography-breadcrumb-font-weight",ln.fontWeight,"normal"),to=$t.extend("--ft-typography-breadcrumb-letter-spacing",ln.letterSpacing,"0.33px"),eo=$t.extend("--ft-typography-breadcrumb-line-height",ln.lineHeight,"1.6"),io=$t.extend("--ft-typography-breadcrumb-text-transform",ln.textTransform,"inherit"),no=$t.extend("--ft-typography-overline-font-family",an),oo=$t.extend("--ft-typography-overline-font-size",ln.fontSize,"10px"),ro=$t.extend("--ft-typography-overline-font-weight",ln.fontWeight,"normal"),so=$t.extend("--ft-typography-overline-letter-spacing",ln.letterSpacing,"1.5px"),ao=$t.extend("--ft-typography-overline-line-height",ln.lineHeight,"1.6"),lo=$t.extend("--ft-typography-overline-text-transform",ln.textTransform,"uppercase"),co={fontFamily:$t.extend("--ft-typography-button-font-family",an),fontSize:$t.extend("--ft-typography-button-font-size",ln.fontSize,"14px"),fontWeight:$t.extend("--ft-typography-button-font-weight",ln.fontWeight,"600"),letterSpacing:$t.extend("--ft-typography-button-letter-spacing",ln.letterSpacing,"1.246px"),lineHeight:$t.extend("--ft-typography-button-line-height",ln.lineHeight,"1.15"),textTransform:$t.extend("--ft-typography-button-text-transform",ln.textTransform,"uppercase")},uo=w`
213
+ `;const Qe=St.extend("--ft-typography-font-family","",kt.titleFont),tr=St.extend("--ft-typography-font-family","",kt.contentFont),or={fontFamily:tr,fontSize:St.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:St.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:St.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:St.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:St.create("--ft-typography-text-transform","","UNKNOWN","inherit")},er=St.extend("--ft-typography-title-font-family","",Qe),rr=St.extend("--ft-typography-title-font-size","",or.fontSize,"20px"),ir=St.extend("--ft-typography-title-font-weight","",or.fontWeight,"normal"),nr=St.extend("--ft-typography-title-letter-spacing","",or.letterSpacing,"0.15px"),ar=St.extend("--ft-typography-title-line-height","",or.lineHeight,"1.2"),sr=St.extend("--ft-typography-title-text-transform","",or.textTransform,"inherit"),lr=St.extend("--ft-typography-title-dense-font-family","",Qe),cr=St.extend("--ft-typography-title-dense-font-size","",or.fontSize,"14px"),fr=St.extend("--ft-typography-title-dense-font-weight","",or.fontWeight,"normal"),pr=St.extend("--ft-typography-title-dense-letter-spacing","",or.letterSpacing,"0.105px"),ur=St.extend("--ft-typography-title-dense-line-height","",or.lineHeight,"1.7"),dr=St.extend("--ft-typography-title-dense-text-transform","",or.textTransform,"inherit"),hr=St.extend("--ft-typography-subtitle1-font-family","",tr),yr=St.extend("--ft-typography-subtitle1-font-size","",or.fontSize,"16px"),gr=St.extend("--ft-typography-subtitle1-font-weight","",or.fontWeight,"600"),br=St.extend("--ft-typography-subtitle1-letter-spacing","",or.letterSpacing,"0.144px"),mr=St.extend("--ft-typography-subtitle1-line-height","",or.lineHeight,"1.5"),vr=St.extend("--ft-typography-subtitle1-text-transform","",or.textTransform,"inherit"),xr=St.extend("--ft-typography-subtitle2-font-family","",tr),Or=St.extend("--ft-typography-subtitle2-font-size","",or.fontSize,"14px"),wr=St.extend("--ft-typography-subtitle2-font-weight","",or.fontWeight,"normal"),Sr=St.extend("--ft-typography-subtitle2-letter-spacing","",or.letterSpacing,"0.098px"),Nr=St.extend("--ft-typography-subtitle2-line-height","",or.lineHeight,"1.7"),Cr=St.extend("--ft-typography-subtitle2-text-transform","",or.textTransform,"inherit"),Er=St.extend("--ft-typography-body1-font-family","",tr),$r=St.extend("--ft-typography-body1-font-size","",or.fontSize,"16px"),Rr=St.extend("--ft-typography-body1-font-weight","",or.fontWeight,"normal"),kr=St.extend("--ft-typography-body1-letter-spacing","",or.letterSpacing,"0.496px"),Ur=St.extend("--ft-typography-body1-line-height","",or.lineHeight,"1.5"),Ir=St.extend("--ft-typography-body1-text-transform","",or.textTransform,"inherit"),Lr=St.extend("--ft-typography-body2-font-family","",tr),Wr=St.extend("--ft-typography-body2-font-size","",or.fontSize,"14px"),jr=St.extend("--ft-typography-body2-font-weight","",or.fontWeight,"normal"),Kr=St.extend("--ft-typography-body2-letter-spacing","",or.letterSpacing,"0.252px"),Fr=St.extend("--ft-typography-body2-line-height","",or.lineHeight,"1.4"),zr=St.extend("--ft-typography-body2-text-transform","",or.textTransform,"inherit"),Zr=St.extend("--ft-typography-caption-font-family","",tr),Ar=St.extend("--ft-typography-caption-font-size","",or.fontSize,"12px"),Mr=St.extend("--ft-typography-caption-font-weight","",or.fontWeight,"normal"),Br=St.extend("--ft-typography-caption-letter-spacing","",or.letterSpacing,"0.396px"),Dr=St.extend("--ft-typography-caption-line-height","",or.lineHeight,"1.33"),Pr=St.extend("--ft-typography-caption-text-transform","",or.textTransform,"inherit"),Hr=St.extend("--ft-typography-breadcrumb-font-family","",tr),Tr=St.extend("--ft-typography-breadcrumb-font-size","",or.fontSize,"10px"),_r=St.extend("--ft-typography-breadcrumb-font-weight","",or.fontWeight,"normal"),Gr=St.extend("--ft-typography-breadcrumb-letter-spacing","",or.letterSpacing,"0.33px"),qr=St.extend("--ft-typography-breadcrumb-line-height","",or.lineHeight,"1.6"),Vr=St.extend("--ft-typography-breadcrumb-text-transform","",or.textTransform,"inherit"),Yr=St.extend("--ft-typography-overline-font-family","",tr),Jr=St.extend("--ft-typography-overline-font-size","",or.fontSize,"10px"),Xr=St.extend("--ft-typography-overline-font-weight","",or.fontWeight,"normal"),Qr=St.extend("--ft-typography-overline-letter-spacing","",or.letterSpacing,"1.5px"),ti=St.extend("--ft-typography-overline-line-height","",or.lineHeight,"1.6"),oi=St.extend("--ft-typography-overline-text-transform","",or.textTransform,"uppercase"),ei={fontFamily:St.extend("--ft-typography-button-font-family","",tr),fontSize:St.extend("--ft-typography-button-font-size","",or.fontSize,"14px"),fontWeight:St.extend("--ft-typography-button-font-weight","",or.fontWeight,"600"),letterSpacing:St.extend("--ft-typography-button-letter-spacing","",or.letterSpacing,"1.246px"),lineHeight:St.extend("--ft-typography-button-line-height","",or.lineHeight,"1.15"),textTransform:St.extend("--ft-typography-button-text-transform","",or.textTransform,"uppercase")},ri=O`
241
214
  .ft-typography--title {
242
- font-family: ${cn};
243
- font-size: ${un};
244
- font-weight: ${fn};
245
- letter-spacing: ${hn};
246
- line-height: ${pn};
247
- text-transform: ${dn};
248
- }
249
- `,fo=w`
215
+ font-family: ${er};
216
+ font-size: ${rr};
217
+ font-weight: ${ir};
218
+ letter-spacing: ${nr};
219
+ line-height: ${ar};
220
+ text-transform: ${sr};
221
+ }
222
+ `,ii=O`
250
223
  .ft-typography--title-dense {
251
- font-family: ${vn};
252
- font-size: ${bn};
253
- font-weight: ${yn};
254
- letter-spacing: ${gn};
255
- line-height: ${mn};
256
- text-transform: ${xn};
257
- }
258
- `,ho=w`
224
+ font-family: ${lr};
225
+ font-size: ${cr};
226
+ font-weight: ${fr};
227
+ letter-spacing: ${pr};
228
+ line-height: ${ur};
229
+ text-transform: ${dr};
230
+ }
231
+ `,ni=O`
259
232
  .ft-typography--subtitle1 {
260
- font-family: ${wn};
261
- font-size: ${$n};
262
- font-weight: ${On};
263
- letter-spacing: ${Sn};
264
- line-height: ${En};
265
- text-transform: ${kn};
266
- }
267
- `,po=w`
233
+ font-family: ${hr};
234
+ font-size: ${yr};
235
+ font-weight: ${gr};
236
+ letter-spacing: ${br};
237
+ line-height: ${mr};
238
+ text-transform: ${vr};
239
+ }
240
+ `,ai=O`
268
241
  .ft-typography--subtitle2 {
269
- font-family: ${jn};
270
- font-size: ${Cn};
271
- font-weight: ${Nn};
272
- letter-spacing: ${Mn};
273
- line-height: ${Rn};
274
- text-transform: ${An};
242
+ font-family: ${xr};
243
+ font-size: ${Or};
244
+ font-weight: ${wr};
245
+ letter-spacing: ${Sr};
246
+ line-height: ${Nr};
247
+ text-transform: ${Cr};
275
248
  }
276
249
 
277
- `,vo=w`
250
+ `,si=O`
278
251
  .ft-typography--body1 {
279
- font-family: ${Un};
280
- font-size: ${Pn};
281
- font-weight: ${Fn};
282
- letter-spacing: ${In};
283
- line-height: ${Tn};
284
- text-transform: ${Ln};
285
- }
286
- `,bo=w`
252
+ font-family: ${Er};
253
+ font-size: ${$r};
254
+ font-weight: ${Rr};
255
+ letter-spacing: ${kr};
256
+ line-height: ${Ur};
257
+ text-transform: ${Ir};
258
+ }
259
+ `,li=O`
287
260
  .ft-typography--body2 {
288
- font-family: ${zn};
289
- font-size: ${Bn};
290
- font-weight: ${_n};
291
- letter-spacing: ${Dn};
292
- line-height: ${Wn};
293
- text-transform: ${Kn};
294
- }
295
- `,yo=w`
261
+ font-family: ${Lr};
262
+ font-size: ${Wr};
263
+ font-weight: ${jr};
264
+ letter-spacing: ${Kr};
265
+ line-height: ${Fr};
266
+ text-transform: ${zr};
267
+ }
268
+ `,ci=O`
296
269
  .ft-typography--caption {
297
- font-family: ${Hn};
298
- font-size: ${Zn};
299
- font-weight: ${qn};
300
- letter-spacing: ${Vn};
301
- line-height: ${Jn};
302
- text-transform: ${Xn};
303
- }
304
- `,go=w`
270
+ font-family: ${Zr};
271
+ font-size: ${Ar};
272
+ font-weight: ${Mr};
273
+ letter-spacing: ${Br};
274
+ line-height: ${Dr};
275
+ text-transform: ${Pr};
276
+ }
277
+ `,fi=O`
305
278
  .ft-typography--breadcrumb {
306
- font-family: ${Gn};
307
- font-size: ${Qn};
308
- font-weight: ${Yn};
309
- letter-spacing: ${to};
310
- line-height: ${eo};
311
- text-transform: ${io};
312
- }
313
- `,mo=w`
279
+ font-family: ${Hr};
280
+ font-size: ${Tr};
281
+ font-weight: ${_r};
282
+ letter-spacing: ${Gr};
283
+ line-height: ${qr};
284
+ text-transform: ${Vr};
285
+ }
286
+ `,pi=O`
314
287
  .ft-typography--overline {
315
- font-family: ${no};
316
- font-size: ${oo};
317
- font-weight: ${ro};
318
- letter-spacing: ${so};
319
- line-height: ${ao};
320
- text-transform: ${lo};
321
- }
322
- `,xo=w`
288
+ font-family: ${Yr};
289
+ font-size: ${Jr};
290
+ font-weight: ${Xr};
291
+ letter-spacing: ${Qr};
292
+ line-height: ${ti};
293
+ text-transform: ${oi};
294
+ }
295
+ `,ui=O`
323
296
  .ft-typography--button {
324
- font-family: ${co.fontFamily};
325
- font-size: ${co.fontSize};
326
- font-weight: ${co.fontWeight};
327
- letter-spacing: ${co.letterSpacing};
328
- line-height: ${co.lineHeight};
329
- text-transform: ${co.textTransform};
330
- }
331
- `,wo=w`
297
+ font-family: ${ei.fontFamily};
298
+ font-size: ${ei.fontSize};
299
+ font-weight: ${ei.fontWeight};
300
+ letter-spacing: ${ei.letterSpacing};
301
+ line-height: ${ei.lineHeight};
302
+ text-transform: ${ei.textTransform};
303
+ }
304
+ `,di=O`
332
305
  .ft-typography {
333
306
  vertical-align: inherit;
334
307
  }
335
- `;var $o=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Oo extends Rt{constructor(){super(...arguments),this.variant=rn.body1}render(){return this.element?on`
336
- <${en(this.element)}
337
- class="ft-typography ft-typography--${this.variant}">
338
- <slot></slot>
339
- </${en(this.element)}>
340
- `:on`
341
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
342
- `}}Oo.styles=[uo,fo,ho,po,vo,bo,yo,go,mo,xo,wo],$o([s()],Oo.prototype,"element",void 0),$o([s()],Oo.prototype,"variant",void 0),p("ft-typography")(Oo);const So={distance:$t.create("--ft-tooltip-distance","SIZE","4px"),color:$t.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:$t.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:$t.create("--ft-tooltip-z-index","NUMBER","100"),borderRadiusS:$t.external(St.borderRadiusS,"Design system"),maxWidth:$t.create("--ft-tooltip-max-width","SIZE","150px")},Eo=w`
343
- .ft-tooltip--container {
344
- display: block;
345
- }
346
-
347
- .ft-tooltip--inline {
348
- display: inline-block;
349
- max-width: 100%;
350
- }
351
-
352
- .ft-tooltip {
353
- position: absolute;
354
- box-sizing: border-box;
355
- overflow: hidden;
356
- width: max-content;
357
- max-width: ${So.maxWidth};
358
- text-align: center;
359
- padding: ${So.distance};
360
- z-index: ${So.zIndex};
361
- }
362
-
363
- .ft-tooltip--content {
364
- padding: 4px 8px;
365
- border-radius: ${So.borderRadiusS};
366
- background-color: ${So.backgroundColor};
367
- color: ${So.color};
368
- position: relative;
369
- word-break: break-word;
370
- }
371
- `;var ko=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class jo extends Rt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return tt`
372
- <div part="container"
373
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
374
- @mouseenter=${this.onHover}
375
- @mouseleave=${this.onOut}
376
- @focusin=${this.onHover}
377
- @focusout=${this.onOut}
378
- @touchstart=${this.onTouch}>
379
- <slot></slot>
380
- <div part="tooltip" role="tooltip" inert
381
- class="ft-tooltip ft-tooltip--${this.validPosition}"
382
- ?hidden=${!this.visible}>
383
- <div part="tooltip-content" class="ft-tooltip--content">
384
- <slot name="text"></slot>
385
- <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
386
- </div>
387
- </div>
388
- </div>
389
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,n=(t.offsetHeight-i)/2,o=(t.offsetWidth-e)/2;let r=0,s=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":s=t.offsetTop-i-this.tooltip.offsetTop,r=t.offsetLeft+o-this.tooltip.offsetLeft;break;case"bottom":s=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,r=t.offsetLeft+o-this.tooltip.offsetLeft;break;case"left":s=t.offsetTop+n-this.tooltip.offsetTop,r=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":s=t.offsetTop+n-this.tooltip.offsetTop,r=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=r+"px",a.top=s+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,u=l.x+l.width-window.innerWidth;a.left=r+Math.round(this.correctOutOfWindowPixels(c,u))+"px";let f=-l.y,h=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(f,h))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${So.maxWidth})`}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))}}jo.elementDefinitions={"ft-typography":Oo},jo.styles=Eo,ko([s()],jo.prototype,"text",void 0),ko([s({type:Boolean})],jo.prototype,"manual",void 0),ko([s({type:Boolean})],jo.prototype,"inline",void 0),ko([s({type:Number})],jo.prototype,"delay",void 0),ko([s()],jo.prototype,"position",void 0),ko([
390
- /**
391
- * @license
392
- * Copyright 2017 Google LLC
393
- * SPDX-License-Identifier: BSD-3-Clause
394
- */
395
- function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return l({descriptor:n=>({get(){var n;const o="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(o),s=null!=r?f(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:o,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(o?`[name=${o}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],jo.prototype,"slotNodes",void 0),ko([c(".ft-tooltip--container")],jo.prototype,"container",void 0),ko([c(".ft-tooltip")],jo.prototype,"tooltip",void 0),ko([c(".ft-tooltip--content")],jo.prototype,"tooltipContent",void 0),ko([a()],jo.prototype,"visible",void 0),p("ft-tooltip")(jo);const Co={color:$t.extend("--ft-loader-color",St.colorPrimary),size:$t.create("--ft-loader-size","SIZE","80px")},No=w`
308
+ `,hi=[Object.keys(Et).map((t=>function(t){const o=Et[t];return O`
309
+ font-family: ${o.fontFamily};
310
+ font-size: ${o.fontSize};
311
+ font-weight: ${o.fontWeight};
312
+ letter-spacing: ${o.letterSpacing};
313
+ line-height: ${o.lineHeight};
314
+ text-transform: ${o.textCase};
315
+ `}(t)))],yi={color:St.extend("--ft-loader-color","",kt.colorPrimary),size:St.create("--ft-loader-size","","SIZE","80px")},gi=O`
396
316
  :host {
397
317
  line-height: 0;
398
318
  }
@@ -401,8 +321,8 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
401
321
  display: inline-block;
402
322
  position: relative;
403
323
 
404
- width: ${Co.size};
405
- height: ${Co.size};
324
+ width: ${yi.size};
325
+ height: ${yi.size};
406
326
  }
407
327
 
408
328
  .ft-loader div {
@@ -411,7 +331,7 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
411
331
  width: 25%;
412
332
  height: 25%;
413
333
  border-radius: 50%;
414
- background: ${Co.color};
334
+ background: ${yi.color};
415
335
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
416
336
  }
417
337
 
@@ -458,23 +378,10 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
458
378
  transform: translate(0, 0);
459
379
  }
460
380
  100% {
461
- transform: translate(calc(0.35 * ${Co.size}), 0);
381
+ transform: translate(calc(0.35 * ${yi.size}), 0);
462
382
  }
463
383
  }
464
- `;class Mo extends Rt{render(){return tt`
465
- <div class="ft-loader">
466
- <div></div>
467
- <div></div>
468
- <div></div>
469
- <div></div>
470
- </div>
471
- `}}Mo.styles=No,p("ft-loader")(Mo);
472
- /**
473
- * @license
474
- * Copyright 2017 Google LLC
475
- * SPDX-License-Identifier: BSD-3-Clause
476
- */
477
- class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||null==t)return this.ft=void 0,this.et=t;if(t===et)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:[]}}}Ro.directiveName="unsafeHTML",Ro.resultType=1;const Ao=zi(Ro);var Uo,Po;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Uo||(Uo={})),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;"}(Po||(Po={}));const Fo=new Map([...["abw"].map((t=>[t,Po.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,Po.AUDIO])),...["avi"].map((t=>[t,Po.AVI])),...["chm","xhs"].map((t=>[t,Po.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,Po.CODE])),...["csv"].map((t=>[t,Po.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Po.DITA])),...["epub"].map((t=>[t,Po.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Po.EXCEL])),...["flac"].map((t=>[t,Po.FLAC])),...["gif"].map((t=>[t,Po.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Po.GZIP])),...["html","htm","xhtml"].map((t=>[t,Po.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,Po.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Po.JPEG])),...["json"].map((t=>[t,Po.JSON])),...["m4a","m4p"].map((t=>[t,Po.M4A])),...["mov","qt"].map((t=>[t,Po.MOV])),...["mp3"].map((t=>[t,Po.MP3])),...["mp4","m4v"].map((t=>[t,Po.MP4])),...["ogg","oga"].map((t=>[t,Po.OGG])),...["pdf","ps"].map((t=>[t,Po.PDF])),...["png"].map((t=>[t,Po.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Po.POWERPOINT])),...["rar"].map((t=>[t,Po.RAR])),...["stp"].map((t=>[t,Po.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Po.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,Po.VIDEO])),...["wav"].map((t=>[t,Po.WAV])),...["wma"].map((t=>[t,Po.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Po.WORD])),...["xml","xsl","rdf"].map((t=>[t,Po.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Po.YAML])),...["zip"].map((t=>[t,Po.ZIP]))]),Io=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);const To={size:$t.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:$t.extend("--ft-icon-fluid-topics-font-family",$t.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:$t.extend("--ft-icon-file-format-font-family",$t.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:$t.extend("--ft-icon-material-font-family",$t.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:$t.create("--ft-icon-vertical-align","UNKNOWN","unset")},Lo=w`
384
+ `,bi={size:St.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:St.extend("--ft-icon-fluid-topics-font-family","",St.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:St.extend("--ft-icon-file-format-font-family","",St.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:St.extend("--ft-icon-material-font-family","",St.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:St.create("--ft-icon-vertical-align","","UNKNOWN","unset")},mi=O`
478
385
  :host, i.ft-icon {
479
386
  display: inline-flex;
480
387
  align-items: center;
@@ -483,14 +390,14 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
483
390
  }
484
391
 
485
392
  :host {
486
- width: ${To.size};
487
- height: ${To.size};
393
+ width: ${bi.size};
394
+ height: ${bi.size};
488
395
  }
489
396
 
490
397
  i.ft-icon {
491
398
  width: 100%;
492
399
  height: 100%;
493
- font-size: ${To.size};
400
+ font-size: ${bi.size};
494
401
  line-height: 1;
495
402
  font-weight: normal;
496
403
  text-transform: none;
@@ -501,33 +408,28 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
501
408
  text-rendering: auto;
502
409
  -webkit-font-smoothing: antialiased;
503
410
  -moz-osx-font-smoothing: grayscale;
504
- vertical-align: ${To.verticalAlign};
411
+ vertical-align: ${bi.verticalAlign};
505
412
  }
506
413
 
507
414
  i.ft-icon.ft-icon--fluid-topics {
508
- font-family: ${To.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
415
+ font-family: ${bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
509
416
 
510
417
  /* Ugly fix because font is broken */
511
- font-size: calc(0.75 * ${To.size});
512
- line-height: ${To.size};
418
+ font-size: calc(0.75 * ${bi.size});
419
+ line-height: ${bi.size};
513
420
  position: relative;
514
421
  top: -4%;
515
422
  justify-content: center;
516
423
  }
517
424
 
518
425
  .ft-icon--file-format {
519
- font-family: ${To.fileFormatFontFamily}, ft-mime, sans-serif;
426
+ font-family: ${bi.fileFormatFontFamily}, ft-mime, sans-serif;
520
427
  }
521
428
 
522
429
  .ft-icon--material {
523
- font-family: ${To.materialFontFamily}, "Material Icons", sans-serif;
430
+ font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
524
431
  }
525
- `;var zo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(zo||(zo={}));var Bo=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class _o extends Rt{constructor(){super(...arguments),this.resolvedIcon=it}render(){const t=this.variant&&Object.values(zo).includes(this.variant)?this.variant:zo.fluid_topics,e=t!==zo.material||!!this.value;return tt`
526
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
527
- ${Ao(this.resolvedIcon)}
528
- <slot ?hidden=${e}></slot>
529
- </i>
530
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case zo.file_format:this.resolvedIcon=null!==(t=Po[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case zo.material:this.resolvedIcon=this.value||it;break;default:this.resolvedIcon=null!==(e=Uo[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_o.elementDefinitions={},_o.styles=Lo,Bo([s()],_o.prototype,"variant",void 0),Bo([s()],_o.prototype,"value",void 0),Bo([a()],_o.prototype,"resolvedIcon",void 0),Bo([c("slot")],_o.prototype,"slottedContent",void 0),p("ft-icon")(_o);const Do=$t.extend("--ft-button-color",St.colorPrimary),Wo={backgroundColor:$t.extend("--ft-button-background-color",St.colorSurface),borderRadius:$t.extend("--ft-button-border-radius",St.borderRadiusL),color:Do,fontSize:$t.extend("--ft-button-font-size",co.fontSize),iconSize:$t.create("--ft-button-icon-size","SIZE","24px"),rippleColor:$t.extend("--ft-button-ripple-color",Do),verticalPadding:$t.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:$t.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:$t.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:$t.external(St.colorOpacityDisabled,"Design system")},Ko=$t.extend("--ft-button-primary-color",$t.extend("--ft-button-color",St.colorOnPrimary)),Ho={backgroundColor:$t.extend("--ft-button-primary-background-color",$t.extend("--ft-button-background-color",St.colorPrimary)),color:Ko,rippleColor:$t.extend("--ft-button-primary-ripple-color",Ko)},Zo=$t.extend("--ft-button-dense-border-radius",$t.extend("--ft-button-border-radius",St.borderRadiusM)),qo=$t.create("--ft-button-dense-vertical-padding","SIZE","2px"),Vo=$t.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Jo=$t.create("--ft-button-dense-icon-padding","SIZE","4px"),Xo=[w`
432
+ `,vi=St.extend("--ft-button-color","",kt.colorPrimary),xi={backgroundColor:St.extend("--ft-button-background-color","",kt.colorSurface),borderRadius:St.extend("--ft-button-border-radius","",kt.borderRadiusL),color:vi,fontSize:St.extend("--ft-button-font-size","",ei.fontSize),iconSize:St.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:St.extend("--ft-button-ripple-color","",vi),verticalPadding:St.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:St.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:St.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:St.external(kt.colorOpacityDisabled,"Design system")},Oi=St.extend("--ft-button-primary-color","",St.extend("--ft-button-color","",kt.colorOnPrimary)),wi={backgroundColor:St.extend("--ft-button-primary-background-color","",St.extend("--ft-button-background-color","",kt.colorPrimary)),color:Oi,rippleColor:St.extend("--ft-button-primary-ripple-color","",Oi)},Si=St.extend("--ft-button-dense-border-radius","",St.extend("--ft-button-border-radius","",kt.borderRadiusM)),Ni=St.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ci=St.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ei=St.create("--ft-button-dense-icon-padding","","SIZE","4px"),$i=[O`
531
433
  :host {
532
434
  display: inline-block;
533
435
  max-width: 100%;
@@ -538,7 +440,7 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
538
440
  box-shadow: 0px 0px 0px transparent;
539
441
  border: 0px solid transparent;
540
442
  text-shadow: 0px 0px 0px transparent;
541
- font-size: ${Wo.fontSize};
443
+ font-size: ${xi.fontSize};
542
444
  }
543
445
 
544
446
  button:hover {
@@ -567,31 +469,31 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
567
469
  border: none;
568
470
  pointer-events: auto;
569
471
 
570
- --ft-button-internal-line-height: max(calc(${Wo.fontSize} + 2px), ${Wo.iconSize});
571
- --ft-button-internal-color: ${Wo.color};
572
- ${Ot(To.size,Wo.iconSize)};
573
- ${Ot(Wi.color,Wo.rippleColor)};
472
+ --ft-button-internal-line-height: max(calc(${xi.fontSize} + 2px), ${xi.iconSize});
473
+ --ft-button-internal-color: ${xi.color};
474
+ ${Nt(bi.size,xi.iconSize)};
475
+ ${Nt(Te.color,xi.rippleColor)};
574
476
 
575
- border-radius: ${Wo.borderRadius};
576
- padding: ${Wo.verticalPadding} ${Wo.horizontalPadding};
577
- background-color: ${Wo.backgroundColor};
477
+ border-radius: ${xi.borderRadius};
478
+ padding: ${xi.verticalPadding} ${xi.horizontalPadding};
479
+ background-color: ${xi.backgroundColor};
578
480
  color: var(--ft-button-internal-color);
579
481
  -webkit-mask-image: radial-gradient(white, black);
580
482
  }
581
483
 
582
484
  .ft-button.ft-button--outlined {
583
485
  border: 1px solid var(--ft-button-internal-color);
584
- padding: calc(${Wo.verticalPadding} - 1px) calc(${Wo.horizontalPadding} - 1px);
486
+ padding: calc(${xi.verticalPadding} - 1px) calc(${xi.horizontalPadding} - 1px);
585
487
  }
586
488
 
587
489
  .ft-button.ft-button--dense {
588
- padding: ${qo} ${Vo};
589
- border-radius: ${Zo};
590
- gap: ${Jo};
490
+ padding: ${Ni} ${Ci};
491
+ border-radius: ${Si};
492
+ gap: ${Ei};
591
493
  }
592
494
 
593
495
  .ft-button.ft-button--dense.ft-button--outlined {
594
- padding: calc(${qo} - 1px) calc(${Vo} - 1px);
496
+ padding: calc(${Ni} - 1px) calc(${Ci} - 1px);
595
497
  }
596
498
 
597
499
  .ft-button:not([disabled]):hover {
@@ -599,22 +501,22 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
599
501
  }
600
502
 
601
503
  .ft-button--round {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wo.verticalPadding});
504
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xi.verticalPadding});
603
505
  }
604
506
 
605
507
  .ft-button--round.ft-button--dense {
606
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qo});
508
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ni});
607
509
  }
608
510
 
609
511
  .ft-button[disabled] {
610
512
  filter: grayscale(1);
611
- opacity: ${Wo.opacityDisabled};
513
+ opacity: ${xi.opacityDisabled};
612
514
  }
613
515
 
614
516
  .ft-button.ft-button--primary {
615
- background-color: ${Ho.backgroundColor};
616
- --ft-button-internal-color: ${Ho.color};
617
- ${Ot(Wi.color,Ho.rippleColor)};
517
+ background-color: ${wi.backgroundColor};
518
+ --ft-button-internal-color: ${wi.color};
519
+ ${Nt(Te.color,wi.rippleColor)};
618
520
  }
619
521
 
620
522
  .ft-button:focus {
@@ -627,13 +529,13 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
627
529
  white-space: nowrap;
628
530
  text-overflow: ellipsis;
629
531
  display: block;
630
- margin: 0 ${Wo.iconPadding};
631
- ${Ot(co.fontSize,"1em")};
632
- ${Ot(co.lineHeight,"var(--ft-button-internal-line-height)")};
532
+ margin: 0 ${xi.iconPadding};
533
+ ${Nt(ei.fontSize,"1em")};
534
+ ${Nt(ei.lineHeight,"var(--ft-button-internal-line-height)")};
633
535
  }
634
536
 
635
537
  .ft-button--dense .ft-button--label {
636
- margin: 0 ${Jo};
538
+ margin: 0 ${Ei};
637
539
  }
638
540
 
639
541
  .ft-button--label[hidden] {
@@ -646,13 +548,13 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
646
548
  }
647
549
 
648
550
  .ft-button--label[hidden] + ft-icon {
649
- margin: 0 calc(${Wo.horizontalPadding} * -1);
650
- padding: 0 ${Wo.verticalPadding};
551
+ margin: 0 calc(${xi.horizontalPadding} * -1);
552
+ padding: 0 ${xi.verticalPadding};
651
553
  }
652
554
 
653
555
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
654
- margin: 0 calc(${Vo} * -1);
655
- padding: 0 ${qo};
556
+ margin: 0 calc(${Ci} * -1);
557
+ padding: 0 ${Ni};
656
558
  }
657
559
 
658
560
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -661,33 +563,351 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
661
563
  }
662
564
 
663
565
  ft-loader {
664
- ${Ot(Co.size,Wo.iconSize)};
665
- ${Ot(Co.color,"var(--ft-button-internal-color)")};
566
+ ${Nt(yi.size,xi.iconSize)};
567
+ ${Nt(yi.color,"var(--ft-button-internal-color)")};
666
568
  }
667
- `,At];var Go=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Qo extends Rt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(tt`
569
+ `,zt],Ri=1,ki=2,Ui=t=>(...o)=>({_$litDirective$:t,values:o});class Ii{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
570
+ /**
571
+ * @license
572
+ * Copyright 2018 Google LLC
573
+ * SPDX-License-Identifier: BSD-3-Clause
574
+ */const Li=Ui(class extends Ii{constructor(t){var o;if(super(t),t.type!==Ri||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.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((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;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 o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return ot}});var Wi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends Ft{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 i(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 i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 tt`
575
+ <style>
576
+ .ft-ripple .ft-ripple--effect {
577
+ left: ${this.originX}px;
578
+ top: ${this.originY}px;
579
+ }
580
+ </style>
581
+ <div class="${Li(t)}">
582
+ <div class="ft-ripple--background"></div>
583
+ <div class="ft-ripple--effect"></div>
584
+ </div>
585
+ `}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 o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}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 o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),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",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),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 o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ji.elementDefinitions={},ji.styles=Xe,Wi([a({type:Boolean})],ji.prototype,"primary",void 0),Wi([a({type:Boolean})],ji.prototype,"secondary",void 0),Wi([a({type:Boolean})],ji.prototype,"unbounded",void 0),Wi([a({type:Boolean})],ji.prototype,"activated",void 0),Wi([a({type:Boolean})],ji.prototype,"selected",void 0),Wi([a({type:Boolean})],ji.prototype,"disabled",void 0),Wi([s()],ji.prototype,"hovered",void 0),Wi([s()],ji.prototype,"focused",void 0),Wi([s()],ji.prototype,"pressed",void 0),Wi([s()],ji.prototype,"rippling",void 0),Wi([s()],ji.prototype,"originX",void 0),Wi([s()],ji.prototype,"originY",void 0),Wi([c(".ft-ripple")],ji.prototype,"ripple",void 0),Wi([c(".ft-ripple--effect")],ji.prototype,"rippleEffect",void 0),d("ft-ripple")(ji);
586
+ /**
587
+ * @license
588
+ * Copyright 2020 Google LLC
589
+ * SPDX-License-Identifier: BSD-3-Clause
590
+ */
591
+ const Ki=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===Ki)return null==t?void 0:t._$litStatic$},zi=t=>({_$litStatic$:t,r:Ki}),Zi=new Map,Ai=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Fi(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Zi.get(t))&&(a.raw=a,Zi.set(t,o=a)),e=s}return t(o,...e)})(tt);var Mi;!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"}(Mi||(Mi={}));var Bi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Di extends Ft{constructor(){super(...arguments),this.variant=Mi.body1}render(){return this.element?Ai`
592
+ <${zi(this.element)}
593
+ class="ft-typography ft-typography--${this.variant}">
594
+ <slot></slot>
595
+ </${zi(this.element)}>
596
+ `:Ai`
597
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
598
+ `}}Di.styles=[ri,ii,ni,ai,si,li,ci,fi,pi,ui,di,...hi],Bi([a()],Di.prototype,"element",void 0),Bi([a()],Di.prototype,"variant",void 0),d("ft-typography")(Di);const Pi={distance:St.create("--ft-tooltip-distance","","SIZE","4px"),color:St.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:St.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:St.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:St.external(kt.borderRadiusS,"Design system"),maxWidth:St.create("--ft-tooltip-max-width","","SIZE","150px")},Hi=O`
599
+ .ft-tooltip--container {
600
+ display: block;
601
+ }
602
+
603
+ .ft-tooltip--inline {
604
+ display: inline-block;
605
+ max-width: 100%;
606
+ }
607
+
608
+ .ft-tooltip {
609
+ position: absolute;
610
+ box-sizing: border-box;
611
+ overflow: hidden;
612
+ width: max-content;
613
+ max-width: ${Pi.maxWidth};
614
+ text-align: center;
615
+ padding: ${Pi.distance};
616
+ z-index: ${Pi.zIndex};
617
+ }
618
+
619
+ .ft-tooltip--content {
620
+ padding: 4px 8px;
621
+ border-radius: ${Pi.borderRadiusS};
622
+ background-color: ${Pi.backgroundColor};
623
+ color: ${Pi.color};
624
+ position: relative;
625
+ word-break: break-word;
626
+ }
627
+ `;var Ti=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _i extends Ft{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 i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return tt`
628
+ <div part="container"
629
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
630
+ @mouseenter=${this.onHover}
631
+ @mouseleave=${this.onOut}
632
+ @focusin=${this.onHover}
633
+ @focusout=${this.onOut}
634
+ @touchstart=${this.onTouch}>
635
+ <slot></slot>
636
+ <div part="tooltip" role="tooltip" inert
637
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
638
+ ?hidden=${!this.visible}>
639
+ <div part="tooltip-content" class="ft-tooltip--content">
640
+ <slot name="text"></slot>
641
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
642
+ </div>
643
+ </div>
644
+ </div>
645
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&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 o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-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 p=-l.y,u=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,u))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Pi.maxWidth})`}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,o){return Math.max(t,Math.min(0,-o))}}_i.elementDefinitions={"ft-typography":Di},_i.styles=Hi,Ti([a()],_i.prototype,"text",void 0),Ti([a({type:Boolean})],_i.prototype,"manual",void 0),Ti([a({type:Boolean})],_i.prototype,"inline",void 0),Ti([a({type:Number})],_i.prototype,"delay",void 0),Ti([a()],_i.prototype,"position",void 0),Ti([
646
+ /**
647
+ * @license
648
+ * Copyright 2017 Google LLC
649
+ * SPDX-License-Identifier: BSD-3-Clause
650
+ */
651
+ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return l({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?p(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):l({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],_i.prototype,"slotNodes",void 0),Ti([c(".ft-tooltip--container")],_i.prototype,"container",void 0),Ti([c(".ft-tooltip")],_i.prototype,"tooltip",void 0),Ti([c(".ft-tooltip--content")],_i.prototype,"tooltipContent",void 0),Ti([s()],_i.prototype,"visible",void 0),d("ft-tooltip")(_i);
652
+ /**
653
+ * @license
654
+ * Copyright 2017 Google LLC
655
+ * SPDX-License-Identifier: BSD-3-Clause
656
+ */
657
+ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===ot)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 o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Gi.directiveName="unsafeHTML",Gi.resultType=1;const qi=Ui(Gi);var Vi,Yi;!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;"}(Vi||(Vi={})),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;"}(Yi||(Yi={}));const Ji=new Map([...["abw"].map((t=>[t,Yi.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,Yi.AUDIO])),...["avi"].map((t=>[t,Yi.AVI])),...["chm","xhs"].map((t=>[t,Yi.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,Yi.CODE])),...["csv"].map((t=>[t,Yi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yi.DITA])),...["epub"].map((t=>[t,Yi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yi.EXCEL])),...["flac"].map((t=>[t,Yi.FLAC])),...["gif"].map((t=>[t,Yi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yi.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,Yi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yi.JPEG])),...["json"].map((t=>[t,Yi.JSON])),...["m4a","m4p"].map((t=>[t,Yi.M4A])),...["mov","qt"].map((t=>[t,Yi.MOV])),...["mp3"].map((t=>[t,Yi.MP3])),...["mp4","m4v"].map((t=>[t,Yi.MP4])),...["ogg","oga"].map((t=>[t,Yi.OGG])),...["pdf","ps"].map((t=>[t,Yi.PDF])),...["png"].map((t=>[t,Yi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yi.POWERPOINT])),...["rar"].map((t=>[t,Yi.RAR])),...["stp"].map((t=>[t,Yi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yi.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,Yi.VIDEO])),...["wav"].map((t=>[t,Yi.WAV])),...["wma"].map((t=>[t,Yi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yi.YAML])),...["zip"].map((t=>[t,Yi.ZIP]))]),Xi=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Qi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qi||(Qi={}));var tn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends Ft{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(Qi).includes(this.variant)?this.variant:Qi.fluid_topics,o=t!==Qi.material||!!this.value;return tt`
658
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
659
+ ${qi(this.resolvedIcon)}
660
+ <slot ?hidden=${o}></slot>
661
+ </i>
662
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Qi.file_format:this.resolvedIcon=null!==(t=Yi[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Qi.material:this.resolvedIcon=this.value||et;break;default:this.resolvedIcon=null!==(o=Vi[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}on.elementDefinitions={},on.styles=mi,tn([a()],on.prototype,"variant",void 0),tn([a()],on.prototype,"value",void 0),tn([s()],on.prototype,"resolvedIcon",void 0),tn([c("slot")],on.prototype,"slottedContent",void 0),d("ft-icon")(on);class en extends Ft{render(){return tt`
663
+ <div class="ft-loader">
664
+ <div></div>
665
+ <div></div>
666
+ <div></div>
667
+ <div></div>
668
+ </div>
669
+ `}}en.styles=gi,d("ft-loader")(en);var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ae].form}constructor(...t){super(t),this[Ae]=this.attachInternals(),this[Ae].role=o}setFormValue(t){this[Ae].setFormValue(t)}}}(Ft,"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 o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(tt`
668
670
  <button part="button"
669
- class="${_i(t)}"
671
+ class="${Li(this.buttonClasses)}"
670
672
  aria-label="${this.getLabel()}"
671
673
  ?disabled=${this.isDisabled()}>
672
674
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
673
675
  <ft-typography part="label"
674
- variant="button"
676
+ variant=${this.typographyVariant}
675
677
  element="span"
676
- class="ft-button--label ${Ii?"ft-safari-ellipsis-fix":""}"
678
+ class="ft-button--label ${Pe?"ft-safari-ellipsis-fix":""}"
677
679
  ?hidden=${!this.hasTextContent()}>
678
680
  <slot @slotchange=${this.onSlotchange}></slot>
679
681
  </ft-typography>
680
682
  ${this.resolveIcon()}
681
683
  </button>
682
684
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?tt`
683
- <ft-tooltip part="tooltip"
684
- text="${this.getLabel()}"
685
- position="${this.tooltipPosition}">
686
- ${t}
687
- </ft-tooltip>
685
+ <ft-tooltip part="tooltip"
686
+ text="${this.getLabel()}"
687
+ position="${this.tooltipPosition}">
688
+ ${t}
689
+ </ft-tooltip>
688
690
  `:t}resolveIcon(){return this.loading?tt`
689
691
  <ft-loader part="loader icon"></ft-loader> `:this.icon?tt`
690
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:it}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}}Qo.elementDefinitions={"ft-ripple":Qi,"ft-tooltip":jo,"ft-typography":Oo,"ft-icon":_o,"ft-loader":Mo},Qo.styles=[Pt,Xo],Go([s({type:String,reflect:!0})],Qo.prototype,"role",void 0),Go([s({type:Boolean})],Qo.prototype,"primary",void 0),Go([s({type:Boolean})],Qo.prototype,"outlined",void 0),Go([s({type:Boolean})],Qo.prototype,"disabled",void 0),Go([s({type:Boolean})],Qo.prototype,"dense",void 0),Go([s({type:Boolean})],Qo.prototype,"round",void 0),Go([s()],Qo.prototype,"label",void 0),Go([s()],Qo.prototype,"icon",void 0),Go([s()],Qo.prototype,"iconVariant",void 0),Go([s({type:Boolean})],Qo.prototype,"trailingIcon",void 0),Go([s({type:Boolean})],Qo.prototype,"loading",void 0),Go([s()],Qo.prototype,"tooltipPosition",void 0),Go([s({type:Boolean})],Qo.prototype,"hideTooltip",void 0),Go([s({type:Boolean})],Qo.prototype,"forceTooltip",void 0),Go([c(".ft-button")],Qo.prototype,"button",void 0),Go([c(".ft-button--label slot")],Qo.prototype,"slottedContent",void 0),p("ft-button")(Qo);const Yo={height:$t.create("--ft-search-input-height","SIZE","38px"),borderRadius:$t.extend("--ft-search-input-border-radius",St.borderRadiusS),desktopFiltersHeight:$t.create("--ft-search-input-desktop-filters-height","SIZE","350px"),floatingZIndex:$t.create("--ft-search-input-floating-components-z-index","NUMBER","3"),colorSurface:$t.external(St.colorSurface,"Design system"),colorOnSurface:$t.external(St.colorOnSurface,"Design system"),colorOnSurfaceMedium:$t.external(St.colorOnSurfaceMedium,"Design system"),colorOutline:$t.external(St.colorOutline,"Design system"),colorPrimary:$t.external(St.colorPrimary,"Design system"),elevation02:$t.external(St.elevation02,"Design system"),buttonColor:$t.external(Wo.color,"Button"),buttonRippleColor:$t.external(Wo.rippleColor,"Button")},tr=w`
692
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}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}}nn.elementDefinitions={"ft-ripple":ji,"ft-tooltip":_i,"ft-typography":Di,"ft-icon":on,"ft-loader":en},rn([a({type:String,reflect:!0})],nn.prototype,"role",void 0),rn([a()],nn.prototype,"type",void 0),rn([a({type:Boolean})],nn.prototype,"disabled",void 0),rn([a()],nn.prototype,"label",void 0),rn([a()],nn.prototype,"icon",void 0),rn([a()],nn.prototype,"iconVariant",void 0),rn([a({type:Boolean})],nn.prototype,"trailingIcon",void 0),rn([a({type:Boolean})],nn.prototype,"loading",void 0),rn([a()],nn.prototype,"tooltipPosition",void 0),rn([a({type:Boolean})],nn.prototype,"hideTooltip",void 0),rn([a({type:Boolean})],nn.prototype,"forceTooltip",void 0),rn([c(".ft-button")],nn.prototype,"button",void 0),rn([c(".ft-button--label slot")],nn.prototype,"slottedContent",void 0);var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends nn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}sn.styles=[At,$i],an([a({type:Boolean})],sn.prototype,"primary",void 0),an([a({type:Boolean})],sn.prototype,"outlined",void 0),an([a({type:Boolean})],sn.prototype,"disabled",void 0),an([a({type:Boolean})],sn.prototype,"dense",void 0),an([a({type:Boolean})],sn.prototype,"round",void 0);const ln=[O`
693
+ :host {
694
+ display: inline-block;
695
+ max-width: 100%;
696
+ pointer-events: none;
697
+ }
698
+
699
+ /** Remove default button styles **/
700
+
701
+ button {
702
+ box-shadow: 0 0 0 transparent;
703
+ border: 0 solid transparent;
704
+ text-shadow: 0 0 0 transparent;
705
+ }
706
+
707
+ button:hover {
708
+ box-shadow: 0 0 0 transparent;
709
+ text-shadow: 0 0 0 transparent;
710
+ }
711
+
712
+ button:active {
713
+ outline: none;
714
+ }
715
+
716
+ button:focus {
717
+ outline: 0;
718
+ }
719
+
720
+ /** Base styles **/
721
+
722
+ .ft-button {
723
+ position: relative;
724
+ display: flex;
725
+ justify-content: center;
726
+ align-items: center;
727
+ width: 100%;
728
+ overflow: hidden;
729
+ box-sizing: border-box;
730
+ pointer-events: auto;
731
+ }
732
+
733
+ .ft-button:not([disabled]):hover {
734
+ cursor: pointer;
735
+ }
736
+
737
+ .ft-button:focus {
738
+ outline: none;
739
+ }
740
+
741
+ .ft-button:focus-visible {
742
+ outline-color: ${Rt.focusFocusRingColor};
743
+ outline-style: solid;
744
+ }
745
+
746
+ ft-icon {
747
+ flex-shrink: 0;
748
+ position: relative;
749
+ }
750
+
751
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
752
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
753
+ order: -1;
754
+ }
755
+
756
+ .ft-button--label {
757
+ position: relative;
758
+ overflow: hidden;
759
+ white-space: nowrap;
760
+ text-overflow: ellipsis;
761
+ display: block;
762
+ }
763
+
764
+ .ft-button--label[hidden] {
765
+ display: none;
766
+ }
767
+
768
+ /** Primary styles **/
769
+
770
+ .ft-button--primary {
771
+ ${Nt(yi.color,Rt.primaryIconColor)};
772
+
773
+ ${Nt(Te.color,Rt.primaryStateLayerColor)};
774
+ ${Nt(Te.opacityContentOnSurfaceHover,Rt.primaryStateLayerOpacityHover)};
775
+ ${Nt(Te.opacityContentOnSurfaceFocused,Rt.primaryStateLayerOpacityFocus)};
776
+ ${Nt(Te.opacityContentOnSurfaceSelected,Rt.primaryStateLayerOpacityActive)};
777
+ ${Nt(Te.opacityContentOnSurfacePressed,Rt.primaryStateLayerOpacityActive)};
778
+
779
+ background-color: ${Rt.primaryBackgroundColor};
780
+ color: ${Rt.primaryColor};
781
+ border-style: none;
782
+ }
783
+
784
+ .ft-button--primary[disabled] {
785
+ opacity: ${Rt.primaryComponentOpacityDisabled};
786
+ }
787
+
788
+ .ft-button--primary ft-icon {
789
+ color: ${Rt.primaryIconColor};
790
+ }
791
+
792
+ /** Secondary styles **/
793
+
794
+ .ft-button--secondary {
795
+ ${Nt(yi.color,Rt.secondaryIconColor)};
796
+
797
+ ${Nt(Te.color,Rt.secondaryStateLayerColor)};
798
+ ${Nt(Te.opacityContentOnSurfaceHover,Rt.secondaryStateLayerOpacityHover)};
799
+ ${Nt(Te.opacityContentOnSurfaceFocused,Rt.secondaryStateLayerOpacityFocus)};
800
+ ${Nt(Te.opacityContentOnSurfaceSelected,Rt.secondaryStateLayerOpacityActive)};
801
+ ${Nt(Te.opacityContentOnSurfacePressed,Rt.secondaryStateLayerOpacityActive)};
802
+
803
+ background-color: ${Rt.secondaryBackgroundColor};
804
+ color: ${Rt.secondaryColor};
805
+ border-color: ${Rt.secondaryBorderColor};
806
+ border-style: solid;
807
+ }
808
+
809
+ .ft-button--secondary[disabled] {
810
+ opacity: ${Rt.secondaryComponentOpacityDisabled};
811
+ }
812
+
813
+ .ft-button--secondary ft-icon {
814
+ color: ${Rt.secondaryIconColor};
815
+ }
816
+
817
+ /** Tertiary styles **/
818
+
819
+ .ft-button--tertiary {
820
+ ${Nt(yi.color,Rt.tertiaryIconColor)};
821
+
822
+ ${Nt(Te.color,Rt.tertiaryStateLayerColor)};
823
+ ${Nt(Te.opacityContentOnSurfaceHover,Rt.tertiaryStateLayerOpacityHover)};
824
+ ${Nt(Te.opacityContentOnSurfaceFocused,Rt.tertiaryStateLayerOpacityFocus)};
825
+ ${Nt(Te.opacityContentOnSurfaceSelected,Rt.tertiaryStateLayerOpacityActive)};
826
+ ${Nt(Te.opacityContentOnSurfacePressed,Rt.tertiaryStateLayerOpacityActive)};
827
+
828
+ background-color: ${Rt.tertiaryBackgroundColor};
829
+ color: ${Rt.tertiaryColor};
830
+ border-style: none;
831
+ }
832
+
833
+ .ft-button--tertiary[disabled] {
834
+ opacity: ${Rt.tertiaryComponentOpacityDisabled};
835
+ }
836
+
837
+ .ft-button--tertiary ft-icon {
838
+ color: ${Rt.tertiaryIconColor};
839
+ }
840
+
841
+ /** Neutral styles **/
842
+
843
+ .ft-button--neutral {
844
+ ${Nt(yi.color,Rt.neutralIconColor)};
845
+
846
+ ${Nt(Te.backgroundColor,Rt.neutralStateLayerColor)};
847
+ ${Nt(Te.opacityContentOnSurfaceHover,Rt.neutralStateLayerOpacityHover)};
848
+ ${Nt(Te.opacityContentOnSurfaceFocused,Rt.neutralStateLayerOpacityFocus)};
849
+ ${Nt(Te.opacityContentOnSurfaceSelected,Rt.neutralStateLayerOpacityActive)};
850
+ ${Nt(Te.opacityContentOnSurfacePressed,Rt.neutralStateLayerOpacityActive)};
851
+
852
+ background-color: ${Rt.neutralBackgroundColor};
853
+ color: ${Rt.neutralColor};
854
+ border-style: none;
855
+ }
856
+
857
+ .ft-button--neutral[disabled] {
858
+ opacity: ${Rt.neutralComponentOpacityDisabled};
859
+ }
860
+
861
+ .ft-button--neutral ft-icon {
862
+ color: ${Rt.neutralIconColor};
863
+ }
864
+
865
+ /** Large styles **/
866
+
867
+ .ft-button--large {
868
+ ${Nt(bi.size,Rt.largeIconSize)};
869
+ ${Nt(yi.size,Rt.largeIconSize)};
870
+
871
+ height: ${Rt.largeHeight};
872
+ padding: 0 ${Rt.largeHorizontalPadding};
873
+ gap: ${Rt.largeGap};
874
+ border-radius: ${Rt.largeBorderRadius};
875
+ border-width: ${Rt.largeBorderWidth};
876
+ }
877
+
878
+ .ft-button--large:focus-visible {
879
+ outline-width: ${Rt.largeFocusOutlineWidth};
880
+ outline-offset: ${Rt.largeFocusOutlineOffset};
881
+ }
882
+
883
+ .ft-button--large.ft-button--icon-only {
884
+ width: ${Rt.largeIconOnlyWidth};
885
+ padding: unset;
886
+ }
887
+
888
+ /** Small styles **/
889
+
890
+ .ft-button--small {
891
+ ${Nt(bi.size,Rt.smallIconSize)};
892
+ ${Nt(yi.size,Rt.smallIconSize)};
893
+
894
+ height: ${Rt.smallHeight};
895
+ padding: 0 ${Rt.smallHorizontalPadding};
896
+ gap: ${Rt.smallGap};
897
+ border-radius: ${Rt.smallBorderRadius};
898
+ border-width: ${Rt.smallBorderWidth};
899
+ }
900
+
901
+ .ft-button--small:focus-visible {
902
+ outline-width: ${Rt.smallFocusOutlineWidth};
903
+ outline-offset: ${Rt.smallFocusOutlineOffset};
904
+ }
905
+
906
+ .ft-button--small.ft-button--icon-only {
907
+ width: ${Rt.smallIconOnlyWidth};
908
+ padding: unset;
909
+ }
910
+ `,zt];var cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends nn{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?Mi.caption1medium:Mi.body2medium}}fn.styles=[At,ln],cn([a({type:Boolean})],fn.prototype,"primary",void 0),cn([a({type:Boolean})],fn.prototype,"secondary",void 0),cn([a({type:Boolean})],fn.prototype,"tertiary",void 0),cn([a({type:Boolean})],fn.prototype,"neutral",void 0),cn([a({type:Boolean})],fn.prototype,"small",void 0),d("ft-button")(sn),d("ftds-button")(fn);const pn={height:St.create("--ft-search-input-height","","SIZE","38px"),borderRadius:St.extend("--ft-search-input-border-radius","",kt.borderRadiusS),desktopFiltersHeight:St.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:St.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:St.external(kt.colorSurface,"Design system"),colorOnSurface:St.external(kt.colorOnSurface,"Design system"),colorOnSurfaceMedium:St.external(kt.colorOnSurfaceMedium,"Design system"),colorOutline:St.external(kt.colorOutline,"Design system"),colorPrimary:St.external(kt.colorPrimary,"Design system"),elevation02:St.external(kt.elevation02,"Design system"),buttonColor:St.external(xi.color,"Button"),buttonRippleColor:St.external(xi.rippleColor,"Button")},un=O`
691
911
  * {
692
912
  box-sizing: border-box;
693
913
  }
@@ -697,11 +917,11 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
697
917
  display: flex;
698
918
  flex-direction: row;
699
919
  align-items: center;
700
- height: ${Yo.height};
920
+ height: ${pn.height};
701
921
 
702
- background: ${Yo.colorSurface};
703
- border: 1px solid ${Yo.colorOutline};
704
- border-radius: ${Yo.borderRadius};
922
+ background: ${pn.colorSurface};
923
+ border: 1px solid ${pn.colorOutline};
924
+ border-radius: ${pn.borderRadius};
705
925
  }
706
926
 
707
927
  .ft-search-input--input-container {
@@ -716,23 +936,23 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
716
936
  width: 100%;
717
937
  display: grid;
718
938
  padding: 0 8px;
719
- border-radius: ${Yo.borderRadius};
939
+ border-radius: ${pn.borderRadius};
720
940
  }
721
941
 
722
942
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
723
- outline: 2px solid ${Yo.colorPrimary};
943
+ outline: 2px solid ${pn.colorPrimary};
724
944
  }
725
945
 
726
946
  .ft-search-input--input {
727
947
  height: 100%;
728
948
  border: none;
729
949
  background-color: transparent;
730
- color: ${Yo.colorOnSurface};
950
+ color: ${pn.colorOnSurface};
731
951
  outline: none;
732
952
  }
733
953
 
734
954
  .ft-search-input--input::placeholder {
735
- color: ${Yo.colorOnSurfaceMedium};
955
+ color: ${pn.colorOnSurfaceMedium};
736
956
  }
737
957
 
738
958
  .ft-search-input--actions {
@@ -742,13 +962,13 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
742
962
  align-items: center;
743
963
  height: 100%;
744
964
 
745
- ${Ot(So.zIndex,`calc(${Yo.floatingZIndex} + 1)`)};
965
+ ${Nt(Pi.zIndex,`calc(${pn.floatingZIndex} + 1)`)};
746
966
  }
747
967
 
748
968
  .ft-search-input > ft-button,
749
969
  .ft-search-input--actions ft-button {
750
970
  flex-shrink: 0;
751
- ${Ot(Wo.backgroundColor,"transparent")};
971
+ ${Nt(xi.backgroundColor,"transparent")};
752
972
  }
753
973
 
754
974
  .ft-search-input .ft-search-input--launch-search,
@@ -766,31 +986,31 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
766
986
 
767
987
  .ft-search-input--separator {
768
988
  height: 20px;
769
- border-right: 1px solid ${Yo.colorOutline};
989
+ border-right: 1px solid ${pn.colorOutline};
770
990
  }
771
- `,er=w`
772
- `,ir=Ri.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 nr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=ir.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?nr.build(t):null!==(e=nr.API)&&void 0!==e?e:nr.API=nr.build()}static await(t){return new Promise((e=>{let i=nr.get(t);if(i)e(i);else{const n=ir.subscribe((()=>{i=nr.get(t),i&&(n(),e(i))}))}}))}}var or;const rr=Symbol("clearAfterUnitTest");class sr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[or]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=ir.getState().uiLocale,ir.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ir.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};h(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,o,r;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(o=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==o?o:{};return new Ft(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},s).resolve(e,...i)}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 i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.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=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}or=rr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new sr((async(t,e)=>(await nr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new sr((async(t,e)=>(await nr.await()).getCustomMessageContext(t,e))));const ar=window.FluidTopicsI18nService,lr=window.FluidTopicsCustomI18nService;var cr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ur extends Rt{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=()=>nr.get(),this.cache=new n,this.cleanSessionDebouncer=new o}render(){return tt`
991
+ `,dn=O`
992
+ `,hn=ze.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class yn{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=hn.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?yn.build(t):null!==(o=yn.API)&&void 0!==o?o:yn.API=yn.build()}static await(t){return new Promise((o=>{let e=yn.get(t);if(e)o(e);else{const r=hn.subscribe((()=>{e=yn.get(t),e&&(r(),o(e))}))}}))}}var gn;const bn=Symbol("clearAfterUnitTest");class mn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[gn]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=hn.getState().uiLocale,hn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=hn.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};u(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Mt(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}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,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}gn=bn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new mn((async(t,o)=>(await yn.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new mn((async(t,o)=>(await yn.await()).getCustomMessageContext(t,o))));const vn=window.FluidTopicsI18nService,xn=window.FluidTopicsCustomI18nService;var On=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wn extends Ft{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=()=>yn.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return tt`
773
993
  <slot></slot>
774
- `}update(t){super.update(t),t.has("baseUrl")&&ir.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ir.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ir.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ir.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ir.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ir.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ir.actions.setSession(this.session),t.has("availableUiLocales")&&ir.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ar.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()))))}}ur.elementDefinitions={},ur.styles=er,cr([s()],ur.prototype,"baseUrl",void 0),cr([s()],ur.prototype,"apiIntegrationIdentifier",void 0),cr([s()],ur.prototype,"uiLocale",void 0),cr([d([])],ur.prototype,"availableUiLocales",void 0),cr([s({type:Boolean})],ur.prototype,"editorMode",void 0),cr([s({type:Boolean})],ur.prototype,"noCustom",void 0),cr([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ur.prototype,"noCustomComponent",void 0),cr([s({type:Boolean})],ur.prototype,"withManualResources",void 0),cr([d([])],ur.prototype,"messageContexts",void 0),cr([d(void 0)],ur.prototype,"session",void 0),cr([s({type:Object})],ur.prototype,"apiProvider",void 0);class fr{async listMySearches(){var t;return(null===(t=ir.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await nr.await()).listMySearches(ir.getState().session.profile.userId):[]}}const hr=new n;class pr{async listMyBookmarks(){return hr.get("bookmarks",(async()=>(await nr.await()).listMyBookmarks(ir.getState().session.profile.userId)))}clearCache(){hr.clear("bookmarks")}}const dr=Ri.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ir.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pr,ir.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ir.getState();h(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(){dr.actions.savedSearches(void 0)}clearMyBookmarks(){dr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new fr,e=await t.listMySearches();dr.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;dr.actions.bookmarks(e)}}},p("ft-app-context")(ur);class vr extends Event{constructor(){super(vr.eventName)}}vr.eventName="search-context-clear-all-filters";var br=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class yr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const gr=Symbol("registerInterval");class mr extends(function(t){var e;class i 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 yr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=gr,br([a()],i.prototype,"stateManager",void 0),i}(Wt)){}const xr=w`
775
- `;var wr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const $r=Symbol("i18nProperties"),Or=Symbol("i18nUnsubs");function Sr(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?lr:ar}i18n(t,e,...i){var n;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const o=null!==(n=t.args)&&void 0!==n?n:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var e;null===(e=this[$r])||void 0===e||e.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[$r])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[$r]&&new Set([...this[$r].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Or].has(t)||this[Or].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[Or].forEach((t=>t())),this[Or].clear()}}return e=Or,wr([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class Er extends(Sr(Rt)){}class kr extends(Sr(Wt)){}var jr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Cr extends kr{constructor(){super(),this.editorMode=!1,this.addStore(ir)}render(){return this.key&&this.context?tt`
994
+ `}update(t){super.update(t),t.has("baseUrl")&&hn.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&hn.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&hn.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&hn.actions.setNoCustom(this.noCustom),t.has("editorMode")&&hn.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&hn.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&hn.actions.setSession(this.session),t.has("availableUiLocales")&&hn.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>vn.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 o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}wn.elementDefinitions={},wn.styles=dn,On([a()],wn.prototype,"baseUrl",void 0),On([a()],wn.prototype,"apiIntegrationIdentifier",void 0),On([a()],wn.prototype,"uiLocale",void 0),On([h([])],wn.prototype,"availableUiLocales",void 0),On([a({type:Boolean})],wn.prototype,"editorMode",void 0),On([a({type:Boolean})],wn.prototype,"noCustom",void 0),On([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wn.prototype,"noCustomComponent",void 0),On([a({type:Boolean})],wn.prototype,"withManualResources",void 0),On([h([])],wn.prototype,"messageContexts",void 0),On([h(void 0)],wn.prototype,"session",void 0),On([a({type:Object})],wn.prototype,"apiProvider",void 0);class Sn{async listMySearches(){var t;return(null===(t=hn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await yn.await()).listMySearches(hn.getState().session.profile.userId):[]}}const Nn=new r;class Cn{async listMyBookmarks(){return Nn.get("bookmarks",(async()=>(await yn.await()).listMyBookmarks(hn.getState().session.profile.userId)))}clearCache(){Nn.clear("bookmarks")}}const En=ze.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=hn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Cn,hn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=hn.getState();u(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){En.actions.savedSearches(void 0)}clearMyBookmarks(){En.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Sn,o=await t.listMySearches();En.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;En.actions.bookmarks(o)}}},d("ft-app-context")(wn);class $n extends Event{constructor(){super($n.eventName)}}$n.eventName="search-context-clear-all-filters";var Rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Un=Symbol("registerInterval");class In extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=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[Un]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Un]):this.dispatchEvent(new kn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Un,Rn([s()],e.prototype,"stateManager",void 0),e}(qt)){}const Ln=O`
995
+ `;var Wn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const jn=Symbol("i18nProperties"),Kn=Symbol("i18nUnsubs");function Fn(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?xn:vn}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[jn])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[jn])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[jn]&&new Set([...this[jn].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Kn].has(t)||this[Kn].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Kn].forEach((t=>t())),this[Kn].clear()}}return o=Kn,Wn([a({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class zn extends(Fn(Ft)){}class Zn extends(Fn(qt)){}var An=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mn extends Zn{constructor(){super(),this.editorMode=!1,this.addStore(hn)}render(){return this.key&&this.context?tt`
776
996
  <span class="ft-i18n">
777
997
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
778
998
  </span>
779
- `:this.editorMode?"Select a context and a label key.":it}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Cr.elementDefinitions={},Cr.styles=xr,jr([Ai()],Cr.prototype,"editorMode",void 0),jr([s()],Cr.prototype,"context",void 0),jr([s()],Cr.prototype,"key",void 0),jr([d([])],Cr.prototype,"args",void 0),jr([s()],Cr.prototype,"defaultMessage",void 0);class Nr{static build(t){return new Nr(t)}static fromGwt(t){return new Nr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>ar.resolveMessage(this.name,e,...t)})}}p("ft-i18n")(Cr);const Mr=Nr.build("designedSearchInput"),Rr=w`
999
+ `:this.editorMode?"Select a context and a label key.":et}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Mn.elementDefinitions={},Mn.styles=Ln,An([Ze()],Mn.prototype,"editorMode",void 0),An([a()],Mn.prototype,"context",void 0),An([a()],Mn.prototype,"key",void 0),An([h([])],Mn.prototype,"args",void 0),An([a()],Mn.prototype,"defaultMessage",void 0);class Bn{static build(t){return new Bn(t)}static fromGwt(t){return new Bn(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>vn.resolveMessage(this.name,o,...t)})}}d("ft-i18n")(Mn);const Dn=Bn.build("designedSearchInput"),Pn=O`
780
1000
  * {
781
1001
  box-sizing: border-box;
782
1002
  }
783
1003
 
784
1004
  .ft-search-input-suggestion {
785
1005
  position: absolute;
786
- z-index: ${Yo.floatingZIndex};
1006
+ z-index: ${pn.floatingZIndex};
787
1007
  top: calc(100% + 2px);
788
1008
  left: -1px;
789
1009
  right: -1px;
790
- background: ${Yo.colorSurface};
791
- border: 1px solid ${Yo.colorOutline};
792
- border-radius: 0 0 ${Yo.borderRadius} ${Yo.borderRadius};
793
- box-shadow: ${Yo.elevation02};
1010
+ background: ${pn.colorSurface};
1011
+ border: 1px solid ${pn.colorOutline};
1012
+ border-radius: 0 0 ${pn.borderRadius} ${pn.borderRadius};
1013
+ box-shadow: ${pn.elevation02};
794
1014
  }
795
1015
 
796
1016
  .ft-search-input-suggestion--suggestion {
@@ -801,7 +1021,7 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
801
1021
  padding: 8px;
802
1022
  gap: 8px;
803
1023
  cursor: pointer;
804
- color: ${Yo.colorOnSurface};
1024
+ color: ${pn.colorOnSurface};
805
1025
  min-height: 44px;
806
1026
  }
807
1027
 
@@ -823,32 +1043,32 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
823
1043
  * @license
824
1044
  * Copyright 2020 Google LLC
825
1045
  * SPDX-License-Identifier: BSD-3-Clause
826
- */,{I:Ar}=bt,Ur=()=>document.createComment(""),Pr=(t,e,i)=>{var n;const o=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=o.insertBefore(Ur(),r),n=o.insertBefore(Ur(),r);i=new Ar(e,n,t,t.options)}else{const e=i._$AB.nextSibling,s=i._$AM,a=s!==t;if(a){let e;null===(n=i._$AQ)||void 0===n||n.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==s._$AU&&i._$AP(e)}if(e!==r||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,r),t=e}}}return i},Fr=(t,e,i=t)=>(t._$AI(e,i),t),Ir={},Tr=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const n=t._$AB.nextSibling;for(;i!==n;){const t=i.nextSibling;i.remove(),i=t}},Lr=(t,e,i)=>{const n=new Map;for(let o=e;o<=i;o++)n.set(t[o],o);return n},zr=zi(class extends Bi{constructor(t){if(super(t),t.type!==Li)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let n;void 0===i?i=e:void 0!==e&&(n=e);const o=[],r=[];let s=0;for(const e of t)o[s]=n?n(e,s):s,r[s]=i(e,s),s++;return{values:r,keys:o}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,n]){var o;const r=(t=>t._$AH)(t),{values:s,keys:a}=this.dt(e,i,n);if(!Array.isArray(r))return this.ht=a,s;const l=null!==(o=this.ht)&&void 0!==o?o:this.ht=[],c=[];let u,f,h=0,p=r.length-1,d=0,v=s.length-1;for(;h<=p&&d<=v;)if(null===r[h])h++;else if(null===r[p])p--;else if(l[h]===a[d])c[d]=Fr(r[h],s[d]),h++,d++;else if(l[p]===a[v])c[v]=Fr(r[p],s[v]),p--,v--;else if(l[h]===a[v])c[v]=Fr(r[h],s[v]),Pr(t,c[v+1],r[h]),h++,v--;else if(l[p]===a[d])c[d]=Fr(r[p],s[d]),Pr(t,r[h],r[p]),p--,d++;else if(void 0===u&&(u=Lr(a,d,v),f=Lr(l,h,p)),u.has(l[h]))if(u.has(l[p])){const e=f.get(a[d]),i=void 0!==e?r[e]:null;if(null===i){const e=Pr(t,r[h]);Fr(e,s[d]),c[d]=e}else c[d]=Fr(i,s[d]),Pr(t,r[h],i),r[e]=null;d++}else Tr(r[p]),p--;else Tr(r[h]),h++;for(;d<=v;){const e=Pr(t,c[v+1]);Fr(e,s[d]),c[d++]=e}for(;h<=p;){const t=r[h++];null!==t&&Tr(t)}return this.ht=a,((t,e=Ir)=>{t._$AH=e})(t,c),et}});var Br=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class _r extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let Dr=class extends mr{render(){return tt`
1046
+ */,{I:Hn}=gt,Tn=()=>document.createComment(""),_n=(t,o,e)=>{var r;const i=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(Tn(),n),r=i.insertBefore(Tn(),n);e=new Hn(o,r,t,t.options)}else{const o=e._$AB.nextSibling,a=e._$AM,s=a!==t;if(s){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==a._$AU&&e._$AP(o)}if(o!==n||s){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,n),t=o}}}return e},Gn=(t,o,e=t)=>(t._$AI(o,e),t),qn={},Vn=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},Yn=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Jn=Ui(class extends Ii{constructor(t){if(super(t),t.type!==ki)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const n=(t=>t._$AH)(t),{values:a,keys:s}=this.dt(o,e,r);if(!Array.isArray(n))return this.ht=s,a;const l=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let f,p,u=0,d=n.length-1,h=0,y=a.length-1;for(;u<=d&&h<=y;)if(null===n[u])u++;else if(null===n[d])d--;else if(l[u]===s[h])c[h]=Gn(n[u],a[h]),u++,h++;else if(l[d]===s[y])c[y]=Gn(n[d],a[y]),d--,y--;else if(l[u]===s[y])c[y]=Gn(n[u],a[y]),_n(t,c[y+1],n[u]),u++,y--;else if(l[d]===s[h])c[h]=Gn(n[d],a[h]),_n(t,n[u],n[d]),d--,h++;else if(void 0===f&&(f=Yn(s,h,y),p=Yn(l,u,d)),f.has(l[u]))if(f.has(l[d])){const o=p.get(s[h]),e=void 0!==o?n[o]:null;if(null===e){const o=_n(t,n[u]);Gn(o,a[h]),c[h]=o}else c[h]=Gn(e,a[h]),_n(t,n[u],e),n[o]=null;h++}else Vn(n[d]),d--;else Vn(n[u]),u++;for(;h<=y;){const o=_n(t,c[y+1]);Gn(o,a[h]),c[h++]=o}for(;u<=d;){const t=n[u++];null!==t&&Vn(t)}return this.ht=s,((t,o=qn)=>{t._$AH=o})(t,c),ot}});var Xn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qn extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let ta=class extends In{render(){return tt`
827
1047
  <div class="ft-search-input-suggestion ft-word-wrap"
828
1048
  part="container"
829
1049
  @keydown=${t=>this.onSuggestKeyDown(t)}>
830
- ${zr(this.suggestResults||[],(t=>t.value),(t=>tt`
1050
+ ${Jn(this.suggestResults||[],(t=>t.value),(t=>tt`
831
1051
  <a href="#"
832
1052
  part="suggestion"
833
1053
  class="ft-search-input-suggestion--suggestion"
834
- @keyup=${e=>this.onSuggestKeyUp(e,t.value)}
835
- @click=${e=>this.onSuggestSelected(e,t.value)}>
1054
+ @keyup=${o=>this.onSuggestKeyUp(o,t.value)}
1055
+ @click=${o=>this.onSuggestSelected(o,t.value)}>
836
1056
  <ft-ripple></ft-ripple>
837
1057
  ${this.getIcon(t)}
838
1058
  <ft-typography variant="body1">${t.value}</ft-typography>
839
1059
  </a>
840
1060
  `))}
841
1061
  </div>
842
- `}onSuggestKeyDown(t){var e,i,n,o,r,s;switch(t.key){case"ArrowUp":null===(n=null!==(i=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==i?i:this.getLastSuggestionElement())||void 0===n||n.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(s=null!==(r=null===(o=this.getFocusedSuggestionElement())||void 0===o?void 0:o.nextElementSibling)&&void 0!==r?r:this.getFirstSuggestionElement())||void 0===s||s.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.dispatchEvent(new _r(e))}getIcon(t){const e="DOCUMENT"===t.type?zo.file_format:zo.fluid_topics;let i;switch(t.type){case"MAP":i="BOOK"===t.editorialType?Uo.BOOK:Uo.ARTICLE;break;case"DOCUMENT":i=function(t,e){var i,n,o,r;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[s,a]=((null!==(i=Io.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(r=null!==(o=null!==(n=Fo.get(a))&&void 0!==n?n:Fo.get(e))&&void 0!==o?o:Fo.get(s))&&void 0!==r?r:Po.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":i=Uo.TOPICS}return tt`
843
- <ft-icon .variant="${e}" .value="${i}" part="suggestion-icon"></ft-icon>
844
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};Dr.elementDefinitions={"ft-ripple":Qi,"ft-typography":Oo,"ft-icon":_o},Dr.styles=[Ut,Rr],Br([Ai()],Dr.prototype,"suggestResults",void 0),Dr=Br([(t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:n}=e;return{kind:i,elements:n,finisher(e){customElements.define(t,e)}}})(t,e))("ft-search-input-suggestion")],Dr);var Wr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Kr extends(Sr(mr)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Mr)}render(){var t,e;let i={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(e=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==e&&e,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return tt`
845
- <div class="${_i(i)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1062
+ `}onSuggestKeyDown(t){var o,e,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(e=null===(o=this.getFocusedSuggestionElement())||void 0===o?void 0:o.previousElementSibling)&&void 0!==e?e:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,o){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,o)}onSuggestSelected(t,o){t.preventDefault(),this.dispatchEvent(new Qn(o))}getIcon(t){const o="DOCUMENT"===t.type?Qi.file_format:Qi.fluid_topics;let e;switch(t.type){case"MAP":e="BOOK"===t.editorialType?Vi.BOOK:Vi.ARTICLE;break;case"DOCUMENT":e=function(t,o){var e,r,i,n;t=(null!=t?t:"").toLowerCase(),o=(null!=o?o:"").toLowerCase();const[a,s]=((null!==(e=Xi.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Ji.get(s))&&void 0!==r?r:Ji.get(o))&&void 0!==i?i:Ji.get(a))&&void 0!==n?n:Yi.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":e=Vi.TOPICS}return tt`
1063
+ <ft-icon .variant="${o}" .value="${e}" part="suggestion-icon"></ft-icon>
1064
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};ta.elementDefinitions={"ft-ripple":ji,"ft-typography":Di,"ft-icon":on},ta.styles=[Zt,Pn],Xn([Ze()],ta.prototype,"suggestResults",void 0),ta=Xn([(t=>o=>"function"==typeof o?((t,o)=>(customElements.define(t,o),o))(t,o):((t,o)=>{const{kind:e,elements:r}=o;return{kind:e,elements:r,finisher(o){customElements.define(t,o)}}})(t,o))("ft-search-input-suggestion")],ta);var oa=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ea extends(Fn(In)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Dn)}render(){var t,o;let e={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(o=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==o&&o,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return tt`
1065
+ <div class="${Li(e)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
846
1066
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
847
1067
  <div class="ft-search-input--input-outline" part="input-outline">
848
1068
  <input class="ft-search-input--input ft-typography--body2"
849
1069
  part="input"
850
1070
  type="text"
851
- placeholder="${Mr.messages.placeholder()}"
1071
+ placeholder="${Dn.messages.placeholder()}"
852
1072
  .value="${this.liveQuery}"
853
1073
  @keydown=${t=>this.onSearchBarKeyDown(t)}
854
1074
  @keyup=${t=>this.onSearchBarKeyUp(t)}>
@@ -864,7 +1084,7 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
864
1084
  part="clear-query"
865
1085
  icon="close"
866
1086
  round dense
867
- label="${Mr.messages.clearButton()}"
1087
+ label="${Dn.messages.clearButton()}"
868
1088
  @click=${()=>this.liveQuery=""}
869
1089
  ></ft-button>
870
1090
  <div class="ft-search-input--separator"></div>
@@ -873,9 +1093,9 @@ class Ro extends Bi{constructor(t){if(super(t),this.et=it,t.type!==Li)throw Erro
873
1093
  part="launch-search-in-input"
874
1094
  icon="search"
875
1095
  round dense
876
- label="${Mr.messages.searchButton()}"
1096
+ label="${Dn.messages.searchButton()}"
877
1097
  @click=${()=>this.launchSearch()}
878
1098
  ></ft-button>
879
1099
  </div>
880
1100
  </div>
881
- `}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var e,i;"Enter"===t.key?(null===(e=this.stateManager)||void 0===e||e.setQuery(this.input.value),this.forceCloseSuggestion=!0):null===(i=this.stateManager)||void 0===i||i.setLiveQuery(this.input.value)}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var e;null===(e=this.stateManager)||void 0===e||e.setQuery(t.detail),this.forceCloseSuggestion=!0}}Kr.elementDefinitions={"ft-search-input-suggestion":Dr,"ft-button":Qo},Kr.styles=[bo,tr],Wr([Ai()],Kr.prototype,"request",void 0),Wr([Ai()],Kr.prototype,"liveQuery",void 0),Wr([Ai()],Kr.prototype,"suggestResults",void 0),Wr([a()],Kr.prototype,"forceCloseSuggestion",void 0),Wr([c(".ft-search-input--input")],Kr.prototype,"input",void 0),Wr([c("ft-search-input-suggestion")],Kr.prototype,"suggestion",void 0),p("ft-search-input")(Kr),t.FtSearchInput=Kr,t.FtSearchInputCssVariables=Yo,t.styles=tr}({});
1101
+ `}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var o,e;"Enter"===t.key?(null===(o=this.stateManager)||void 0===o||o.setQuery(this.input.value),this.forceCloseSuggestion=!0):null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value)}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t.detail),this.forceCloseSuggestion=!0}}ea.elementDefinitions={"ft-search-input-suggestion":ta,"ft-button":sn},ea.styles=[li,un],oa([Ze()],ea.prototype,"request",void 0),oa([Ze()],ea.prototype,"liveQuery",void 0),oa([Ze()],ea.prototype,"suggestResults",void 0),oa([s()],ea.prototype,"forceCloseSuggestion",void 0),oa([c(".ft-search-input--input")],ea.prototype,"input",void 0),oa([c("ft-search-input-suggestion")],ea.prototype,"suggestion",void 0),d("ft-search-input")(ea),t.FtSearchInput=ea,t.FtSearchInputCssVariables=pn,t.styles=un}({});