@fluid-topics/ft-search-input 1.0.59 → 1.0.61

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(Ao){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,R=E?E.emptyScript:"",$=C.reactiveElementPolyfillSupport,U={toAttribute(t,o){switch(o){case Boolean:t=t?R: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}},I=(t,o)=>o!==t&&(o==o||t==t),k={attribute:!0,type:String,converter:U,reflect:!1,hasChanged:I};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=k){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)||k}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=k){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:U).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:U;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||I)(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==$||$({ReactiveElement:L}),(null!==(N=C.reactiveElementVersions)&&void 0!==N?N:C.reactiveElementVersions=[]).push("1.6.1");const A=window,j=A.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,B="?"+D,P=`<${B}>`,M=document,z=()=>M.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,V=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/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=M.createTreeWalker(M,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]?J:X):a===J||a===X?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+P:c>=0?(r.push(s),e.slice(0,c)+K+e.slice(c)+D+p):e+D+(-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(K)||o.startsWith(D)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(D),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(D),o=t.length-1;if(o>0){r.textContent=j?j.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],z()),it.nextNode(),s.push({type:2,index:++i});r.append(t[o],z())}}}else if(8===r.nodeType)if(r.data===B)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(D,t+1));)s.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,o){const e=M.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=Z(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:M).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),Z(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)?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&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.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){T(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(z()),this.k(z()),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=!Z(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=!Z(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=j?j.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:K,P:D,A:B,C:1,M:nt,L:lt,D:_,R:st,I:ct,V:ft,H:dt,N:ht,U:pt,F:yt},bt=A.litHtmlPolyfillSupport;null==bt||bt(at,ct),(null!==(W=A.litHtmlVersions)&&void 0!==W?W:A.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(z(),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")}},Rt={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)},$t={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","",Rt.backgroundActionPrimary),primaryColor:St.extend("--ft-button-primary-color","",Rt.contentGlobalOnColor),primaryIconColor:St.extend("--ft-button-primary-icon-color","",Rt.contentGlobalOnColor),primaryStateLayerColor:St.extend("--ft-button-primary-state-layer-color","",Rt.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","",Rt.borderActionFocusRing),tertiaryBackgroundColor:St.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:St.extend("--ft-button-tertiary-color","",Rt.contentActionPrimary),tertiaryIconColor:St.extend("--ft-button-tertiary-icon-color","",Rt.contentActionPrimary),tertiaryStateLayerColor:St.extend("--ft-button-tertiary-state-layer-color","",Rt.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","",Rt.contentActionPrimary),secondaryIconColor:St.extend("--ft-button-secondary-icon-color","",Rt.contentActionPrimary),secondaryStateLayerColor:St.extend("--ft-button-secondary-state-layer-color","",Rt.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","",Rt.borderActionPrimary),neutralBackgroundColor:St.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:St.extend("--ft-button-neutral-icon-color","",Rt.contentGlobalSecondary),neutralColor:St.extend("--ft-button-neutral-color","",Rt.contentGlobalSecondary),neutralStateLayerColor:St.extend("--ft-button-neutral-state-layer-color","",Rt.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","",Rt.backgroundGlobalSurface),St.extend("--ft-switch-group-border-color","",Rt.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","",Rt.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","",Rt.contentGlobalSubtle),St.extend("--ft-switch-off-state-layer-color","",Rt.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","",Rt.backgroundGlobalOnSurface),St.extend("--ft-chip-neutral-color","",Rt.contentGlobalPrimary),St.extend("--ft-chip-neutral-border-color","",Rt.borderGlobalSubtle),St.extend("--ft-chip-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-chip-info-color","",Rt.contentInfoPrimary),St.extend("--ft-chip-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-chip-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-chip-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-chip-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-chip-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-chip-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-chip-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-chip-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-chip-error-color","",Rt.contentErrorPrimary),St.extend("--ft-chip-error-border-color","",Rt.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","",Rt.backgroundInfoSubtle),St.extend("--ft-notice-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notice-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notice-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notice-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notice-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-checkbox-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-checkbox-checked-background-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-color","",Rt.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","",Rt.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","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-icon-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-state-layer-color","",Rt.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","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-icon-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-toggle-focus-focus-ring-color","",Rt.borderActionFocusRing),St.extend("--ft-toggle-gap","",Ct.spacing3),St.extend("--ft-radio-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-radio-selected-color","",Rt.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-color","",Rt.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","",Rt.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","",Rt.backgroundInfoSubtle),St.extend("--ft-notification-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notification-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notification-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-notification-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-notification-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-notification-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notification-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-notification-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notification-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-notification-error-color","",Rt.contentErrorPrimary),St.extend("--ft-notification-error-border-color","",Rt.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 Ut={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 It 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 kt,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"),At=Symbol("constructorName"),jt=Symbol("exportpartsDebouncer");class Ft extends It{constructor(){super(),this[kt]=new i(5),this[At]=this.constructor.name,this[Wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[At]&&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[jt].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(", "))}}kt=jt,Lt([a()],Ft.prototype,"exportpartsPrefix",void 0),Lt([h([])],Ft.prototype,"exportpartsPrefixes",void 0),Lt([a()],Ft.prototype,"customStylesheet",void 0);const Kt=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
+ `,Dt=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
+ `,Bt=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})}},Ui=Symbol("elementInternals");var Pi,Fi,Ii;const Ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ii=null===(Fi=null===(Pi=window.safari)||void 0===Pi?void 0:Pi.pushNotification)||void 0===Fi?void 0:Fi.toString())&&void 0!==Ii?Ii:""),Li=1,zi=2,Bi=t=>(...e)=>({_$litDirective$:t,values:e});
102
- /**
103
- * @license
104
- * Copyright 2017 Google LLC
105
- * SPDX-License-Identifier: BSD-3-Clause
106
- */class _i{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 Di=Bi(class extends _i{constructor(t){var e;if(super(t),t.type!==Li||"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}}),Wi=$t.extend("--ft-ripple-color",St.colorContent),Ki={color:Wi,backgroundColor:$t.extend("--ft-ripple-background-color",Wi),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")},Hi=$t.extend("--ft-ripple-color",St.colorPrimary),Zi=Hi,qi=$t.extend("--ft-ripple-background-color",Hi),Vi=$t.extend("--ft-ripple-color",St.colorSecondary),Ji=Vi,Xi=$t.extend("--ft-ripple-background-color",Vi),Gi=w`
101
+ `;class Pt{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 Mt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zt,Zt,Tt;const _t=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class qt extends Ft{constructor(){super(...arguments),this[zt]=new Map,this[Zt]=new Map,this[Tt]=[]}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:Mt(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[Ht].has(t.store):this[Ht].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ht].set(t,o.subscribe((()=>this.updateFromStores()))),Mt(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[_t].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ht].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_t].forEach((t=>t())),this[_t]=[]}unsubscribeFromStore(t){this[Ht].has(t)&&this[Ht].get(t)(),this[Ht].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[Ko]}function Xt(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)===Do}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Fo])||ro(t)||io(t))}function Jt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Bo)(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[Ko];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=Po(t);delete o[Ko];for(var e=Bo(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)||!Xt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=lo),Object.freeze(t),o&&Jt(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=Mo[t];return o||Vt(18,t),o}function po(){return Io}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===Io&&(Io=t.l)}function go(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function bo(t){var o=t[Ko];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[Ko].P&&(ho(o),Vt(4)),Xt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[Ko].t,t,o.u,o.s)):t=vo(o,e,[]),ho(o),o.u&&o.v(o.u,o.s),t!==jo?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[Ko];if(!r)return Jt(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),Jt(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(Xt(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[Ko];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=zo;e&&(i=[r],n=Zo);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 Ro(t){return Yt(t)||Vt(22,t),function t(o){if(!Xt(o))return o;var e,r=o[Ko],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=$o(o,i),r.I=!1}else e=$o(o,i);return Jt(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 $o(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}zt=Ht,Zt=Gt,Tt=_t;var Uo,Io,ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=ko?Symbol.for("immer-nothing"):((Uo={})["immer-nothing"]=!0,Uo),Fo=ko?Symbol.for("immer-draftable"):"__$immer_draftable",Ko=ko?Symbol.for("immer-state"):"__$immer_state",Do=""+Object.prototype.constructor,Bo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Po=Object.getOwnPropertyDescriptors||function(t){var o={};return Bo(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Mo={},zo={get:function(t,o){if(o===Ko)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||!Xt(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[Ko];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)}},Zo={};Jt(zo,(function(t,o){Zo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Zo.deleteProperty=function(t,o){return Zo.set.call(this,t,o,void 0)},Zo.set=function(t,o,e){return zo.set.call(this,t[0],o,e,t[0])};var To=function(){function t(t){var o=this;this.O=Ao,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),Xt(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===jo&&(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){Xt(t)||Vt(8),Yt(t)&&(t=Ro(t));var o=go(this),e=Eo(this,t,void 0);return e[Ko].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ko]).A;return uo(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ao&&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}(),_o=new To,Ho=_o.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 Xo(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 Jo(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. "}_o.produceWithPatches.bind(_o),_o.setAutoFreeze.bind(_o),_o.setUseProxies.bind(_o),_o.applyPatches.bind(_o),_o.createDraft.bind(_o),_o.finishDraft.bind(_o);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(Jo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Jo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Jo(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(Jo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Jo(4));if(l)throw new Error(Jo(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(Jo(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(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(l)throw new Error(Jo(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(Jo(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(Jo(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(Jo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(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(Jo(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(Jo(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),Xo(Xo({},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 Xt(t)?Ho(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 Re(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 $e(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 Ue(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 Ie(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?Ue(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?Ue(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(Xt(t))return Ho(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?$e(c,r):$e(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 ke=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},Ae=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ke;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function je(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=$e(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=$e(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=$e(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ae)(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(je)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fe="listenerMiddleware";$e(Fe+"/add"),$e(Fe+"/removeAll"),$e(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[Ko];return zo.get(o,t)},set:function(o){var e=this[Ko];zo.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Ko];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=Bo(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ko){var a=o[n];if(void 0===a&&!to(o,n))return!0;var s=e[n],l=s&&s[Ko];if(l?l.t!==a:!eo(s,a))return!0}}var c=!!o[Ko];return r.length!==Bo(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){Mo[t]||(Mo[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=Po(e);delete n[Ko];for(var a=Bo(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,Ko,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[Ko].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ko];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)Jt(n,(function(o){o!==Ko&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Jt(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 Ke{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(Mt(i))return i;if(null==r)return;const n=Ie({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Re({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 Ke(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 De=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})}},Be=Symbol("elementInternals");var Pe,Me,ze;const Ze=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ze=null===(Me=null===(Pe=window.safari)||void 0===Pe?void 0:Pe.pushNotification)||void 0===Me?void 0:Me.toString())&&void 0!==ze?ze:""),Te=St.extend("--ft-ripple-color","",Ut.colorContent),_e={color:Te,backgroundColor:St.extend("--ft-ripple-background-color","",Te),opacityContentOnSurfacePressed:St.external(Ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:St.external(Ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:St.external(Ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:St.external(Ut.opacityContentOnSurfaceSelected,"Design system"),borderRadius:St.create("--ft-ripple-border-radius","","SIZE","0px")},He=St.extend("--ft-ripple-color","",Ut.colorPrimary),Ge=He,qe=St.extend("--ft-ripple-background-color","",He),Ve=St.extend("--ft-ripple-color","",Ut.colorSecondary),Ye=Ve,Xe=St.extend("--ft-ripple-background-color","",Ve),Je=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: ${Ki.borderRadius};
114
+ border-radius: ${_e.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: ${Ki.backgroundColor};
148
+ background-color: ${_e.backgroundColor};
159
149
  }
160
150
 
161
151
  .ft-ripple .ft-ripple--effect {
162
- background-color: ${Ki.color};
152
+ background-color: ${_e.color};
163
153
  }
164
154
 
165
155
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
166
- background-color: ${Xi};
156
+ background-color: ${Xe};
167
157
  }
168
158
 
169
159
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
170
- background-color: ${Ji};
160
+ background-color: ${Ye};
171
161
  }
172
162
 
173
163
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
174
- background-color: ${qi};
164
+ background-color: ${qe};
175
165
  }
176
166
 
177
167
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
178
- background-color: ${Zi};
168
+ background-color: ${Ge};
179
169
  }
180
170
 
181
171
  .ft-ripple .ft-ripple--background {
@@ -205,194 +195,126 @@ 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: ${Ki.opacityContentOnSurfaceHover};
198
+ opacity: ${_e.opacityContentOnSurfaceHover};
209
199
  }
210
200
 
211
201
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
212
- opacity: ${Ki.opacityContentOnSurfaceSelected};
202
+ opacity: ${_e.opacityContentOnSurfaceSelected};
213
203
  }
214
204
 
215
205
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
216
- opacity: ${Ki.opacityContentOnSurfaceFocused};
206
+ opacity: ${_e.opacityContentOnSurfaceFocused};
217
207
  }
218
208
 
219
209
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
220
- opacity: ${Ki.opacityContentOnSurfacePressed};
210
+ opacity: ${_e.opacityContentOnSurfacePressed};
221
211
  transform: translate(-50%, -50%) scale(1);
222
212
  }
223
- `;var Qi=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 Yi 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="${Di(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()}}Yi.elementDefinitions={},Yi.styles=Gi,Qi([s({type:Boolean})],Yi.prototype,"primary",void 0),Qi([s({type:Boolean})],Yi.prototype,"secondary",void 0),Qi([s({type:Boolean})],Yi.prototype,"unbounded",void 0),Qi([s({type:Boolean})],Yi.prototype,"activated",void 0),Qi([s({type:Boolean})],Yi.prototype,"selected",void 0),Qi([s({type:Boolean})],Yi.prototype,"disabled",void 0),Qi([a()],Yi.prototype,"hovered",void 0),Qi([a()],Yi.prototype,"focused",void 0),Qi([a()],Yi.prototype,"pressed",void 0),Qi([a()],Yi.prototype,"rippling",void 0),Qi([a()],Yi.prototype,"originX",void 0),Qi([a()],Yi.prototype,"originY",void 0),Qi([c(".ft-ripple")],Yi.prototype,"ripple",void 0),Qi([c(".ft-ripple--effect")],Yi.prototype,"rippleEffect",void 0),p("ft-ripple")(Yi);
235
- /**
236
- * @license
237
- * Copyright 2020 Google LLC
238
- * SPDX-License-Identifier: BSD-3-Clause
239
- */
240
- const tn=Symbol.for(""),en=t=>{if((null==t?void 0:t.r)===tn)return null==t?void 0:t._$litStatic$},nn=t=>({_$litStatic$:t,r:tn}),on=new Map,rn=(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=en(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=on.get(t))&&(s.raw=s,on.set(t,e=s)),i=a}return t(e,...i)})(tt);var sn;!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"}(sn||(sn={}));const an=$t.extend("--ft-typography-font-family",St.titleFont),ln=$t.extend("--ft-typography-font-family",St.contentFont),cn={fontFamily:ln,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")},un=$t.extend("--ft-typography-title-font-family",an),fn=$t.extend("--ft-typography-title-font-size",cn.fontSize,"20px"),hn=$t.extend("--ft-typography-title-font-weight",cn.fontWeight,"normal"),pn=$t.extend("--ft-typography-title-letter-spacing",cn.letterSpacing,"0.15px"),dn=$t.extend("--ft-typography-title-line-height",cn.lineHeight,"1.2"),vn=$t.extend("--ft-typography-title-text-transform",cn.textTransform,"inherit"),bn=$t.extend("--ft-typography-title-dense-font-family",an),yn=$t.extend("--ft-typography-title-dense-font-size",cn.fontSize,"14px"),gn=$t.extend("--ft-typography-title-dense-font-weight",cn.fontWeight,"normal"),mn=$t.extend("--ft-typography-title-dense-letter-spacing",cn.letterSpacing,"0.105px"),xn=$t.extend("--ft-typography-title-dense-line-height",cn.lineHeight,"1.7"),wn=$t.extend("--ft-typography-title-dense-text-transform",cn.textTransform,"inherit"),$n=$t.extend("--ft-typography-subtitle1-font-family",ln),On=$t.extend("--ft-typography-subtitle1-font-size",cn.fontSize,"16px"),Sn=$t.extend("--ft-typography-subtitle1-font-weight",cn.fontWeight,"600"),En=$t.extend("--ft-typography-subtitle1-letter-spacing",cn.letterSpacing,"0.144px"),kn=$t.extend("--ft-typography-subtitle1-line-height",cn.lineHeight,"1.5"),jn=$t.extend("--ft-typography-subtitle1-text-transform",cn.textTransform,"inherit"),Cn=$t.extend("--ft-typography-subtitle2-font-family",ln),Nn=$t.extend("--ft-typography-subtitle2-font-size",cn.fontSize,"14px"),Mn=$t.extend("--ft-typography-subtitle2-font-weight",cn.fontWeight,"normal"),Rn=$t.extend("--ft-typography-subtitle2-letter-spacing",cn.letterSpacing,"0.098px"),An=$t.extend("--ft-typography-subtitle2-line-height",cn.lineHeight,"1.7"),Un=$t.extend("--ft-typography-subtitle2-text-transform",cn.textTransform,"inherit"),Pn=$t.extend("--ft-typography-body1-font-family",ln),Fn=$t.extend("--ft-typography-body1-font-size",cn.fontSize,"16px"),In=$t.extend("--ft-typography-body1-font-weight",cn.fontWeight,"normal"),Tn=$t.extend("--ft-typography-body1-letter-spacing",cn.letterSpacing,"0.496px"),Ln=$t.extend("--ft-typography-body1-line-height",cn.lineHeight,"1.5"),zn=$t.extend("--ft-typography-body1-text-transform",cn.textTransform,"inherit"),Bn=$t.extend("--ft-typography-body2-font-family",ln),_n=$t.extend("--ft-typography-body2-font-size",cn.fontSize,"14px"),Dn=$t.extend("--ft-typography-body2-font-weight",cn.fontWeight,"normal"),Wn=$t.extend("--ft-typography-body2-letter-spacing",cn.letterSpacing,"0.252px"),Kn=$t.extend("--ft-typography-body2-line-height",cn.lineHeight,"1.4"),Hn=$t.extend("--ft-typography-body2-text-transform",cn.textTransform,"inherit"),Zn=$t.extend("--ft-typography-caption-font-family",ln),qn=$t.extend("--ft-typography-caption-font-size",cn.fontSize,"12px"),Vn=$t.extend("--ft-typography-caption-font-weight",cn.fontWeight,"normal"),Jn=$t.extend("--ft-typography-caption-letter-spacing",cn.letterSpacing,"0.396px"),Xn=$t.extend("--ft-typography-caption-line-height",cn.lineHeight,"1.33"),Gn=$t.extend("--ft-typography-caption-text-transform",cn.textTransform,"inherit"),Qn=$t.extend("--ft-typography-breadcrumb-font-family",ln),Yn=$t.extend("--ft-typography-breadcrumb-font-size",cn.fontSize,"10px"),to=$t.extend("--ft-typography-breadcrumb-font-weight",cn.fontWeight,"normal"),eo=$t.extend("--ft-typography-breadcrumb-letter-spacing",cn.letterSpacing,"0.33px"),io=$t.extend("--ft-typography-breadcrumb-line-height",cn.lineHeight,"1.6"),no=$t.extend("--ft-typography-breadcrumb-text-transform",cn.textTransform,"inherit"),oo=$t.extend("--ft-typography-overline-font-family",ln),ro=$t.extend("--ft-typography-overline-font-size",cn.fontSize,"10px"),so=$t.extend("--ft-typography-overline-font-weight",cn.fontWeight,"normal"),ao=$t.extend("--ft-typography-overline-letter-spacing",cn.letterSpacing,"1.5px"),lo=$t.extend("--ft-typography-overline-line-height",cn.lineHeight,"1.6"),co=$t.extend("--ft-typography-overline-text-transform",cn.textTransform,"uppercase"),uo={fontFamily:$t.extend("--ft-typography-button-font-family",ln),fontSize:$t.extend("--ft-typography-button-font-size",cn.fontSize,"14px"),fontWeight:$t.extend("--ft-typography-button-font-weight",cn.fontWeight,"600"),letterSpacing:$t.extend("--ft-typography-button-letter-spacing",cn.letterSpacing,"1.246px"),lineHeight:$t.extend("--ft-typography-button-line-height",cn.lineHeight,"1.15"),textTransform:$t.extend("--ft-typography-button-text-transform",cn.textTransform,"uppercase")},fo=w`
213
+ `;const Qe=St.extend("--ft-typography-font-family","",Ut.titleFont),tr=St.extend("--ft-typography-font-family","",Ut.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),Rr=St.extend("--ft-typography-body1-font-size","",or.fontSize,"16px"),$r=St.extend("--ft-typography-body1-font-weight","",or.fontWeight,"normal"),Ur=St.extend("--ft-typography-body1-letter-spacing","",or.letterSpacing,"0.496px"),Ir=St.extend("--ft-typography-body1-line-height","",or.lineHeight,"1.5"),kr=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"),Ar=St.extend("--ft-typography-body2-font-weight","",or.fontWeight,"normal"),jr=St.extend("--ft-typography-body2-letter-spacing","",or.letterSpacing,"0.252px"),Fr=St.extend("--ft-typography-body2-line-height","",or.lineHeight,"1.4"),Kr=St.extend("--ft-typography-body2-text-transform","",or.textTransform,"inherit"),Dr=St.extend("--ft-typography-caption-font-family","",tr),Br=St.extend("--ft-typography-caption-font-size","",or.fontSize,"12px"),Pr=St.extend("--ft-typography-caption-font-weight","",or.fontWeight,"normal"),Mr=St.extend("--ft-typography-caption-letter-spacing","",or.letterSpacing,"0.396px"),zr=St.extend("--ft-typography-caption-line-height","",or.lineHeight,"1.33"),Zr=St.extend("--ft-typography-caption-text-transform","",or.textTransform,"inherit"),Tr=St.extend("--ft-typography-breadcrumb-font-family","",tr),_r=St.extend("--ft-typography-breadcrumb-font-size","",or.fontSize,"10px"),Hr=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),Xr=St.extend("--ft-typography-overline-font-size","",or.fontSize,"10px"),Jr=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: ${un};
243
- font-size: ${fn};
244
- font-weight: ${hn};
245
- letter-spacing: ${pn};
246
- line-height: ${dn};
247
- text-transform: ${vn};
248
- }
249
- `,ho=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: ${bn};
252
- font-size: ${yn};
253
- font-weight: ${gn};
254
- letter-spacing: ${mn};
255
- line-height: ${xn};
256
- text-transform: ${wn};
257
- }
258
- `,po=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: ${$n};
261
- font-size: ${On};
262
- font-weight: ${Sn};
263
- letter-spacing: ${En};
264
- line-height: ${kn};
265
- text-transform: ${jn};
266
- }
267
- `,vo=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: ${Cn};
270
- font-size: ${Nn};
271
- font-weight: ${Mn};
272
- letter-spacing: ${Rn};
273
- line-height: ${An};
274
- text-transform: ${Un};
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
- `,bo=w`
250
+ `,si=O`
278
251
  .ft-typography--body1 {
279
- font-family: ${Pn};
280
- font-size: ${Fn};
281
- font-weight: ${In};
282
- letter-spacing: ${Tn};
283
- line-height: ${Ln};
284
- text-transform: ${zn};
285
- }
286
- `,yo=w`
252
+ font-family: ${Er};
253
+ font-size: ${Rr};
254
+ font-weight: ${$r};
255
+ letter-spacing: ${Ur};
256
+ line-height: ${Ir};
257
+ text-transform: ${kr};
258
+ }
259
+ `,li=O`
287
260
  .ft-typography--body2 {
288
- font-family: ${Bn};
289
- font-size: ${_n};
290
- font-weight: ${Dn};
291
- letter-spacing: ${Wn};
292
- line-height: ${Kn};
293
- text-transform: ${Hn};
294
- }
295
- `,go=w`
261
+ font-family: ${Lr};
262
+ font-size: ${Wr};
263
+ font-weight: ${Ar};
264
+ letter-spacing: ${jr};
265
+ line-height: ${Fr};
266
+ text-transform: ${Kr};
267
+ }
268
+ `,ci=O`
296
269
  .ft-typography--caption {
297
- font-family: ${Zn};
298
- font-size: ${qn};
299
- font-weight: ${Vn};
300
- letter-spacing: ${Jn};
301
- line-height: ${Xn};
302
- text-transform: ${Gn};
303
- }
304
- `,mo=w`
270
+ font-family: ${Dr};
271
+ font-size: ${Br};
272
+ font-weight: ${Pr};
273
+ letter-spacing: ${Mr};
274
+ line-height: ${zr};
275
+ text-transform: ${Zr};
276
+ }
277
+ `,fi=O`
305
278
  .ft-typography--breadcrumb {
306
- font-family: ${Qn};
307
- font-size: ${Yn};
308
- font-weight: ${to};
309
- letter-spacing: ${eo};
310
- line-height: ${io};
311
- text-transform: ${no};
312
- }
313
- `,xo=w`
279
+ font-family: ${Tr};
280
+ font-size: ${_r};
281
+ font-weight: ${Hr};
282
+ letter-spacing: ${Gr};
283
+ line-height: ${qr};
284
+ text-transform: ${Vr};
285
+ }
286
+ `,pi=O`
314
287
  .ft-typography--overline {
315
- font-family: ${oo};
316
- font-size: ${ro};
317
- font-weight: ${so};
318
- letter-spacing: ${ao};
319
- line-height: ${lo};
320
- text-transform: ${co};
321
- }
322
- `,wo=w`
288
+ font-family: ${Yr};
289
+ font-size: ${Xr};
290
+ font-weight: ${Jr};
291
+ letter-spacing: ${Qr};
292
+ line-height: ${ti};
293
+ text-transform: ${oi};
294
+ }
295
+ `,ui=O`
323
296
  .ft-typography--button {
324
- font-family: ${uo.fontFamily};
325
- font-size: ${uo.fontSize};
326
- font-weight: ${uo.fontWeight};
327
- letter-spacing: ${uo.letterSpacing};
328
- line-height: ${uo.lineHeight};
329
- text-transform: ${uo.textTransform};
330
- }
331
- `,$o=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 Oo=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 So extends Rt{constructor(){super(...arguments),this.variant=sn.body1}render(){return this.element?rn`
336
- <${nn(this.element)}
337
- class="ft-typography ft-typography--${this.variant}">
338
- <slot></slot>
339
- </${nn(this.element)}>
340
- `:rn`
341
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
342
- `}}So.styles=[fo,ho,po,vo,bo,yo,go,mo,xo,wo,$o],Oo([s()],So.prototype,"element",void 0),Oo([s()],So.prototype,"variant",void 0),p("ft-typography")(So);const Eo={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")},ko=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: ${Eo.maxWidth};
358
- text-align: center;
359
- padding: ${Eo.distance};
360
- z-index: ${Eo.zIndex};
361
- }
362
-
363
- .ft-tooltip--content {
364
- padding: 4px 8px;
365
- border-radius: ${Eo.borderRadiusS};
366
- background-color: ${Eo.backgroundColor};
367
- color: ${Eo.color};
368
- position: relative;
369
- word-break: break-word;
370
- }
371
- `;var jo=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 Co 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
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,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, ${Eo.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))}}Co.elementDefinitions={"ft-typography":So},Co.styles=ko,jo([s()],Co.prototype,"text",void 0),jo([s({type:Boolean})],Co.prototype,"manual",void 0),jo([s({type:Boolean})],Co.prototype,"inline",void 0),jo([s({type:Number})],Co.prototype,"delay",void 0),jo([s()],Co.prototype,"position",void 0),jo([
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)],Co.prototype,"slotNodes",void 0),jo([c(".ft-tooltip--container")],Co.prototype,"container",void 0),jo([c(".ft-tooltip")],Co.prototype,"tooltip",void 0),jo([c(".ft-tooltip--content")],Co.prototype,"tooltipContent",void 0),jo([a()],Co.prototype,"visible",void 0),p("ft-tooltip")(Co);const No={color:$t.extend("--ft-loader-color",St.colorPrimary),size:$t.create("--ft-loader-size","SIZE","80px")},Mo=w`
308
+ `,hi=[Object.keys(Et).map((t=>function(t){const o=Et[t];return O`
309
+ .ft-typography--${x(t)} {
310
+ font-family: ${o.fontFamily};
311
+ font-size: ${o.fontSize};
312
+ font-weight: ${o.fontWeight};
313
+ letter-spacing: ${o.letterSpacing};
314
+ line-height: ${o.lineHeight};
315
+ text-transform: ${o.textCase};
316
+ }
317
+ `}(t)))],yi={color:St.extend("--ft-loader-color","",Ut.colorPrimary),size:St.create("--ft-loader-size","","SIZE","80px")},gi=O`
396
318
  :host {
397
319
  line-height: 0;
398
320
  }
@@ -401,8 +323,8 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
401
323
  display: inline-block;
402
324
  position: relative;
403
325
 
404
- width: ${No.size};
405
- height: ${No.size};
326
+ width: ${yi.size};
327
+ height: ${yi.size};
406
328
  }
407
329
 
408
330
  .ft-loader div {
@@ -411,7 +333,7 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
411
333
  width: 25%;
412
334
  height: 25%;
413
335
  border-radius: 50%;
414
- background: ${No.color};
336
+ background: ${yi.color};
415
337
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
416
338
  }
417
339
 
@@ -458,23 +380,10 @@ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},
458
380
  transform: translate(0, 0);
459
381
  }
460
382
  100% {
461
- transform: translate(calc(0.35 * ${No.size}), 0);
383
+ transform: translate(calc(0.35 * ${yi.size}), 0);
462
384
  }
463
385
  }
464
- `;class Ro 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
- `}}Ro.styles=Mo,p("ft-loader")(Ro);
472
- /**
473
- * @license
474
- * Copyright 2017 Google LLC
475
- * SPDX-License-Identifier: BSD-3-Clause
476
- */
477
- class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)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:[]}}}Ao.directiveName="unsafeHTML",Ao.resultType=1;const Uo=Bi(Ao);var Po,Fo;!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;"}(Po||(Po={})),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;"}(Fo||(Fo={}));const Io=new Map([...["abw"].map((t=>[t,Fo.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,Fo.AUDIO])),...["avi"].map((t=>[t,Fo.AVI])),...["chm","xhs"].map((t=>[t,Fo.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,Fo.CODE])),...["csv"].map((t=>[t,Fo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fo.DITA])),...["epub"].map((t=>[t,Fo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fo.EXCEL])),...["flac"].map((t=>[t,Fo.FLAC])),...["gif"].map((t=>[t,Fo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fo.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fo.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,Fo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fo.JPEG])),...["json"].map((t=>[t,Fo.JSON])),...["m4a","m4p"].map((t=>[t,Fo.M4A])),...["mov","qt"].map((t=>[t,Fo.MOV])),...["mp3"].map((t=>[t,Fo.MP3])),...["mp4","m4v"].map((t=>[t,Fo.MP4])),...["ogg","oga"].map((t=>[t,Fo.OGG])),...["pdf","ps"].map((t=>[t,Fo.PDF])),...["png"].map((t=>[t,Fo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fo.POWERPOINT])),...["rar"].map((t=>[t,Fo.RAR])),...["stp"].map((t=>[t,Fo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fo.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,Fo.VIDEO])),...["wav"].map((t=>[t,Fo.WAV])),...["wma"].map((t=>[t,Fo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fo.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fo.YAML])),...["zip"].map((t=>[t,Fo.ZIP]))]),To=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 Lo={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")},zo=w`
386
+ `,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
387
  :host, i.ft-icon {
479
388
  display: inline-flex;
480
389
  align-items: center;
@@ -483,14 +392,14 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
483
392
  }
484
393
 
485
394
  :host {
486
- width: ${Lo.size};
487
- height: ${Lo.size};
395
+ width: ${bi.size};
396
+ height: ${bi.size};
488
397
  }
489
398
 
490
399
  i.ft-icon {
491
400
  width: 100%;
492
401
  height: 100%;
493
- font-size: ${Lo.size};
402
+ font-size: ${bi.size};
494
403
  line-height: 1;
495
404
  font-weight: normal;
496
405
  text-transform: none;
@@ -501,33 +410,28 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
501
410
  text-rendering: auto;
502
411
  -webkit-font-smoothing: antialiased;
503
412
  -moz-osx-font-smoothing: grayscale;
504
- vertical-align: ${Lo.verticalAlign};
413
+ vertical-align: ${bi.verticalAlign};
505
414
  }
506
415
 
507
416
  i.ft-icon.ft-icon--fluid-topics {
508
- font-family: ${Lo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
417
+ font-family: ${bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
509
418
 
510
419
  /* Ugly fix because font is broken */
511
- font-size: calc(0.75 * ${Lo.size});
512
- line-height: ${Lo.size};
420
+ font-size: calc(0.75 * ${bi.size});
421
+ line-height: ${bi.size};
513
422
  position: relative;
514
423
  top: -4%;
515
424
  justify-content: center;
516
425
  }
517
426
 
518
427
  .ft-icon--file-format {
519
- font-family: ${Lo.fileFormatFontFamily}, ft-mime, sans-serif;
428
+ font-family: ${bi.fileFormatFontFamily}, ft-mime, sans-serif;
520
429
  }
521
430
 
522
431
  .ft-icon--material {
523
- font-family: ${Lo.materialFontFamily}, "Material Icons", sans-serif;
432
+ font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
524
433
  }
525
- `;var Bo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Bo||(Bo={}));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 Do extends Rt{constructor(){super(...arguments),this.resolvedIcon=it}render(){const t=this.variant&&Object.values(Bo).includes(this.variant)?this.variant:Bo.fluid_topics,e=t!==Bo.material||!!this.value;return tt`
526
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
527
- ${Uo(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 Bo.file_format:this.resolvedIcon=null!==(t=Fo[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Bo.material:this.resolvedIcon=this.value||it;break;default:this.resolvedIcon=null!==(e=Po[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Do.elementDefinitions={},Do.styles=zo,_o([s()],Do.prototype,"variant",void 0),_o([s()],Do.prototype,"value",void 0),_o([a()],Do.prototype,"resolvedIcon",void 0),_o([c("slot")],Do.prototype,"slottedContent",void 0),p("ft-icon")(Do);const Wo=$t.extend("--ft-button-color",St.colorPrimary),Ko={backgroundColor:$t.extend("--ft-button-background-color",St.colorSurface),borderRadius:$t.extend("--ft-button-border-radius",St.borderRadiusL),color:Wo,fontSize:$t.extend("--ft-button-font-size",uo.fontSize),iconSize:$t.create("--ft-button-icon-size","SIZE","24px"),rippleColor:$t.extend("--ft-button-ripple-color",Wo),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")},Ho=$t.extend("--ft-button-primary-color",$t.extend("--ft-button-color",St.colorOnPrimary)),Zo={backgroundColor:$t.extend("--ft-button-primary-background-color",$t.extend("--ft-button-background-color",St.colorPrimary)),color:Ho,rippleColor:$t.extend("--ft-button-primary-ripple-color",Ho)},qo=$t.extend("--ft-button-dense-border-radius",$t.extend("--ft-button-border-radius",St.borderRadiusM)),Vo=$t.create("--ft-button-dense-vertical-padding","SIZE","2px"),Jo=$t.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Xo=$t.create("--ft-button-dense-icon-padding","SIZE","4px"),Go=[w`
434
+ `,vi=St.extend("--ft-button-color","",Ut.colorPrimary),xi={backgroundColor:St.extend("--ft-button-background-color","",Ut.colorSurface),borderRadius:St.extend("--ft-button-border-radius","",Ut.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(Ut.colorOpacityDisabled,"Design system")},Oi=St.extend("--ft-button-primary-color","",St.extend("--ft-button-color","",Ut.colorOnPrimary)),wi={backgroundColor:St.extend("--ft-button-primary-background-color","",St.extend("--ft-button-background-color","",Ut.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","",Ut.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"),Ri=[O`
531
435
  :host {
532
436
  display: inline-block;
533
437
  max-width: 100%;
@@ -538,7 +442,7 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
538
442
  box-shadow: 0px 0px 0px transparent;
539
443
  border: 0px solid transparent;
540
444
  text-shadow: 0px 0px 0px transparent;
541
- font-size: ${Ko.fontSize};
445
+ font-size: ${xi.fontSize};
542
446
  }
543
447
 
544
448
  button:hover {
@@ -567,31 +471,31 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
567
471
  border: none;
568
472
  pointer-events: auto;
569
473
 
570
- --ft-button-internal-line-height: max(calc(${Ko.fontSize} + 2px), ${Ko.iconSize});
571
- --ft-button-internal-color: ${Ko.color};
572
- ${Ot(Lo.size,Ko.iconSize)};
573
- ${Ot(Ki.color,Ko.rippleColor)};
474
+ --ft-button-internal-line-height: max(calc(${xi.fontSize} + 2px), ${xi.iconSize});
475
+ --ft-button-internal-color: ${xi.color};
476
+ ${Nt(bi.size,xi.iconSize)};
477
+ ${Nt(_e.color,xi.rippleColor)};
574
478
 
575
- border-radius: ${Ko.borderRadius};
576
- padding: ${Ko.verticalPadding} ${Ko.horizontalPadding};
577
- background-color: ${Ko.backgroundColor};
479
+ border-radius: ${xi.borderRadius};
480
+ padding: ${xi.verticalPadding} ${xi.horizontalPadding};
481
+ background-color: ${xi.backgroundColor};
578
482
  color: var(--ft-button-internal-color);
579
483
  -webkit-mask-image: radial-gradient(white, black);
580
484
  }
581
485
 
582
486
  .ft-button.ft-button--outlined {
583
487
  border: 1px solid var(--ft-button-internal-color);
584
- padding: calc(${Ko.verticalPadding} - 1px) calc(${Ko.horizontalPadding} - 1px);
488
+ padding: calc(${xi.verticalPadding} - 1px) calc(${xi.horizontalPadding} - 1px);
585
489
  }
586
490
 
587
491
  .ft-button.ft-button--dense {
588
- padding: ${Vo} ${Jo};
589
- border-radius: ${qo};
590
- gap: ${Xo};
492
+ padding: ${Ni} ${Ci};
493
+ border-radius: ${Si};
494
+ gap: ${Ei};
591
495
  }
592
496
 
593
497
  .ft-button.ft-button--dense.ft-button--outlined {
594
- padding: calc(${Vo} - 1px) calc(${Jo} - 1px);
498
+ padding: calc(${Ni} - 1px) calc(${Ci} - 1px);
595
499
  }
596
500
 
597
501
  .ft-button:not([disabled]):hover {
@@ -599,22 +503,22 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
599
503
  }
600
504
 
601
505
  .ft-button--round {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ko.verticalPadding});
506
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xi.verticalPadding});
603
507
  }
604
508
 
605
509
  .ft-button--round.ft-button--dense {
606
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vo});
510
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ni});
607
511
  }
608
512
 
609
513
  .ft-button[disabled] {
610
514
  filter: grayscale(1);
611
- opacity: ${Ko.opacityDisabled};
515
+ opacity: ${xi.opacityDisabled};
612
516
  }
613
517
 
614
518
  .ft-button.ft-button--primary {
615
- background-color: ${Zo.backgroundColor};
616
- --ft-button-internal-color: ${Zo.color};
617
- ${Ot(Ki.color,Zo.rippleColor)};
519
+ background-color: ${wi.backgroundColor};
520
+ --ft-button-internal-color: ${wi.color};
521
+ ${Nt(_e.color,wi.rippleColor)};
618
522
  }
619
523
 
620
524
  .ft-button:focus {
@@ -627,13 +531,13 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
627
531
  white-space: nowrap;
628
532
  text-overflow: ellipsis;
629
533
  display: block;
630
- margin: 0 ${Ko.iconPadding};
631
- ${Ot(uo.fontSize,"1em")};
632
- ${Ot(uo.lineHeight,"var(--ft-button-internal-line-height)")};
534
+ margin: 0 ${xi.iconPadding};
535
+ ${Nt(ei.fontSize,"1em")};
536
+ ${Nt(ei.lineHeight,"var(--ft-button-internal-line-height)")};
633
537
  }
634
538
 
635
539
  .ft-button--dense .ft-button--label {
636
- margin: 0 ${Xo};
540
+ margin: 0 ${Ei};
637
541
  }
638
542
 
639
543
  .ft-button--label[hidden] {
@@ -646,13 +550,13 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
646
550
  }
647
551
 
648
552
  .ft-button--label[hidden] + ft-icon {
649
- margin: 0 calc(${Ko.horizontalPadding} * -1);
650
- padding: 0 ${Ko.verticalPadding};
553
+ margin: 0 calc(${xi.horizontalPadding} * -1);
554
+ padding: 0 ${xi.verticalPadding};
651
555
  }
652
556
 
653
557
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
654
- margin: 0 calc(${Jo} * -1);
655
- padding: 0 ${Vo};
558
+ margin: 0 calc(${Ci} * -1);
559
+ padding: 0 ${Ni};
656
560
  }
657
561
 
658
562
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -661,19 +565,119 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
661
565
  }
662
566
 
663
567
  ft-loader {
664
- ${Ot(No.size,Ko.iconSize)};
665
- ${Ot(No.color,"var(--ft-button-internal-color)")};
568
+ ${Nt(yi.size,xi.iconSize)};
569
+ ${Nt(yi.color,"var(--ft-button-internal-color)")};
666
570
  }
667
- `,At];var Qo=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 Yo extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ui].form}constructor(...t){super(t),this[Ui]=this.attachInternals(),this[Ui].role=e}setFormValue(t){this[Ui].setFormValue(t)}}}(Rt,"button")){constructor(){super(...arguments),this.role="button",this.type="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=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}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`
571
+ `,Kt],$i=1,Ui=2,Ii=t=>(...o)=>({_$litDirective$:t,values:o});class ki{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)}}
572
+ /**
573
+ * @license
574
+ * Copyright 2018 Google LLC
575
+ * SPDX-License-Identifier: BSD-3-Clause
576
+ */const Li=Ii(class extends ki{constructor(t){var o;if(super(t),t.type!==$i||"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 Ai 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`
577
+ <style>
578
+ .ft-ripple .ft-ripple--effect {
579
+ left: ${this.originX}px;
580
+ top: ${this.originY}px;
581
+ }
582
+ </style>
583
+ <div class="${Li(t)}">
584
+ <div class="ft-ripple--background"></div>
585
+ <div class="ft-ripple--effect"></div>
586
+ </div>
587
+ `}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()}}Ai.elementDefinitions={},Ai.styles=Je,Wi([a({type:Boolean})],Ai.prototype,"primary",void 0),Wi([a({type:Boolean})],Ai.prototype,"secondary",void 0),Wi([a({type:Boolean})],Ai.prototype,"unbounded",void 0),Wi([a({type:Boolean})],Ai.prototype,"activated",void 0),Wi([a({type:Boolean})],Ai.prototype,"selected",void 0),Wi([a({type:Boolean})],Ai.prototype,"disabled",void 0),Wi([s()],Ai.prototype,"hovered",void 0),Wi([s()],Ai.prototype,"focused",void 0),Wi([s()],Ai.prototype,"pressed",void 0),Wi([s()],Ai.prototype,"rippling",void 0),Wi([s()],Ai.prototype,"originX",void 0),Wi([s()],Ai.prototype,"originY",void 0),Wi([c(".ft-ripple")],Ai.prototype,"ripple",void 0),Wi([c(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),d("ft-ripple")(Ai);
588
+ /**
589
+ * @license
590
+ * Copyright 2020 Google LLC
591
+ * SPDX-License-Identifier: BSD-3-Clause
592
+ */
593
+ const ji=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===ji)return null==t?void 0:t._$litStatic$},Ki=t=>({_$litStatic$:t,r:ji}),Di=new Map,Bi=(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=Di.get(t))&&(a.raw=a,Di.set(t,o=a)),e=s}return t(o,...e)})(tt);var Pi;!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"}(Pi||(Pi={}));var Mi=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 zi extends Ft{constructor(){super(...arguments),this.variant=Pi.body1}render(){return this.element?Bi`
594
+ <${Ki(this.element)}
595
+ class="ft-typography ft-typography--${this.variant}">
596
+ <slot></slot>
597
+ </${Ki(this.element)}>
598
+ `:Bi`
599
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
600
+ `}}zi.styles=[ri,ii,ni,ai,si,li,ci,fi,pi,ui,di,...hi],Mi([a()],zi.prototype,"element",void 0),Mi([a()],zi.prototype,"variant",void 0),d("ft-typography")(zi);const Zi={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(Ut.borderRadiusS,"Design system"),maxWidth:St.create("--ft-tooltip-max-width","","SIZE","150px")},Ti=O`
601
+ .ft-tooltip--container {
602
+ display: block;
603
+ }
604
+
605
+ .ft-tooltip--inline {
606
+ display: inline-block;
607
+ max-width: 100%;
608
+ }
609
+
610
+ .ft-tooltip {
611
+ position: absolute;
612
+ box-sizing: border-box;
613
+ overflow: hidden;
614
+ width: max-content;
615
+ max-width: ${Zi.maxWidth};
616
+ text-align: center;
617
+ padding: ${Zi.distance};
618
+ z-index: ${Zi.zIndex};
619
+ }
620
+
621
+ .ft-tooltip--content {
622
+ padding: 4px 8px;
623
+ border-radius: ${Zi.borderRadiusS};
624
+ background-color: ${Zi.backgroundColor};
625
+ color: ${Zi.color};
626
+ position: relative;
627
+ word-break: break-word;
628
+ }
629
+ `;var _i=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 Hi 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`
630
+ <div part="container"
631
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
632
+ @mouseenter=${this.onHover}
633
+ @mouseleave=${this.onOut}
634
+ @focusin=${this.onHover}
635
+ @focusout=${this.onOut}
636
+ @touchstart=${this.onTouch}>
637
+ <slot></slot>
638
+ <div part="tooltip" role="tooltip" inert
639
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
640
+ ?hidden=${!this.visible}>
641
+ <div part="tooltip-content" class="ft-tooltip--content">
642
+ <slot name="text"></slot>
643
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
644
+ </div>
645
+ </div>
646
+ </div>
647
+ `}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, ${Zi.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))}}Hi.elementDefinitions={"ft-typography":zi},Hi.styles=Ti,_i([a()],Hi.prototype,"text",void 0),_i([a({type:Boolean})],Hi.prototype,"manual",void 0),_i([a({type:Boolean})],Hi.prototype,"inline",void 0),_i([a({type:Number})],Hi.prototype,"delay",void 0),_i([a()],Hi.prototype,"position",void 0),_i([
648
+ /**
649
+ * @license
650
+ * Copyright 2017 Google LLC
651
+ * SPDX-License-Identifier: BSD-3-Clause
652
+ */
653
+ 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)],Hi.prototype,"slotNodes",void 0),_i([c(".ft-tooltip--container")],Hi.prototype,"container",void 0),_i([c(".ft-tooltip")],Hi.prototype,"tooltip",void 0),_i([c(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),_i([s()],Hi.prototype,"visible",void 0),d("ft-tooltip")(Hi);
654
+ /**
655
+ * @license
656
+ * Copyright 2017 Google LLC
657
+ * SPDX-License-Identifier: BSD-3-Clause
658
+ */
659
+ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)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=Ii(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 Xi=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]))]),Ji=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`
660
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
661
+ ${qi(this.resolvedIcon)}
662
+ <slot ?hidden=${o}></slot>
663
+ </i>
664
+ `}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`
665
+ <div class="ft-loader">
666
+ <div></div>
667
+ <div></div>
668
+ <div></div>
669
+ <div></div>
670
+ </div>
671
+ `}}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[Be].form}constructor(...t){super(t),this[Be]=this.attachInternals(),this[Be].role=o}setFormValue(t){this[Be].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
672
  <button part="button"
669
- class="${Di(t)}"
673
+ class="${Li(this.buttonClasses)}"
670
674
  aria-label="${this.getLabel()}"
671
675
  ?disabled=${this.isDisabled()}>
672
676
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
673
677
  <ft-typography part="label"
674
- variant="button"
678
+ variant=${this.typographyVariant}
675
679
  element="span"
676
- class="ft-button--label ${Ti?"ft-safari-ellipsis-fix":""}"
680
+ class="ft-button--label ${Ze?"ft-safari-ellipsis-fix":""}"
677
681
  ?hidden=${!this.hasTextContent()}>
678
682
  <slot @slotchange=${this.onSlotchange}></slot>
679
683
  </ft-typography>
@@ -687,7 +691,225 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
687
691
  </ft-tooltip>
688
692
  `:t}resolveIcon(){return this.loading?tt`
689
693
  <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}}Yo.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":Co,"ft-typography":So,"ft-icon":Do,"ft-loader":Ro},Yo.styles=[Pt,Go],Qo([s({type:String,reflect:!0})],Yo.prototype,"role",void 0),Qo([s()],Yo.prototype,"type",void 0),Qo([s({type:Boolean})],Yo.prototype,"primary",void 0),Qo([s({type:Boolean})],Yo.prototype,"outlined",void 0),Qo([s({type:Boolean})],Yo.prototype,"disabled",void 0),Qo([s({type:Boolean})],Yo.prototype,"dense",void 0),Qo([s({type:Boolean})],Yo.prototype,"round",void 0),Qo([s()],Yo.prototype,"label",void 0),Qo([s()],Yo.prototype,"icon",void 0),Qo([s()],Yo.prototype,"iconVariant",void 0),Qo([s({type:Boolean})],Yo.prototype,"trailingIcon",void 0),Qo([s({type:Boolean})],Yo.prototype,"loading",void 0),Qo([s()],Yo.prototype,"tooltipPosition",void 0),Qo([s({type:Boolean})],Yo.prototype,"hideTooltip",void 0),Qo([s({type:Boolean})],Yo.prototype,"forceTooltip",void 0),Qo([c(".ft-button")],Yo.prototype,"button",void 0),Qo([c(".ft-button--label slot")],Yo.prototype,"slottedContent",void 0),p("ft-button")(Yo);const tr={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(Ko.color,"Button"),buttonRippleColor:$t.external(Ko.rippleColor,"Button")},er=w`
694
+ <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":Ai,"ft-tooltip":Hi,"ft-typography":zi,"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=[Bt,Ri],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`
695
+ :host {
696
+ display: inline-block;
697
+ max-width: 100%;
698
+ pointer-events: none;
699
+ }
700
+
701
+ /** Remove default button styles **/
702
+
703
+ button {
704
+ box-shadow: 0 0 0 transparent;
705
+ border: 0 solid transparent;
706
+ text-shadow: 0 0 0 transparent;
707
+ }
708
+
709
+ button:hover {
710
+ box-shadow: 0 0 0 transparent;
711
+ text-shadow: 0 0 0 transparent;
712
+ }
713
+
714
+ button:active {
715
+ outline: none;
716
+ }
717
+
718
+ button:focus {
719
+ outline: 0;
720
+ }
721
+
722
+ /** Base styles **/
723
+
724
+ .ft-button {
725
+ position: relative;
726
+ display: flex;
727
+ justify-content: center;
728
+ align-items: center;
729
+ width: 100%;
730
+ overflow: hidden;
731
+ box-sizing: border-box;
732
+ pointer-events: auto;
733
+ }
734
+
735
+ .ft-button:not([disabled]):hover {
736
+ cursor: pointer;
737
+ }
738
+
739
+ .ft-button:focus {
740
+ outline: none;
741
+ }
742
+
743
+ .ft-button:focus-visible {
744
+ outline-color: ${$t.focusFocusRingColor};
745
+ outline-style: solid;
746
+ }
747
+
748
+ ft-icon {
749
+ flex-shrink: 0;
750
+ position: relative;
751
+ }
752
+
753
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
754
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
755
+ order: -1;
756
+ }
757
+
758
+ .ft-button--label {
759
+ position: relative;
760
+ overflow: hidden;
761
+ white-space: nowrap;
762
+ text-overflow: ellipsis;
763
+ display: block;
764
+ }
765
+
766
+ .ft-button--label[hidden] {
767
+ display: none;
768
+ }
769
+
770
+ /** Primary styles **/
771
+
772
+ .ft-button--primary {
773
+ ${Nt(yi.color,$t.primaryIconColor)};
774
+
775
+ ${Nt(_e.color,$t.primaryStateLayerColor)};
776
+ ${Nt(_e.opacityContentOnSurfaceHover,$t.primaryStateLayerOpacityHover)};
777
+ ${Nt(_e.opacityContentOnSurfaceFocused,$t.primaryStateLayerOpacityFocus)};
778
+ ${Nt(_e.opacityContentOnSurfaceSelected,$t.primaryStateLayerOpacityActive)};
779
+ ${Nt(_e.opacityContentOnSurfacePressed,$t.primaryStateLayerOpacityActive)};
780
+
781
+ background-color: ${$t.primaryBackgroundColor};
782
+ color: ${$t.primaryColor};
783
+ border-style: none;
784
+ }
785
+
786
+ .ft-button--primary[disabled] {
787
+ opacity: ${$t.primaryComponentOpacityDisabled};
788
+ }
789
+
790
+ .ft-button--primary ft-icon {
791
+ color: ${$t.primaryIconColor};
792
+ }
793
+
794
+ /** Secondary styles **/
795
+
796
+ .ft-button--secondary {
797
+ ${Nt(yi.color,$t.secondaryIconColor)};
798
+
799
+ ${Nt(_e.color,$t.secondaryStateLayerColor)};
800
+ ${Nt(_e.opacityContentOnSurfaceHover,$t.secondaryStateLayerOpacityHover)};
801
+ ${Nt(_e.opacityContentOnSurfaceFocused,$t.secondaryStateLayerOpacityFocus)};
802
+ ${Nt(_e.opacityContentOnSurfaceSelected,$t.secondaryStateLayerOpacityActive)};
803
+ ${Nt(_e.opacityContentOnSurfacePressed,$t.secondaryStateLayerOpacityActive)};
804
+
805
+ background-color: ${$t.secondaryBackgroundColor};
806
+ color: ${$t.secondaryColor};
807
+ border-color: ${$t.secondaryBorderColor};
808
+ border-style: solid;
809
+ }
810
+
811
+ .ft-button--secondary[disabled] {
812
+ opacity: ${$t.secondaryComponentOpacityDisabled};
813
+ }
814
+
815
+ .ft-button--secondary ft-icon {
816
+ color: ${$t.secondaryIconColor};
817
+ }
818
+
819
+ /** Tertiary styles **/
820
+
821
+ .ft-button--tertiary {
822
+ ${Nt(yi.color,$t.tertiaryIconColor)};
823
+
824
+ ${Nt(_e.color,$t.tertiaryStateLayerColor)};
825
+ ${Nt(_e.opacityContentOnSurfaceHover,$t.tertiaryStateLayerOpacityHover)};
826
+ ${Nt(_e.opacityContentOnSurfaceFocused,$t.tertiaryStateLayerOpacityFocus)};
827
+ ${Nt(_e.opacityContentOnSurfaceSelected,$t.tertiaryStateLayerOpacityActive)};
828
+ ${Nt(_e.opacityContentOnSurfacePressed,$t.tertiaryStateLayerOpacityActive)};
829
+
830
+ background-color: ${$t.tertiaryBackgroundColor};
831
+ color: ${$t.tertiaryColor};
832
+ border-style: none;
833
+ }
834
+
835
+ .ft-button--tertiary[disabled] {
836
+ opacity: ${$t.tertiaryComponentOpacityDisabled};
837
+ }
838
+
839
+ .ft-button--tertiary ft-icon {
840
+ color: ${$t.tertiaryIconColor};
841
+ }
842
+
843
+ /** Neutral styles **/
844
+
845
+ .ft-button--neutral {
846
+ ${Nt(yi.color,$t.neutralIconColor)};
847
+
848
+ ${Nt(_e.backgroundColor,$t.neutralStateLayerColor)};
849
+ ${Nt(_e.opacityContentOnSurfaceHover,$t.neutralStateLayerOpacityHover)};
850
+ ${Nt(_e.opacityContentOnSurfaceFocused,$t.neutralStateLayerOpacityFocus)};
851
+ ${Nt(_e.opacityContentOnSurfaceSelected,$t.neutralStateLayerOpacityActive)};
852
+ ${Nt(_e.opacityContentOnSurfacePressed,$t.neutralStateLayerOpacityActive)};
853
+
854
+ background-color: ${$t.neutralBackgroundColor};
855
+ color: ${$t.neutralColor};
856
+ border-style: none;
857
+ }
858
+
859
+ .ft-button--neutral[disabled] {
860
+ opacity: ${$t.neutralComponentOpacityDisabled};
861
+ }
862
+
863
+ .ft-button--neutral ft-icon {
864
+ color: ${$t.neutralIconColor};
865
+ }
866
+
867
+ /** Large styles **/
868
+
869
+ .ft-button--large {
870
+ ${Nt(bi.size,$t.largeIconSize)};
871
+ ${Nt(yi.size,$t.largeIconSize)};
872
+
873
+ height: ${$t.largeHeight};
874
+ padding: 0 ${$t.largeHorizontalPadding};
875
+ gap: ${$t.largeGap};
876
+ border-radius: ${$t.largeBorderRadius};
877
+ border-width: ${$t.largeBorderWidth};
878
+ }
879
+
880
+ .ft-button--large:focus-visible {
881
+ outline-width: ${$t.largeFocusOutlineWidth};
882
+ outline-offset: ${$t.largeFocusOutlineOffset};
883
+ }
884
+
885
+ .ft-button--large.ft-button--icon-only {
886
+ width: ${$t.largeIconOnlyWidth};
887
+ padding: unset;
888
+ }
889
+
890
+ /** Small styles **/
891
+
892
+ .ft-button--small {
893
+ ${Nt(bi.size,$t.smallIconSize)};
894
+ ${Nt(yi.size,$t.smallIconSize)};
895
+
896
+ height: ${$t.smallHeight};
897
+ padding: 0 ${$t.smallHorizontalPadding};
898
+ gap: ${$t.smallGap};
899
+ border-radius: ${$t.smallBorderRadius};
900
+ border-width: ${$t.smallBorderWidth};
901
+ }
902
+
903
+ .ft-button--small:focus-visible {
904
+ outline-width: ${$t.smallFocusOutlineWidth};
905
+ outline-offset: ${$t.smallFocusOutlineOffset};
906
+ }
907
+
908
+ .ft-button--small.ft-button--icon-only {
909
+ width: ${$t.smallIconOnlyWidth};
910
+ padding: unset;
911
+ }
912
+ `,Kt];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?Pi.caption1medium:Pi.body2medium}}fn.styles=[Bt,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","",Ut.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(Ut.colorSurface,"Design system"),colorOnSurface:St.external(Ut.colorOnSurface,"Design system"),colorOnSurfaceMedium:St.external(Ut.colorOnSurfaceMedium,"Design system"),colorOutline:St.external(Ut.colorOutline,"Design system"),colorPrimary:St.external(Ut.colorPrimary,"Design system"),elevation02:St.external(Ut.elevation02,"Design system"),buttonColor:St.external(xi.color,"Button"),buttonRippleColor:St.external(xi.rippleColor,"Button")},un=O`
691
913
  * {
692
914
  box-sizing: border-box;
693
915
  }
@@ -697,11 +919,11 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
697
919
  display: flex;
698
920
  flex-direction: row;
699
921
  align-items: center;
700
- height: ${tr.height};
922
+ height: ${pn.height};
701
923
 
702
- background: ${tr.colorSurface};
703
- border: 1px solid ${tr.colorOutline};
704
- border-radius: ${tr.borderRadius};
924
+ background: ${pn.colorSurface};
925
+ border: 1px solid ${pn.colorOutline};
926
+ border-radius: ${pn.borderRadius};
705
927
  }
706
928
 
707
929
  .ft-search-input--input-container {
@@ -716,23 +938,23 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
716
938
  width: 100%;
717
939
  display: grid;
718
940
  padding: 0 8px;
719
- border-radius: ${tr.borderRadius};
941
+ border-radius: ${pn.borderRadius};
720
942
  }
721
943
 
722
944
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
723
- outline: 2px solid ${tr.colorPrimary};
945
+ outline: 2px solid ${pn.colorPrimary};
724
946
  }
725
947
 
726
948
  .ft-search-input--input {
727
949
  height: 100%;
728
950
  border: none;
729
951
  background-color: transparent;
730
- color: ${tr.colorOnSurface};
952
+ color: ${pn.colorOnSurface};
731
953
  outline: none;
732
954
  }
733
955
 
734
956
  .ft-search-input--input::placeholder {
735
- color: ${tr.colorOnSurfaceMedium};
957
+ color: ${pn.colorOnSurfaceMedium};
736
958
  }
737
959
 
738
960
  .ft-search-input--actions {
@@ -742,13 +964,13 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
742
964
  align-items: center;
743
965
  height: 100%;
744
966
 
745
- ${Ot(Eo.zIndex,`calc(${tr.floatingZIndex} + 1)`)};
967
+ ${Nt(Zi.zIndex,`calc(${pn.floatingZIndex} + 1)`)};
746
968
  }
747
969
 
748
970
  .ft-search-input > ft-button,
749
971
  .ft-search-input--actions ft-button {
750
972
  flex-shrink: 0;
751
- ${Ot(Ko.backgroundColor,"transparent")};
973
+ ${Nt(xi.backgroundColor,"transparent")};
752
974
  }
753
975
 
754
976
  .ft-search-input .ft-search-input--launch-search,
@@ -766,31 +988,31 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
766
988
 
767
989
  .ft-search-input--separator {
768
990
  height: 20px;
769
- border-right: 1px solid ${tr.colorOutline};
991
+ border-right: 1px solid ${pn.colorOutline};
770
992
  }
771
- `,ir=w`
772
- `,nr=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 or{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=nr.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?or.build(t):null!==(e=or.API)&&void 0!==e?e:or.API=or.build()}static await(t){return new Promise((e=>{let i=or.get(t);if(i)e(i);else{const n=nr.subscribe((()=>{i=or.get(t),i&&(n(),e(i))}))}}))}}var rr;const sr=Symbol("clearAfterUnitTest");class ar{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[rr]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=nr.getState().uiLocale,nr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=nr.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})))}}rr=sr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ar((async(t,e)=>(await or.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ar((async(t,e)=>(await or.await()).getCustomMessageContext(t,e))));const lr=window.FluidTopicsI18nService,cr=window.FluidTopicsCustomI18nService;var ur=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 fr 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=()=>or.get(),this.cache=new n,this.cleanSessionDebouncer=new o}render(){return tt`
993
+ `;var dn,hn,yn,gn,bn,mn,vn,xn,On,wn,Sn,Nn,Cn,En;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function l(t){this.map={},t instanceof l?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function u(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new l(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),h.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new l(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),o.Headers=l,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(dn||(dn={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(hn||(hn={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(yn||(yn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(gn||(gn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(bn||(bn={})),function(t){t.ASC="ASC",t.DESC="DESC"}(mn||(mn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(vn||(vn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(xn||(xn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(On||(On={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(wn||(wn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sn||(Sn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Nn||(Nn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Cn||(Cn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(En||(En={})),En.PERSONAL_BOOK_SHARE_USER,En.PERSONAL_BOOK_USER,En.HTML_EXPORT_USER,En.PERSONAL_BOOK_USER,En.PDF_EXPORT_USER,En.PERSONAL_BOOK_USER,En.KHUB_ADMIN,En.CONTENT_PUBLISHER,En.ADMIN,En.KHUB_ADMIN,En.USERS_ADMIN,En.PORTAL_ADMIN,En.DEVELOPER,En.BETA_USER,En.DEBUG_USER;const Rn=O`
994
+ `,$n=Ke.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 Un{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=$n.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?Un.build(t):null!==(o=Un.API)&&void 0!==o?o:Un.API=Un.build()}static await(t){return new Promise((o=>{let e=Un.get(t);if(e)o(e);else{const r=$n.subscribe((()=>{e=Un.get(t),e&&(r(),o(e))}))}}))}}var In;const kn=Symbol("clearAfterUnitTest");class Ln{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[In]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=$n.getState().uiLocale,$n.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=$n.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 Pt(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})))}}In=kn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ln((async(t,o)=>(await Un.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ln((async(t,o)=>(await Un.await()).getCustomMessageContext(t,o))));const Wn=window.FluidTopicsI18nService,An=window.FluidTopicsCustomI18nService;var jn=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 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=()=>Un.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return tt`
773
995
  <slot></slot>
774
- `}update(t){super.update(t),t.has("baseUrl")&&nr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&nr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&nr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&nr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&nr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&nr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&nr.actions.setSession(this.session),t.has("availableUiLocales")&&nr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>lr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}fr.elementDefinitions={},fr.styles=ir,ur([s()],fr.prototype,"baseUrl",void 0),ur([s()],fr.prototype,"apiIntegrationIdentifier",void 0),ur([s()],fr.prototype,"uiLocale",void 0),ur([d([])],fr.prototype,"availableUiLocales",void 0),ur([s({type:Boolean})],fr.prototype,"editorMode",void 0),ur([s({type:Boolean})],fr.prototype,"noCustom",void 0),ur([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],fr.prototype,"noCustomComponent",void 0),ur([s({type:Boolean})],fr.prototype,"withManualResources",void 0),ur([d([])],fr.prototype,"messageContexts",void 0),ur([d(void 0)],fr.prototype,"session",void 0),ur([s({type:Object})],fr.prototype,"apiProvider",void 0);class hr{async listMySearches(){var t;return(null===(t=nr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await or.await()).listMySearches(nr.getState().session.profile.userId):[]}}const pr=new n;class dr{async listMyBookmarks(){return pr.get("bookmarks",(async()=>(await or.await()).listMyBookmarks(nr.getState().session.profile.userId)))}clearCache(){pr.clear("bookmarks")}}const vr=Ri.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=nr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new dr,nr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=nr.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(){vr.actions.savedSearches(void 0)}clearMyBookmarks(){vr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new hr,e=await t.listMySearches();vr.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;vr.actions.bookmarks(e)}}},p("ft-app-context")(fr);class br extends Event{constructor(){super(br.eventName)}}br.eventName="search-context-clear-all-filters";var yr=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 gr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const mr=Symbol("registerInterval");class xr 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[mr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[mr]):this.dispatchEvent(new gr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=mr,yr([a()],i.prototype,"stateManager",void 0),i}(Wt)){}const wr=w`
775
- `;var $r=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 Or=Symbol("i18nProperties"),Sr=Symbol("i18nUnsubs");function Er(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?cr:lr}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[Or])||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[Or])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Or]&&new Set([...this[Or].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Sr].has(t)||this[Sr].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[Sr].forEach((t=>t())),this[Sr].clear()}}return e=Sr,$r([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class kr extends(Er(Rt)){}class jr extends(Er(Wt)){}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 Nr extends jr{constructor(){super(),this.editorMode=!1,this.addStore(nr)}render(){return this.key&&this.context?tt`
996
+ `}update(t){super.update(t),t.has("baseUrl")&&$n.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&$n.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&$n.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&$n.actions.setNoCustom(this.noCustom),t.has("editorMode")&&$n.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&$n.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&$n.actions.setSession(this.session),t.has("availableUiLocales")&&$n.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Wn.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()))))}}Fn.elementDefinitions={},Fn.styles=Rn,jn([a()],Fn.prototype,"baseUrl",void 0),jn([a()],Fn.prototype,"apiIntegrationIdentifier",void 0),jn([a()],Fn.prototype,"uiLocale",void 0),jn([h([])],Fn.prototype,"availableUiLocales",void 0),jn([a({type:Boolean})],Fn.prototype,"editorMode",void 0),jn([a({type:Boolean})],Fn.prototype,"noCustom",void 0),jn([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Fn.prototype,"noCustomComponent",void 0),jn([a({type:Boolean})],Fn.prototype,"withManualResources",void 0),jn([h([])],Fn.prototype,"messageContexts",void 0),jn([h(void 0)],Fn.prototype,"session",void 0),jn([a({type:Object})],Fn.prototype,"apiProvider",void 0);class Kn{async listMySearches(){var t;return(null===(t=$n.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Un.await()).listMySearches($n.getState().session.profile.userId):[]}}const Dn=new r;class Bn{async listMyBookmarks(){return Dn.get("bookmarks",(async()=>(await Un.await()).listMyBookmarks($n.getState().session.profile.userId)))}clearCache(){Dn.clear("bookmarks")}}const Pn=Ke.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=$n.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Bn,$n.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=$n.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(){Pn.actions.savedSearches(void 0)}clearMyBookmarks(){Pn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Kn,o=await t.listMySearches();Pn.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;Pn.actions.bookmarks(o)}}},d("ft-app-context")(Fn);class Mn extends Event{constructor(){super(Mn.eventName)}}Mn.eventName="search-context-clear-all-filters";var zn=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 Zn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Tn=Symbol("registerInterval");class _n 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[Tn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Tn]):this.dispatchEvent(new Zn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Tn,zn([s()],e.prototype,"stateManager",void 0),e}(qt)){}const Hn=O`
997
+ `;var Gn=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 qn=Symbol("i18nProperties"),Vn=Symbol("i18nUnsubs");function Yn(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?An:Wn}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[qn])||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[qn])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[qn]&&new Set([...this[qn].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Vn].has(t)||this[Vn].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[Vn].forEach((t=>t())),this[Vn].clear()}}return o=Vn,Gn([a({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Xn extends(Yn(Ft)){}class Jn extends(Yn(qt)){}var Qn=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 ta extends Jn{constructor(){super(),this.editorMode=!1,this.addStore($n)}render(){return this.key&&this.context?tt`
776
998
  <span class="ft-i18n">
777
999
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
778
1000
  </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})}}Nr.elementDefinitions={},Nr.styles=wr,Cr([Ai()],Nr.prototype,"editorMode",void 0),Cr([s()],Nr.prototype,"context",void 0),Cr([s()],Nr.prototype,"key",void 0),Cr([d([])],Nr.prototype,"args",void 0),Cr([s()],Nr.prototype,"defaultMessage",void 0);class Mr{static build(t){return new Mr(t)}static fromGwt(t){return new Mr(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)=>lr.resolveMessage(this.name,e,...t)})}}p("ft-i18n")(Nr);const Rr=Mr.build("designedSearchInput"),Ar=w`
1001
+ `: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})}}ta.elementDefinitions={},ta.styles=Hn,Qn([De()],ta.prototype,"editorMode",void 0),Qn([a()],ta.prototype,"context",void 0),Qn([a()],ta.prototype,"key",void 0),Qn([h([])],ta.prototype,"args",void 0),Qn([a()],ta.prototype,"defaultMessage",void 0);class oa{static build(t){return new oa(t)}static fromGwt(t){return new oa(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)=>Wn.resolveMessage(this.name,o,...t)})}}d("ft-i18n")(ta);const ea=oa.build("designedSearchInput"),ra=O`
780
1002
  * {
781
1003
  box-sizing: border-box;
782
1004
  }
783
1005
 
784
1006
  .ft-search-input-suggestion {
785
1007
  position: absolute;
786
- z-index: ${tr.floatingZIndex};
1008
+ z-index: ${pn.floatingZIndex};
787
1009
  top: calc(100% + 2px);
788
1010
  left: -1px;
789
1011
  right: -1px;
790
- background: ${tr.colorSurface};
791
- border: 1px solid ${tr.colorOutline};
792
- border-radius: 0 0 ${tr.borderRadius} ${tr.borderRadius};
793
- box-shadow: ${tr.elevation02};
1012
+ background: ${pn.colorSurface};
1013
+ border: 1px solid ${pn.colorOutline};
1014
+ border-radius: 0 0 ${pn.borderRadius} ${pn.borderRadius};
1015
+ box-shadow: ${pn.elevation02};
794
1016
  }
795
1017
 
796
1018
  .ft-search-input-suggestion--suggestion {
@@ -801,7 +1023,7 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
801
1023
  padding: 8px;
802
1024
  gap: 8px;
803
1025
  cursor: pointer;
804
- color: ${tr.colorOnSurface};
1026
+ color: ${pn.colorOnSurface};
805
1027
  min-height: 44px;
806
1028
  }
807
1029
 
@@ -823,32 +1045,32 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
823
1045
  * @license
824
1046
  * Copyright 2020 Google LLC
825
1047
  * SPDX-License-Identifier: BSD-3-Clause
826
- */,{I:Ur}=bt,Pr=()=>document.createComment(""),Fr=(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(Pr(),r),n=o.insertBefore(Pr(),r);i=new Ur(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},Ir=(t,e,i=t)=>(t._$AI(e,i),t),Tr={},Lr=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}},zr=(t,e,i)=>{const n=new Map;for(let o=e;o<=i;o++)n.set(t[o],o);return n},Br=Bi(class extends _i{constructor(t){if(super(t),t.type!==zi)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]=Ir(r[h],s[d]),h++,d++;else if(l[p]===a[v])c[v]=Ir(r[p],s[v]),p--,v--;else if(l[h]===a[v])c[v]=Ir(r[h],s[v]),Fr(t,c[v+1],r[h]),h++,v--;else if(l[p]===a[d])c[d]=Ir(r[p],s[d]),Fr(t,r[h],r[p]),p--,d++;else if(void 0===u&&(u=zr(a,d,v),f=zr(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=Fr(t,r[h]);Ir(e,s[d]),c[d]=e}else c[d]=Ir(i,s[d]),Fr(t,r[h],i),r[e]=null;d++}else Lr(r[p]),p--;else Lr(r[h]),h++;for(;d<=v;){const e=Fr(t,c[v+1]);Ir(e,s[d]),c[d++]=e}for(;h<=p;){const t=r[h++];null!==t&&Lr(t)}return this.ht=a,((t,e=Tr)=>{t._$AH=e})(t,c),et}});var _r=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 Dr extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let Wr=class extends xr{render(){return tt`
1048
+ */,{I:ia}=gt,na=()=>document.createComment(""),aa=(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(na(),n),r=i.insertBefore(na(),n);e=new ia(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},sa=(t,o,e=t)=>(t._$AI(o,e),t),la={},ca=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}},fa=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},pa=Ii(class extends ki{constructor(t){if(super(t),t.type!==Ui)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]=sa(n[u],a[h]),u++,h++;else if(l[d]===s[y])c[y]=sa(n[d],a[y]),d--,y--;else if(l[u]===s[y])c[y]=sa(n[u],a[y]),aa(t,c[y+1],n[u]),u++,y--;else if(l[d]===s[h])c[h]=sa(n[d],a[h]),aa(t,n[u],n[d]),d--,h++;else if(void 0===f&&(f=fa(s,h,y),p=fa(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=aa(t,n[u]);sa(o,a[h]),c[h]=o}else c[h]=sa(e,a[h]),aa(t,n[u],e),n[o]=null;h++}else ca(n[d]),d--;else ca(n[u]),u++;for(;h<=y;){const o=aa(t,c[y+1]);sa(o,a[h]),c[h++]=o}for(;u<=d;){const t=n[u++];null!==t&&ca(t)}return this.ht=s,((t,o=la)=>{t._$AH=o})(t,c),ot}});var ua=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 da extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let ha=class extends _n{render(){return tt`
827
1049
  <div class="ft-search-input-suggestion ft-word-wrap"
828
1050
  part="container"
829
1051
  @keydown=${t=>this.onSuggestKeyDown(t)}>
830
- ${Br(this.suggestResults||[],(t=>t.value),(t=>tt`
1052
+ ${pa(this.suggestResults||[],(t=>t.value),(t=>tt`
831
1053
  <a href="#"
832
1054
  part="suggestion"
833
1055
  class="ft-search-input-suggestion--suggestion"
834
- @keyup=${e=>this.onSuggestKeyUp(e,t.value)}
835
- @click=${e=>this.onSuggestSelected(e,t.value)}>
1056
+ @keyup=${o=>this.onSuggestKeyUp(o,t.value)}
1057
+ @click=${o=>this.onSuggestSelected(o,t.value)}>
836
1058
  <ft-ripple></ft-ripple>
837
1059
  ${this.getIcon(t)}
838
1060
  <ft-typography variant="body1">${t.value}</ft-typography>
839
1061
  </a>
840
1062
  `))}
841
1063
  </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 Dr(e))}getIcon(t){const e="DOCUMENT"===t.type?Bo.file_format:Bo.fluid_topics;let i;switch(t.type){case"MAP":i="BOOK"===t.editorialType?Po.BOOK:Po.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=To.get(t))&&void 0!==i?i:t)+"/").split("/");return null!==(r=null!==(o=null!==(n=Io.get(a))&&void 0!==n?n:Io.get(e))&&void 0!==o?o:Io.get(s))&&void 0!==r?r:Fo.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":i=Po.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()}};Wr.elementDefinitions={"ft-ripple":Yi,"ft-typography":So,"ft-icon":Do},Wr.styles=[Ut,Ar],_r([Ai()],Wr.prototype,"suggestResults",void 0),Wr=_r([(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")],Wr);var Kr=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 Hr extends(Er(xr)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Rr)}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="${Di(i)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1064
+ `}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 da(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=Ji.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Xi.get(s))&&void 0!==r?r:Xi.get(o))&&void 0!==i?i:Xi.get(a))&&void 0!==n?n:Yi.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":e=Vi.TOPICS}return tt`
1065
+ <ft-icon .variant="${o}" .value="${e}" part="suggestion-icon"></ft-icon>
1066
+ `}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()}};ha.elementDefinitions={"ft-ripple":Ai,"ft-typography":zi,"ft-icon":on},ha.styles=[Dt,ra],ua([De()],ha.prototype,"suggestResults",void 0),ha=ua([(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")],ha);var ya=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 ga extends(Yn(_n)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(ea)}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`
1067
+ <div class="${Li(e)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
846
1068
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
847
1069
  <div class="ft-search-input--input-outline" part="input-outline">
848
1070
  <input class="ft-search-input--input ft-typography--body2"
849
1071
  part="input"
850
1072
  type="text"
851
- placeholder="${Rr.messages.placeholder()}"
1073
+ placeholder="${ea.messages.placeholder()}"
852
1074
  .value="${this.liveQuery}"
853
1075
  @keydown=${t=>this.onSearchBarKeyDown(t)}
854
1076
  @keyup=${t=>this.onSearchBarKeyUp(t)}>
@@ -864,7 +1086,7 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
864
1086
  part="clear-query"
865
1087
  icon="close"
866
1088
  round dense
867
- label="${Rr.messages.clearButton()}"
1089
+ label="${ea.messages.clearButton()}"
868
1090
  @click=${()=>this.liveQuery=""}
869
1091
  ></ft-button>
870
1092
  <div class="ft-search-input--separator"></div>
@@ -873,9 +1095,9 @@ class Ao extends _i{constructor(t){if(super(t),this.et=it,t.type!==zi)throw Erro
873
1095
  part="launch-search-in-input"
874
1096
  icon="search"
875
1097
  round dense
876
- label="${Rr.messages.searchButton()}"
1098
+ label="${ea.messages.searchButton()}"
877
1099
  @click=${()=>this.launchSearch()}
878
1100
  ></ft-button>
879
1101
  </div>
880
1102
  </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}}Hr.elementDefinitions={"ft-search-input-suggestion":Wr,"ft-button":Yo},Hr.styles=[yo,er],Kr([Ai()],Hr.prototype,"request",void 0),Kr([Ai()],Hr.prototype,"liveQuery",void 0),Kr([Ai()],Hr.prototype,"suggestResults",void 0),Kr([a()],Hr.prototype,"forceCloseSuggestion",void 0),Kr([c(".ft-search-input--input")],Hr.prototype,"input",void 0),Kr([c("ft-search-input-suggestion")],Hr.prototype,"suggestion",void 0),p("ft-search-input")(Hr),t.FtSearchInput=Hr,t.FtSearchInputCssVariables=tr,t.styles=er}({});
1103
+ `}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}}ga.elementDefinitions={"ft-search-input-suggestion":ha,"ft-button":sn},ga.styles=[li,un],ya([De()],ga.prototype,"request",void 0),ya([De()],ga.prototype,"liveQuery",void 0),ya([De()],ga.prototype,"suggestResults",void 0),ya([s()],ga.prototype,"forceCloseSuggestion",void 0),ya([c(".ft-search-input--input")],ga.prototype,"input",void 0),ya([c("ft-search-input-suggestion")],ga.prototype,"suggestion",void 0),d("ft-search-input")(ga),t.FtSearchInput=ga,t.FtSearchInputCssVariables=pn,t.styles=un}({});